Package com.stripe.model
Class QuoteLine.CancelSubscriptionSchedule
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.QuoteLine.CancelSubscriptionSchedule
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- QuoteLine
Configures the immediate cancellation settings for a subscription schedule via quotes.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Timestamp helper to cancel the underlying schedule on the accompanying line's start date.If the subscription schedule isactive
, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items.If the subscription schedule isactive
, indicates if the cancellation should be prorated.int
hashCode()
void
setCancelAt
(String cancelAt) Timestamp helper to cancel the underlying schedule on the accompanying line's start date.void
setInvoiceNow
(Boolean invoiceNow) If the subscription schedule isactive
, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items.void
setProrate
(Boolean prorate) If the subscription schedule isactive
, indicates if the cancellation should be prorated.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CancelSubscriptionSchedule
public CancelSubscriptionSchedule()
-
-
Method Details
-
getCancelAt
Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set toline_starts_at
.Equal to
line_starts_at
. -
getInvoiceNow
If the subscription schedule isactive
, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults totrue
. -
getProrate
If the subscription schedule isactive
, indicates if the cancellation should be prorated. Boolean that defaults totrue
. -
setCancelAt
Timestamp helper to cancel the underlying schedule on the accompanying line's start date. Must be set toline_starts_at
.Equal to
line_starts_at
. -
setInvoiceNow
If the subscription schedule isactive
, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Boolean that defaults totrue
. -
setProrate
If the subscription schedule isactive
, indicates if the cancellation should be prorated. Boolean that defaults totrue
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-