Object/Class

org.mdedetrich.stripe.v1.Tokens

TokenData

Related Docs: class TokenData | package Tokens

Permalink

object TokenData

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TokenData
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. 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

    Permalink

    Creates a single use token that wraps the details of a bank account.

    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

  2. case class Card(expMonth: Int, expYear: Int, number: String, addressCity: Option[String] = None, addressCountry: Option[String] = None, addressLine1: Option[String] = None, addressLine2: Option[String] = None, addressState: Option[String] = None, addressZip: Option[String] = None, currency: Option[Currency] = None, cvc: Option[String] = None, name: Option[String] = None) extends TokenData with Product with Serializable

    Permalink

    Creates a single use token that wraps the details of a credit card.

    Creates a single use token that wraps the details of a credit card. This token can be used in place of a credit card dictionary with any API method. These tokens can only be used once: by creating a new charge object, or attaching them to a customer.

    expMonth

    Two digit number representing the card's expiration month.

    expYear

    Two or four digit number representing the card's expiration year.

    number

    The card number, as a string without any separators.

    currency

    Required to be able to add the card to an account (in all other cases, this parameter is not used). When added to an account, the card (which must be a debit card) can be used as a transfer destination for funds in this currency. Currently, the only supported currency for debit card transfers is usd.

    cvc

    Card security code. Required unless your account is registered in Australia, Canada, or the United States. Highly recommended to always include this value.

    name

    Cardholder's full name.

    See also

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

  3. case class PII(personalIdNumber: String, pii: Option[String]) extends TokenData with Product with Serializable

    Permalink

    Creates a single use token that wraps the details of personally identifiable information (PII).

    Creates a single use token that wraps the details of personally identifiable information (PII). This token can be used in place of a personalIdNumber in the Account Update API method. These tokens can only be used once.

    personalIdNumber

    The personalIdNumber for PII in string form.

    pii

    The PII this token will represent.

    See also

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

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. implicit val PIIDecoder: Decoder[PII]

    Permalink
  5. implicit val PIIEncoder: Encoder[PII]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. implicit val bankAccountDecoder: Decoder[BankAccount]

    Permalink
  8. implicit val bankAccountEncoder: Encoder[BankAccount]

    Permalink
  9. implicit val cardDecoder: Decoder[Card]

    Permalink
  10. implicit val cardEncoder: Encoder[Card]

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped