case class Subscription(id: Option[String], start: Option[Long], status: Option[String], customer: Option[String], cancelAtPeriodEnd: Option[Boolean], currentPeriodStart: Option[Long], currentPeriodEnd: Option[Long], endedAt: Option[Long], trialStart: Option[Long], trialEnd: Option[Long], canceledAt: Option[Long], quantity: Option[Int], taxPercent: Option[Double], applicationFeePercent: Option[Int], discount: Option[Discount], raw: Option[JValue]) extends StripeObject with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, StripeObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Subscription
  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 Subscription(id: Option[String], start: Option[Long], status: Option[String], customer: Option[String], cancelAtPeriodEnd: Option[Boolean], currentPeriodStart: Option[Long], currentPeriodEnd: Option[Long], endedAt: Option[Long], trialStart: Option[Long], trialEnd: Option[Long], canceledAt: Option[Long], quantity: Option[Int], taxPercent: Option[Double], applicationFeePercent: Option[Int], discount: Option[Discount], raw: Option[JValue])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val applicationFeePercent: Option[Int]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val cancelAtPeriodEnd: Option[Boolean]
  7. val canceledAt: Option[Long]
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. val currentPeriodEnd: Option[Long]
  10. val currentPeriodStart: Option[Long]
  11. val customer: Option[String]
  12. val discount: Option[Discount]
  13. val endedAt: Option[Long]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. implicit val formats: DefaultFormats.type
    Definition Classes
    StripeObject
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val id: Option[String]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. val quantity: Option[Int]
  24. val raw: Option[JValue]
    Definition Classes
    SubscriptionStripeObject
  25. val start: Option[Long]
  26. val status: Option[String]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val taxPercent: Option[Double]
  29. val trialEnd: Option[Long]
  30. val trialStart: Option[Long]
  31. def valueFor[T](transformer: (JValue) ⇒ JValue)(implicit mf: Manifest[T]): Box[T]

    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
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  35. def withRaw(raw: JValue): Subscription

    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
    SubscriptionStripeObject

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from StripeObject

Inherited from AnyRef

Inherited from Any

Ungrouped