Package com.stripe.model
Class QuotePreviewSubscriptionSchedule.Prebilling
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuotePreviewSubscriptionSchedule.Prebilling
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuotePreviewSubscriptionSchedule
Prebilling stores the time period and invoice for a Subscription billed in advance.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanGet ID of expandableinvoiceobject.Get expandedinvoice.The end of the last period for which the invoice pre-bills.The start of the first period for which the invoice pre-bills.Whether to cancel or preserveprebillingif the subscription is updated during the prebilled period.inthashCode()voidsetInvoice(String id) voidsetInvoiceObject(Invoice expandableObject) voidsetPeriodEnd(Long periodEnd) The end of the last period for which the invoice pre-bills.voidsetPeriodStart(Long periodStart) The start of the first period for which the invoice pre-bills.voidsetUpdateBehavior(String updateBehavior) Whether to cancel or preserveprebillingif the subscription is updated during the prebilled period.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Prebilling
public Prebilling()
-
-
Method Details
-
getInvoice
Get ID of expandableinvoiceobject. -
setInvoice
-
getInvoiceObject
Get expandedinvoice. -
setInvoiceObject
-
getPeriodEnd
The end of the last period for which the invoice pre-bills. -
getPeriodStart
The start of the first period for which the invoice pre-bills. -
getUpdateBehavior
Whether to cancel or preserveprebillingif the subscription is updated during the prebilled period.One of
prebill, orreset. -
setPeriodEnd
The end of the last period for which the invoice pre-bills. -
setPeriodStart
The start of the first period for which the invoice pre-bills. -
setUpdateBehavior
Whether to cancel or preserveprebillingif the subscription is updated during the prebilled period.One of
prebill, orreset. -
equals
-
canEqual
-
hashCode
public int hashCode()
-