Package com.stripe.param
Class TokenCreateParams.BankAccount
java.lang.Object
com.stripe.param.TokenCreateParams.BankAccount
- Enclosing class:
- TokenCreateParams
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumstatic class -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe name of the person or business that owns the bank account.The type of entity that holds the account.Required. The account number for the bank account, in string form.The bank account type.Required. 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 ID of a Payment Method with atypeofus_bank_account.The routing number, sort code, or other country-appropriate institution number for the bank account.inthashCode()
-
Method Details
-
builder
-
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
The type of entity that holds the account. It can becompanyorindividual. This field is required when attaching the bank account to aCustomerobject. -
getAccountNumber
Required. The account number for the bank account, in string form. Must be a checking account. -
getAccountType
The bank account type. This can only becheckingorsavingsin most countries. In Japan, this can only befutsuortoza. -
getCountry
Required. The country in which the bank account is located. -
getCurrency
The currency the bank account is in. This must be a country/currency pairing that Stripe supports. -
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. -
getPaymentMethod
The ID of a Payment Method with atypeofus_bank_account. The Payment Method's bank account information will be copied and returned as a Bank Account Token. This parameter is exclusive with respect to all other parameters in thebank_accounthash. You must include the top-levelcustomerparameter if the Payment Method is attached to aCustomerobject. If the Payment Method is not attached to aCustomerobject, it will be consumed and cannot be used again. You may not use Payment Methods which were created by a Setup Intent withattach_to_self=true. -
getRoutingNumber
The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN foraccount_number, this field is not required. -
equals
-
canEqual
-
hashCode
public int hashCode()
-