Skip to content

Commit 698bdf1

Browse files
authored
Merge pull request #2061 from stripe/remi-account-sepa
Add support for `Settings.SepaDebitPayments.CreditorId` on `Account`
2 parents 0ec5a37 + b446ea4 commit 698bdf1

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

src/Stripe.net/Entities/Accounts/AccountSettings.cs

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Stripe
88
public class AccountSettings : StripeEntity<AccountSettings>
99
{
1010
/// <summary>
11-
/// Settings specific to card charging on the account.
11+
/// Settings specific to BACS debit charging on the account.
1212
/// </summary>
1313
[JsonProperty("bacs_debit_payments")]
1414
public AccountSettingsBacsDebitPayments BacsDebitPayments { get; set; }
@@ -43,5 +43,11 @@ public class AccountSettings : StripeEntity<AccountSettings>
4343
/// </summary>
4444
[JsonProperty("payouts")]
4545
public AccountSettingsPayouts Payouts { get; set; }
46+
47+
/// <summary>
48+
/// Settings specific to SEPA Debit charging on the account.
49+
/// </summary>
50+
[JsonProperty("sepa_debit_payments")]
51+
public AccountSettingsSepaDebitPayments SepaDebitPayments { get; set; }
4652
}
4753
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
namespace Stripe
2+
{
3+
using System;
4+
using System.Collections.Generic;
5+
using Newtonsoft.Json;
6+
using Stripe.Infrastructure;
7+
8+
public class AccountSettingsSepaDebitPayments : StripeEntity<AccountSettingsSepaDebitPayments>
9+
{
10+
/// <summary>
11+
/// SEPA creditor identifier that identifies the company making the payment.
12+
/// </summary>
13+
[JsonProperty("creditor_id")]
14+
public string CreditorId { get; set; }
15+
}
16+
}

0 commit comments

Comments
 (0)