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
For more details about SubscriptionDataOverride, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about AppliesTo, please refer to the API Reference.static classFor more details about BillOnAcceptance, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanConfigures 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.inthashCode()voidvoidsetBillingBehavior(String billingBehavior) Configures when the subscription schedule generates prorations for phase transitions.voidsetBillOnAcceptance(Quote.SubscriptionDataOverride.BillOnAcceptance billOnAcceptance) Describes the period to bill for upon accepting the quote.voidsetCustomer(String customer) The customer which this quote belongs to.voidsetDescription(String description) The subscription's description, meant to be displayable to the customer.voidsetEndBehavior(String endBehavior) Behavior of the subscription schedule and underlying subscription when it ends.voidsetProrationBehavior(String prorationBehavior) Determines how to handle prorations when the quote is accepted.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, 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_phaseorprorate_up_frontwith the default beingprorate_on_next_phase.prorate_on_next_phasewill apply phase changes and generate prorations at transition time.prorate_up_frontwill 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 for rendering in Stripe surfaces and certain local payment methods UIs. -
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_phaseorprorate_up_frontwith the default beingprorate_on_next_phase.prorate_on_next_phasewill apply phase changes and generate prorations at transition time.prorate_up_frontwill 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 for rendering in Stripe surfaces and certain local payment methods UIs. -
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()
-