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 boolean
boolean
Get ID of expandableinvoice
object.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 preserveprebilling
if the subscription is updated during the prebilled period.int
hashCode()
void
setInvoice
(String id) void
setInvoiceObject
(Invoice expandableObject) void
setPeriodEnd
(Long periodEnd) The end of the last period for which the invoice pre-bills.void
setPeriodStart
(Long periodStart) The start of the first period for which the invoice pre-bills.void
setUpdateBehavior
(String updateBehavior) Whether to cancel or preserveprebilling
if the subscription is updated during the prebilled period.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Prebilling
public Prebilling()
-
-
Method Details
-
getInvoice
Get ID of expandableinvoice
object. -
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 preserveprebilling
if 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 preserveprebilling
if the subscription is updated during the prebilled period.One of
prebill
, orreset
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-