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 class
TokenCreateParams.BankAccount.AccountHolderType
static class
TokenCreateParams.BankAccount.AccountType
static class
TokenCreateParams.BankAccount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TokenCreateParams.BankAccount.Builder
builder()
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 aCustomer
object.TokenCreateParams.BankAccount.AccountHolderType
getAccountHolderType()
The type of entity that holds the account.java.lang.String
getAccountNumber()
The account number for the bank account, in string form.TokenCreateParams.BankAccount.AccountType
getAccountType()
The bank account type.java.lang.String
getCountry()
The country in which the bank account is located.java.lang.String
getCurrency()
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.String
getRoutingNumber()
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 aCustomer
object.
-
getAccountHolderType
public TokenCreateParams.BankAccount.AccountHolderType getAccountHolderType()
The type of entity that holds the account. It can becompany
orindividual
. This field is required when attaching the bank account to aCustomer
object.
-
getAccountNumber
public java.lang.String getAccountNumber()
The account number for the bank account, in string form. Must be a checking account.
-
getAccountType
public TokenCreateParams.BankAccount.AccountType getAccountType()
The bank account type. This can only bechecking
orsavings
in most countries. In Japan, this can only befutsu
ortoza
.
-
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@SerializedName
value. 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.
-
-