case class Invoice(id: String, livemode: Boolean, amountDue: Long, attemptCount: Int, attempted: Boolean, closed: Boolean, currency: String, customer: String, date: Long, forgiven: Boolean, lines: InvoiceLineItemList, paid: Boolean, periodEnd: Long, periodStart: Long, startingBalance: Long, subtotal: Long, total: Long, applicationFee: Option[Long], charge: Option[String], description: Option[String], discount: Option[Discount], endingBalance: Option[Long], nextPaymentAttempt: Option[Long], receiptNumber: Option[String], statementDescriptor: Option[String], subscription: Option[String], webhooksDeliveredAt: Option[Long], tax: Option[Long], taxPercent: Option[Double], metadata: Map[String, String], raw: Option[JValue] = None) extends StripeObject with BaseInvoice with Product with Serializable

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

Instance Constructors

  1. new Invoice(id: String, livemode: Boolean, amountDue: Long, attemptCount: Int, attempted: Boolean, closed: Boolean, currency: String, customer: String, date: Long, forgiven: Boolean, lines: InvoiceLineItemList, paid: Boolean, periodEnd: Long, periodStart: Long, startingBalance: Long, subtotal: Long, total: Long, applicationFee: Option[Long], charge: Option[String], description: Option[String], discount: Option[Discount], endingBalance: Option[Long], nextPaymentAttempt: Option[Long], receiptNumber: Option[String], statementDescriptor: Option[String], subscription: Option[String], webhooksDeliveredAt: Option[Long], tax: Option[Long], taxPercent: Option[Double], metadata: Map[String, String], raw: Option[JValue] = None)

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 amountDue: Long
    Definition Classes
    InvoiceBaseInvoice
  5. val applicationFee: Option[Long]
    Definition Classes
    InvoiceBaseInvoice
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val attemptCount: Int
    Definition Classes
    InvoiceBaseInvoice
  8. val attempted: Boolean
    Definition Classes
    InvoiceBaseInvoice
  9. val charge: Option[String]
    Definition Classes
    InvoiceBaseInvoice
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. val closed: Boolean
    Definition Classes
    InvoiceBaseInvoice
  12. val currency: String
    Definition Classes
    InvoiceBaseInvoice
  13. val customer: String
    Definition Classes
    InvoiceBaseInvoice
  14. val date: Long
    Definition Classes
    InvoiceBaseInvoice
  15. val description: Option[String]
    Definition Classes
    InvoiceBaseInvoice
  16. val discount: Option[Discount]
    Definition Classes
    InvoiceBaseInvoice
  17. val endingBalance: Option[Long]
    Definition Classes
    InvoiceBaseInvoice
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val forgiven: Boolean
    Definition Classes
    InvoiceBaseInvoice
  21. implicit val formats: DefaultFormats.type
    Definition Classes
    StripeObject
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. val id: String
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val lines: InvoiceLineItemList
    Definition Classes
    InvoiceBaseInvoice
  26. val livemode: Boolean
    Definition Classes
    InvoiceBaseInvoice
  27. val metadata: Map[String, String]
    Definition Classes
    InvoiceBaseInvoice
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. val nextPaymentAttempt: Option[Long]
    Definition Classes
    InvoiceBaseInvoice
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. val paid: Boolean
    Definition Classes
    InvoiceBaseInvoice
  33. val periodEnd: Long
    Definition Classes
    InvoiceBaseInvoice
  34. val periodStart: Long
    Definition Classes
    InvoiceBaseInvoice
  35. val raw: Option[JValue]
    Definition Classes
    InvoiceBaseInvoiceStripeObject
  36. val receiptNumber: Option[String]
    Definition Classes
    InvoiceBaseInvoice
  37. val startingBalance: Long
    Definition Classes
    InvoiceBaseInvoice
  38. val statementDescriptor: Option[String]
    Definition Classes
    InvoiceBaseInvoice
  39. val subscription: Option[String]
    Definition Classes
    InvoiceBaseInvoice
  40. val subtotal: Long
    Definition Classes
    InvoiceBaseInvoice
  41. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  42. val tax: Option[Long]
    Definition Classes
    InvoiceBaseInvoice
  43. val taxPercent: Option[Double]
    Definition Classes
    InvoiceBaseInvoice
  44. val total: Long
    Definition Classes
    InvoiceBaseInvoice
  45. 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
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  49. val webhooksDeliveredAt: Option[Long]
    Definition Classes
    InvoiceBaseInvoice
  50. def withRaw(raw: JValue): Invoice

    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
    InvoiceStripeObject

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BaseInvoice

Inherited from StripeObject

Inherited from AnyRef

Inherited from Any

Ungrouped