Skip to content

Commit 4e9bc7f

Browse files
committed
🔥 MOOV-3764: Remove DirectDebitAccountID payment request logic
1 parent bc61b67 commit 4e9bc7f

File tree

4 files changed

+0
-21
lines changed

4 files changed

+0
-21
lines changed

‎src/NoFrixion.MoneyMoov/Models/PaymentRequests/IPaymentRequest.cs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,4 @@ public interface IPaymentRequest
6262
public string? Title { get; set; }
6363

6464
public string? PartialPaymentSteps { get; set; }
65-
66-
public Guid? DirectDebitAccountID { get; set; }
6765
}

‎src/NoFrixion.MoneyMoov/Models/PaymentRequests/PaymentRequest.cs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,6 @@ public class PaymentRequest : IPaymentRequest, IWebhookPayload
341341
/// </summary>
342342
public DateTimeOffset? LightningInvoiceExpiresAt { get; set; }
343343

344-
/// <summary>
345-
/// The payment account ID to use to receive Direct Debit payments. This must match one of your
346-
/// NoFrixion payment account IDs. This can be left blank to use your default payment account.
347-
/// </summary>
348-
public Guid? DirectDebitAccountID { get; set; }
349-
350344
public string CustomerName =>
351345
Addresses.Any() ? $"{Addresses.First().FirstName} {Addresses.First().LastName}" : string.Empty;
352346

‎src/NoFrixion.MoneyMoov/Models/PaymentRequests/PaymentRequestCreate.cs‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -333,12 +333,6 @@ public string? OriginUrl
333333
/// </summary>
334334
public List<string>? Tags { get; set; }
335335

336-
/// <summary>
337-
/// The payment account ID to use to receive Direct Debit payments. This must match one of your
338-
/// NoFrixion payment account IDs. This can be left blank to use your default payment account.
339-
/// </summary>
340-
public Guid? DirectDebitAccountID { get; set; }
341-
342336
public NoFrixionProblem Validate()
343337
{
344338
var context = new ValidationContext(this, serviceProvider: null, items: null);
@@ -412,7 +406,6 @@ public Dictionary<string, string> ToDictionary()
412406
dict.Add(nameof(Title), Title ?? string.Empty);
413407
dict.Add(nameof(PartialPaymentSteps), PartialPaymentSteps ?? string.Empty);
414408
dict.Add(nameof(NotificationEmailAddresses), NotificationEmailAddresses ?? string.Empty);
415-
dict.Add(nameof(DirectDebitAccountID), DirectDebitAccountID?.ToString() ?? string.Empty);
416409

417410
if (TagIds?.Count() > 0)
418411
{

‎src/NoFrixion.MoneyMoov/Models/PaymentRequests/PaymentRequestUpdate.cs‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,12 +233,6 @@ public class PaymentRequestUpdate
233233
/// Date and time of expiration of the lightning invoice.
234234
/// </summary>
235235
public DateTimeOffset? LightningInvoiceExpiresAt { get; set; }
236-
237-
/// <summary>
238-
/// The payment account ID to use to receive Direct Debit payments. This must match one of your
239-
/// NoFrixion payment account IDs. This can be left blank to use your default payment account.
240-
/// </summary>
241-
public Guid? DirectDebitAccountID { get; set; }
242236

243237
/// <summary>
244238
/// Places all the payment request's properties into a dictionary. Useful for testing

0 commit comments

Comments
 (0)