-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1191 from stripe/remi-fix-bank-account-options
Move BankAccountOptions to the Stripe namespace
- Loading branch information
Showing
1 changed file
with
18 additions
and
16 deletions.
There are no files selected for viewing
34 changes: 18 additions & 16 deletions
34
src/Stripe.net/Services/_sources_token/BankAccountOptions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
using Newtonsoft.Json; | ||
using Stripe; | ||
|
||
public class BankAccountOptions : INestedOptions | ||
namespace Stripe | ||
{ | ||
[JsonProperty("bank_account")] | ||
public string TokenId { get; set; } | ||
public class BankAccountOptions : INestedOptions | ||
{ | ||
[JsonProperty("bank_account")] | ||
public string TokenId { get; set; } | ||
|
||
[JsonProperty("bank_account[account_holder_name]")] | ||
public string AccountHolderName { get; set; } | ||
[JsonProperty("bank_account[account_holder_name]")] | ||
public string AccountHolderName { get; set; } | ||
|
||
[JsonProperty("bank_account[account_holder_type]")] | ||
public string AccountHolderType { get; set; } | ||
[JsonProperty("bank_account[account_holder_type]")] | ||
public string AccountHolderType { get; set; } | ||
|
||
[JsonProperty("bank_account[account_number]")] | ||
public string AccountNumber { get; set; } | ||
[JsonProperty("bank_account[account_number]")] | ||
public string AccountNumber { get; set; } | ||
|
||
[JsonProperty("bank_account[country]")] | ||
public string Country { get; set; } | ||
[JsonProperty("bank_account[country]")] | ||
public string Country { get; set; } | ||
|
||
[JsonProperty("bank_account[currency]")] | ||
public string Currency { get; set; } | ||
[JsonProperty("bank_account[currency]")] | ||
public string Currency { get; set; } | ||
|
||
[JsonProperty("bank_account[routing_number]")] | ||
public string RoutingNumber { get; set; } | ||
[JsonProperty("bank_account[routing_number]")] | ||
public string RoutingNumber { get; set; } | ||
} | ||
} |