- Enclosing class:
public static class TokenCreateParams.BankAccount extends Object
Nested Class Summary
Method SummaryModifier and TypeMethodDescription
builder()The name of the person or business that owns the bank account.This field is required when attaching the bank account to a
Customerobject.The type of entity that holds the account.The account number for the bank account, in string form.The bank account type.The country in which the bank account is located.The currency the bank account is in.Map of extra parameters for custom features not available in this client library.The routing number, sort code, or other country-appropriateinstitution number for the bank account.
builderpublic static TokenCreateParams.BankAccount.Builder builder()
getAccountHolderNamepublic String getAccountHolderName()The name of the person or business that owns the bank account.This field is required when attaching the bank account to a
getAccountHolderTypepublic TokenCreateParams.BankAccount.AccountHolderType getAccountHolderType()The type of entity that holds the account. It can be
individual. This field is required when attaching the bank account to a
getAccountNumberpublic String getAccountNumber()The account number for the bank account, in string form. Must be a checking account.
getAccountTypepublic TokenCreateParams.BankAccount.AccountType getAccountType()The bank account type. This can only be
savingsin most countries. In Japan, this can only be
getCountrypublic String getCountry()The country in which the bank account is located.
getCurrencypublic String getCurrency()The currency the bank account is in. This must be a country/currency pairing that Stripe supports.
getExtraParamsMap 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.
getRoutingNumberpublic 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 for
account_number, this field is not required.