public static class TokenCreateParams.BankAccount
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TokenCreateParams.BankAccount.AccountHolderType |
static class |
TokenCreateParams.BankAccount.Builder |
Modifier and Type | Method and 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 a
Customer 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.
|
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.
|
public static TokenCreateParams.BankAccount.Builder builder()
public java.lang.String getAccountHolderName()
Customer
object.public TokenCreateParams.BankAccount.AccountHolderType getAccountHolderType()
company
or individual
.
This field is required when attaching the bank account to a Customer
object.public java.lang.String getAccountNumber()
public java.lang.String getCountry()
public java.lang.String getCurrency()
public java.util.Map<java.lang.String,java.lang.Object> getExtraParams()
@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.public java.lang.String getRoutingNumber()
account_number
, this field is
not required.