Package com.stripe.param
Class TokenCreateParams.BankAccount
- java.lang.Object
-
- com.stripe.param.TokenCreateParams.BankAccount
-
- Enclosing class:
- TokenCreateParams
public static class TokenCreateParams.BankAccount extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTokenCreateParams.BankAccount.AccountHolderTypestatic classTokenCreateParams.BankAccount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenCreateParams.BankAccount.Builderbuilder()java.lang.StringgetAccountHolderName()The name of the person or business that owns the bank account.This field is required when attaching the bank account to aCustomerobject.TokenCreateParams.BankAccount.AccountHolderTypegetAccountHolderType()The type of entity that holds the account.java.lang.StringgetAccountNumber()The account number for the bank account, in string form.java.lang.StringgetCountry()The country in which the bank account is located.java.lang.StringgetCurrency()The currency the bank account is in.java.util.Map<java.lang.String,java.lang.Object>getExtraParams()Map of extra parameters for custom features not available in this client library.java.lang.StringgetRoutingNumber()The routing number, sort code, or other country-appropriateinstitution number for the bank account.
-
-
-
Method Detail
-
builder
public static TokenCreateParams.BankAccount.Builder builder()
-
getAccountHolderName
public java.lang.String getAccountHolderName()
The name of the person or business that owns the bank account.This field is required when attaching the bank account to aCustomerobject.
-
getAccountHolderType
public TokenCreateParams.BankAccount.AccountHolderType getAccountHolderType()
The type of entity that holds the account. It can becompanyorindividual. This field is required when attaching the bank account to aCustomerobject.
-
getAccountNumber
public java.lang.String getAccountNumber()
The account number for the bank account, in string form. Must be a checking account.
-
getCountry
public java.lang.String getCountry()
The country in which the bank account is located.
-
getCurrency
public java.lang.String getCurrency()
The currency the bank account is in. This must be a country/currency pairing that Stripe supports.
-
getExtraParams
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's@SerializedNamevalue. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
-
getRoutingNumber
public java.lang.String getRoutingNumber()
The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN foraccount_number, this field is not required.
-
-