Package com.stripe.model
Class Quote.SubscriptionDataOverride
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.SubscriptionDataOverride
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Quote
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Configures when the subscription schedule generates prorations for phase transitions.Describes the period to bill for upon accepting the quote.The customer which this quote belongs to.The subscription's description, meant to be displayable to the customer.Behavior of the subscription schedule and underlying subscription when it ends.Determines how to handle prorations when the quote is accepted.int
hashCode()
void
void
setBillingBehavior
(String billingBehavior) Configures when the subscription schedule generates prorations for phase transitions.void
setBillOnAcceptance
(Quote.SubscriptionDataOverride.BillOnAcceptance billOnAcceptance) Describes the period to bill for upon accepting the quote.void
setCustomer
(String customer) The customer which this quote belongs to.void
setDescription
(String description) The subscription's description, meant to be displayable to the customer.void
setEndBehavior
(String endBehavior) Behavior of the subscription schedule and underlying subscription when it ends.void
setProrationBehavior
(String prorationBehavior) Determines how to handle prorations when the quote is accepted.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SubscriptionDataOverride
public SubscriptionDataOverride()
-
-
Method Details
-
getAppliesTo
-
getBillOnAcceptance
Describes the period to bill for upon accepting the quote. -
getBillingBehavior
Configures when the subscription schedule generates prorations for phase transitions. Possible values areprorate_on_next_phase
orprorate_up_front
with the default beingprorate_on_next_phase
.prorate_on_next_phase
will apply phase changes and generate prorations at transition time.prorate_up_front
will bill for all phases within the current billing cycle up front.One of
prorate_on_next_phase
, orprorate_up_front
. -
getCustomer
The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. -
getDescription
The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. -
getEndBehavior
Behavior of the subscription schedule and underlying subscription when it ends.One of
cancel
, orrelease
. -
getProrationBehavior
Determines how to handle prorations when the quote is accepted.One of
always_invoice
,create_prorations
, ornone
. -
setAppliesTo
-
setBillOnAcceptance
Describes the period to bill for upon accepting the quote. -
setBillingBehavior
Configures when the subscription schedule generates prorations for phase transitions. Possible values areprorate_on_next_phase
orprorate_up_front
with the default beingprorate_on_next_phase
.prorate_on_next_phase
will apply phase changes and generate prorations at transition time.prorate_up_front
will bill for all phases within the current billing cycle up front.One of
prorate_on_next_phase
, orprorate_up_front
. -
setCustomer
The customer which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed. -
setDescription
The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. -
setEndBehavior
Behavior of the subscription schedule and underlying subscription when it ends.One of
cancel
, orrelease
. -
setProrationBehavior
Determines how to handle prorations when the quote is accepted.One of
always_invoice
,create_prorations
, ornone
. -
equals
-
canEqual
-
hashCode
public int hashCode()
-