case class UpcomingInvoice(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
- Alphabetic
- By Inheritance
- UpcomingInvoice
- Serializable
- Serializable
- Product
- Equals
- BaseInvoice
- StripeObject
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new UpcomingInvoice(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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
amountDue: Long
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
applicationFee: Option[Long]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
attemptCount: Int
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
attempted: Boolean
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
charge: Option[String]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
closed: Boolean
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
currency: String
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
customer: String
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
date: Long
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
description: Option[String]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
discount: Option[Discount]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
endingBalance: Option[Long]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
forgiven: Boolean
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
implicit
val
formats: DefaultFormats.type
- Definition Classes
- StripeObject
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
lines: InvoiceLineItemList
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
livemode: Boolean
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
metadata: Map[String, String]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
nextPaymentAttempt: Option[Long]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
paid: Boolean
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
periodEnd: Long
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
periodStart: Long
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
raw: Option[JValue]
- Definition Classes
- UpcomingInvoice → BaseInvoice → StripeObject
-
val
receiptNumber: Option[String]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
startingBalance: Long
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
statementDescriptor: Option[String]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
subscription: Option[String]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
subtotal: Long
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tax: Option[Long]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
taxPercent: Option[Double]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
val
total: Long
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
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
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
webhooksDeliveredAt: Option[Long]
- Definition Classes
- UpcomingInvoice → BaseInvoice
-
def
withRaw(raw: JValue): UpcomingInvoice
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
- UpcomingInvoice → StripeObject