Class

org.mdedetrich.stripe.v1.Tokens.TokenData

BankAccount

Related Doc: package TokenData

Permalink

case class BankAccount(accountNumber: String, country: String, currency: Currency, routingNumber: Option[String] = None, accountHolderName: Option[String] = None, accountHolderType: Option[AccountHolderType] = None) extends TokenData with Product with Serializable

Creates a single use token that wraps the details of a bank account. This token can be used in place of a bank account dictionary with any API method. These tokens can only be used once: by attaching them to a recipient or managed account.

accountNumber

The account number for the bank account in string form. Must be a checking account.

country

The country the bank account is in.

currency

The currency the bank account is in. This must be a country/currency pairing that Stripe supports.

routingNumber

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 for accountNumber, this field is not required.

accountHolderName

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.

accountHolderType

The type of entity that holds the account. This can be either "individual" or "company". This field is required when attaching the bank account to a customer object.

See also

https://stripe.com/docs/api#create_bank_account_token

Linear Supertypes
Serializable, Serializable, Product, Equals, TokenData, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BankAccount
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TokenData
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BankAccount(accountNumber: String, country: String, currency: Currency, routingNumber: Option[String] = None, accountHolderName: Option[String] = None, accountHolderType: Option[AccountHolderType] = None)

    Permalink

    accountNumber

    The account number for the bank account in string form. Must be a checking account.

    country

    The country the bank account is in.

    currency

    The currency the bank account is in. This must be a country/currency pairing that Stripe supports.

    routingNumber

    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 for accountNumber, this field is not required.

    accountHolderName

    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.

    accountHolderType

    The type of entity that holds the account. This can be either "individual" or "company". This field is required when attaching the bank account to a customer object.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val accountHolderName: Option[String]

    Permalink

    The name of the person or business that owns the bank account.

    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.

  5. val accountHolderType: Option[AccountHolderType]

    Permalink

    The type of entity that holds the account.

    The type of entity that holds the account. This can be either "individual" or "company". This field is required when attaching the bank account to a customer object.

  6. val accountNumber: String

    Permalink

    The account number for the bank account in string form.

    The account number for the bank account in string form. Must be a checking account.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val country: String

    Permalink

    The country the bank account is in.

  10. val currency: Currency

    Permalink

    The currency the bank account is in.

    The currency the bank account is in. This must be a country/currency pairing that Stripe supports.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val routingNumber: Option[String]

    Permalink

    The routing number, sort code, or other country-appropriate institution number for the bank account.

    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 for accountNumber, this field is not required.

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TokenData

Inherited from AnyRef

Inherited from Any

Ungrouped