Class/Object

me.frmr.stripe

Card

Related Docs: object Card | package stripe

Permalink

case class Card(id: String, brand: String, expMonth: Int, expYear: Int, fingerprint: String, funding: String, last4: String, addressCity: Option[String] = None, addressCountry: Option[String] = None, addressLine1: Option[String] = None, addressLine1Check: Option[String] = None, addressLine2: Option[String] = None, addressState: Option[String] = None, addressZip: Option[String] = None, addressZipCheck: Option[String] = None, country: Option[String] = None, customer: Option[String] = None, cvcCheck: Option[String] = None, dynamicLast4: Option[String] = None, name: Option[String] = None, receipient: Option[String] = None, raw: Option[JValue] = None) extends StripeObject with Product with Serializable

Implementation of the Charge data structure in Stripe's API. See https://stripe.com/docs/api#card_object

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

Instance Constructors

  1. new Card(id: String, brand: String, expMonth: Int, expYear: Int, fingerprint: String, funding: String, last4: String, addressCity: Option[String] = None, addressCountry: Option[String] = None, addressLine1: Option[String] = None, addressLine1Check: Option[String] = None, addressLine2: Option[String] = None, addressState: Option[String] = None, addressZip: Option[String] = None, addressZipCheck: Option[String] = None, country: Option[String] = None, customer: Option[String] = None, cvcCheck: Option[String] = None, dynamicLast4: Option[String] = None, name: Option[String] = None, receipient: Option[String] = None, raw: Option[JValue] = None)

    Permalink

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

    Permalink
  5. val addressCountry: Option[String]

    Permalink
  6. val addressLine1: Option[String]

    Permalink
  7. val addressLine1Check: Option[String]

    Permalink
  8. val addressLine2: Option[String]

    Permalink
  9. val addressState: Option[String]

    Permalink
  10. val addressZip: Option[String]

    Permalink
  11. val addressZipCheck: Option[String]

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. val brand: String

    Permalink
  14. def clone(): AnyRef

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

    Permalink
  16. val customer: Option[String]

    Permalink
  17. val cvcCheck: Option[String]

    Permalink
  18. val dynamicLast4: Option[String]

    Permalink
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. val expMonth: Int

    Permalink
  21. val expYear: Int

    Permalink
  22. def finalize(): Unit

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

    Permalink
  24. implicit val formats: DefaultFormats.type

    Permalink
    Definition Classes
    StripeObject
  25. val funding: String

    Permalink
  26. final def getClass(): Class[_]

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

    Permalink
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. val last4: String

    Permalink
  30. val name: Option[String]

    Permalink
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. val raw: Option[JValue]

    Permalink

    Return the raw JSON AST representation of the Stripe data structure this class represents.

    Return the raw JSON AST representation of the Stripe data structure this class represents. Use this only if the class representing your data structure doesn't already provide a method for accessing the field you need.

    I'll try really hard to make sure that doesn't happen too often, but no guarantees. :)

    Definition Classes
    CardStripeObject
  35. val receipient: Option[String]

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

    Permalink
    Definition Classes
    AnyRef
  37. def valueFor[T](transformer: (JValue) ⇒ JValue)(implicit mf: Manifest[T]): Box[T]

    Permalink

    Transform the underlyingData of this StripeObject then attempt to extract an instance of the class T from it.

    Transform the underlyingData of this StripeObject then attempt to extract an instance of the class T from it. This is the general implementation of extracting values from the JSON API response from Stripe.

    You should only use this if you're accessing a piece of data from the raw response that we don't support. If you do find need to use this, we'd love it if you opened a pull request!

    transformer

    The function that transforms the original data into the structure containing the data we want.

    returns

    A Full[T] if the extraction was successful, a Failure otherwise.

    Definition Classes
    StripeObject
  38. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def withRaw(raw: JValue): Card

    Permalink

    Create a copy of the StripeObject with the raw JValue representation attached.

    Create a copy of the StripeObject with the raw JValue representation attached.

    raw

    The raw JValue representation to attach.

    Definition Classes
    CardStripeObject

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StripeObject

Inherited from AnyRef

Inherited from Any

Ungrouped