Class TokenCreateParams.BankAccount

  • Enclosing class:
    TokenCreateParams

    public static class TokenCreateParams.BankAccount
    extends java.lang.Object
    • Method Detail

      • 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 a Customer object.
      • getAccountHolderType

        public TokenCreateParams.BankAccount.AccountHolderType getAccountHolderType()
        The type of entity that holds the account. It can be company or individual. This field is required when attaching the bank account to a Customer 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 be checking or savings in most countries. In Japan, this can only be futsu or toza.
      • 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.