Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Settings.SepaDebitPayments.CreditorId on Account #2061

Merged
merged 1 commit into from
Jun 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Stripe.net/Entities/Accounts/AccountSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Stripe
public class AccountSettings : StripeEntity<AccountSettings>
{
/// <summary>
/// Settings specific to card charging on the account.
/// Settings specific to BACS debit charging on the account.
/// </summary>
[JsonProperty("bacs_debit_payments")]
public AccountSettingsBacsDebitPayments BacsDebitPayments { get; set; }
Expand Down Expand Up @@ -43,5 +43,11 @@ public class AccountSettings : StripeEntity<AccountSettings>
/// </summary>
[JsonProperty("payouts")]
public AccountSettingsPayouts Payouts { get; set; }

/// <summary>
/// Settings specific to SEPA Debit charging on the account.
/// </summary>
[JsonProperty("sepa_debit_payments")]
public AccountSettingsSepaDebitPayments SepaDebitPayments { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace Stripe
{
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Stripe.Infrastructure;

public class AccountSettingsSepaDebitPayments : StripeEntity<AccountSettingsSepaDebitPayments>
{
/// <summary>
/// SEPA creditor identifier that identifies the company making the payment.
/// </summary>
[JsonProperty("creditor_id")]
public string CreditorId { get; set; }
}
}