Class/Object

org.mdedetrich.stripe.v1.Cards

Card

Related Docs: object Card | package Cards

Permalink

case class Card(id: String, account: Option[String], addressCity: Option[String], addressCountry: Option[String], addressLine1: Option[String], addressLine1Check: Option[Check], addressLine2: Option[String], addressState: Option[String], addressZip: Option[String], addressZipCheck: Option[Check], brand: Brand, country: Option[String], currency: Option[Currency], customer: Option[String], cvcCheck: Option[Check], defaultForCurrency: Option[Boolean], dynamicLast4: Option[String], expMonth: Int, expYear: Int, fingerprint: Option[String], funding: Funding, last4: String, metadata: Option[Map[String, String]], name: Option[String], recipient: Option[String], tokenizationMethod: Option[TokenizationMethod]) extends StripeObject with PaymentSource with Product with Serializable

id

ID of card (used in conjunction with a customer or recipient ID)

account

The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.

addressCountry

Billing address country, if provided when creating card

addressLine1Check

If addressLine1 was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

addressZipCheck

If addressZip was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

brand

Card brand. Can be Brand.Visa, Express]], Brand.MasterCard, Brand.Discover, Brand.JCB, Club]], or Brand.Unknown

country

Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.

currency

Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.

customer

The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.

cvcCheck

If a CVC was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked

defaultForCurrency

Only applicable on accounts (not customers or recipients). This indicates whether or not this card is the default external account for its currency.

dynamicLast4

(For tokenized numbers only.) The last four digits of the device account number.

fingerprint

Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example.

funding

Card funding type. Can be Funding.Credit, Funding.Debit, Funding.Prepaid, or Funding.Unknown

metadata

A set of key/value pairs that you can attach to a card object. It can be useful for storing additional information about the card in a structured format.

name

Cardholder name

recipient

The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

tokenizationMethod

If the card number is tokenized, this is the method that was used. Can be TokenizationMethod.ApplePay or TokenizationMethod.AndroidPay.

See also

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

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

Instance Constructors

  1. new Card(id: String, account: Option[String], addressCity: Option[String], addressCountry: Option[String], addressLine1: Option[String], addressLine1Check: Option[Check], addressLine2: Option[String], addressState: Option[String], addressZip: Option[String], addressZipCheck: Option[Check], brand: Brand, country: Option[String], currency: Option[Currency], customer: Option[String], cvcCheck: Option[Check], defaultForCurrency: Option[Boolean], dynamicLast4: Option[String], expMonth: Int, expYear: Int, fingerprint: Option[String], funding: Funding, last4: String, metadata: Option[Map[String, String]], name: Option[String], recipient: Option[String], tokenizationMethod: Option[TokenizationMethod])

    Permalink

    id

    ID of card (used in conjunction with a customer or recipient ID)

    account

    The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.

    addressCountry

    Billing address country, if provided when creating card

    addressLine1Check

    If addressLine1 was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

    addressZipCheck

    If addressZip was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

    brand

    Card brand. Can be Brand.Visa, Express]], Brand.MasterCard, Brand.Discover, Brand.JCB, Club]], or Brand.Unknown

    country

    Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.

    currency

    Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.

    customer

    The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.

    cvcCheck

    If a CVC was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked

    defaultForCurrency

    Only applicable on accounts (not customers or recipients). This indicates whether or not this card is the default external account for its currency.

    dynamicLast4

    (For tokenized numbers only.) The last four digits of the device account number.

    fingerprint

    Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example.

    funding

    Card funding type. Can be Funding.Credit, Funding.Debit, Funding.Prepaid, or Funding.Unknown

    metadata

    A set of key/value pairs that you can attach to a card object. It can be useful for storing additional information about the card in a structured format.

    name

    Cardholder name

    recipient

    The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

    tokenizationMethod

    If the card number is tokenized, this is the method that was used. Can be TokenizationMethod.ApplePay or TokenizationMethod.AndroidPay.

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 account: Option[String]

    Permalink

    The account this card belongs to.

    The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead.

  5. val addressCity: Option[String]

    Permalink
  6. val addressCountry: Option[String]

    Permalink

    Billing address country, if provided when creating card

  7. val addressLine1: Option[String]

    Permalink
  8. val addressLine1Check: Option[Check]

    Permalink

    If addressLine1 was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

  9. val addressLine2: Option[String]

    Permalink
  10. val addressState: Option[String]

    Permalink
  11. val addressZip: Option[String]

    Permalink
  12. val addressZipCheck: Option[Check]

    Permalink

    If addressZip was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked.

  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. val brand: Brand

    Permalink

    Card brand.

    Card brand. Can be Brand.Visa, Express]], Brand.MasterCard, Brand.Discover, Brand.JCB, Club]], or Brand.Unknown

  15. def clone(): AnyRef

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

    Permalink

    Two-letter ISO code representing the country of the card.

    Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you’ve collected.

  17. val currency: Option[Currency]

    Permalink

    Only applicable on accounts (not customers or recipients).

    Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency.

  18. val customer: Option[String]

    Permalink

    The customer that this card belongs to.

    The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead.

  19. val cvcCheck: Option[Check]

    Permalink

    If a CVC was provided, results of the check: Check.Pass, Check.Fail, Check.Unavailable, or Check.Unchecked

  20. val defaultForCurrency: Option[Boolean]

    Permalink

    Only applicable on accounts (not customers or recipients).

    Only applicable on accounts (not customers or recipients). This indicates whether or not this card is the default external account for its currency.

  21. val dynamicLast4: Option[String]

    Permalink

    (For tokenized numbers only.) The last four digits of the device account number.

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

    Permalink
    Definition Classes
    AnyRef
  23. val expMonth: Int

    Permalink
  24. val expYear: Int

    Permalink
  25. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. val fingerprint: Option[String]

    Permalink

    Uniquely identifies this particular card number.

    Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example.

  27. val funding: Funding

    Permalink

    Card funding type.

  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. val id: String

    Permalink

    ID of card (used in conjunction with a customer or recipient ID)

  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. val last4: String

    Permalink
  32. val metadata: Option[Map[String, String]]

    Permalink

    A set of key/value pairs that you can attach to a card object.

    A set of key/value pairs that you can attach to a card object. It can be useful for storing additional information about the card in a structured format.

  33. val name: Option[String]

    Permalink

    Cardholder name

  34. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  37. val recipient: Option[String]

    Permalink

    The recipient that this card belongs to.

    The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.

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

    Permalink
    Definition Classes
    AnyRef
  39. val tokenizationMethod: Option[TokenizationMethod]

    Permalink

    If the card number is tokenized, this is the method that was used.

    If the card number is tokenized, this is the method that was used. Can be TokenizationMethod.ApplePay or TokenizationMethod.AndroidPay.

  40. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. 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 PaymentSource

Inherited from StripeObject

Inherited from AnyRef

Inherited from Any

Ungrouped