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

API Updates #2356

Merged
merged 1 commit into from
Jul 28, 2021
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
7 changes: 7 additions & 0 deletions src/Stripe.net/Entities/BankAccounts/BankAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ public Account Account
[JsonProperty("account_holder_type")]
public string AccountHolderType { get; set; }

/// <summary>
/// The bank account type. This can only be <c>checking</c> or <c>savings</c> in most
/// countries. In Japan, this can only be <c>futsu</c> or <c>toza</c>.
/// </summary>
[JsonProperty("account_type")]
public string AccountType { get; set; }

/// <summary>
/// A set of available payout methods for this bank account. Only values from this set
/// should be passed as the <c>method</c> when creating a payout.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ public class BankAccountUpdateOptions : BaseOptions, IHasMetadata
[JsonProperty("account_holder_type")]
public string AccountHolderType { get; set; }

/// <summary>
/// The bank account type. This can only be <c>checking</c> or <c>savings</c> in most
/// countries. In Japan, this can only be <c>futsu</c> or <c>toza</c>.
/// One of: <c>checking</c>, <c>futsu</c>, <c>savings</c>, or <c>toza</c>.
/// </summary>
[JsonProperty("account_type")]
public string AccountType { get; set; }

/// <summary>
/// Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can
/// attach to an object. This can be useful for storing additional information about the
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Cards/CardUpdateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ namespace Stripe

public class CardUpdateOptions : BaseOptions, IHasMetadata
{
/// <summary>
/// The bank account type. This can only be <c>checking</c> or <c>savings</c> in most
/// countries. In Japan, this can only be <c>futsu</c> or <c>toza</c>.
/// One of: <c>checking</c>, <c>futsu</c>, <c>savings</c>, or <c>toza</c>.
/// </summary>
[JsonProperty("account_type")]
public string AccountType { get; set; }

/// <summary>
/// City/District/Suburb/Town/Village.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ public class ExternalAccountUpdateOptions : BaseOptions, IHasMetadata
[JsonProperty("account_holder_type")]
public string AccountHolderType { get; set; }

/// <summary>
/// The bank account type. This can only be <c>checking</c> or <c>savings</c> in most
/// countries. In Japan, this can only be <c>futsu</c> or <c>toza</c>.
/// One of: <c>checking</c>, <c>futsu</c>, <c>savings</c>, or <c>toza</c>.
/// </summary>
[JsonProperty("account_type")]
public string AccountType { get; set; }

/// <summary>
/// City/District/Suburb/Town/Village.
/// </summary>
Expand Down
8 changes: 8 additions & 0 deletions src/Stripe.net/Services/Tokens/TokenBankAccountOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ public class TokenBankAccountOptions : INestedOptions
[JsonProperty("account_number")]
public string AccountNumber { get; set; }

/// <summary>
/// The bank account type. This can only be <c>checking</c> or <c>savings</c> in most
/// countries. In Japan, this can only be <c>futsu</c> or <c>toza</c>.
/// One of: <c>checking</c>, <c>futsu</c>, <c>savings</c>, or <c>toza</c>.
/// </summary>
[JsonProperty("account_type")]
public string AccountType { get; set; }

/// <summary>
/// The country in which the bank account is located.
/// </summary>
Expand Down