Package com.stripe.model
Class Quote.SubscriptionDataOverride.AppliesTo
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Quote.SubscriptionDataOverride.AppliesTo
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Quote.SubscriptionDataOverride
For more details about AppliesTo, 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 booleanbooleanA custom string that identifies a new subscription schedule being created upon quote acceptance.The ID of the schedule the line applies to.getType()Describes whether the quote line is affecting a new schedule or an existing schedule.inthashCode()voidsetNewReference(String newReference) A custom string that identifies a new subscription schedule being created upon quote acceptance.voidsetSubscriptionSchedule(String subscriptionSchedule) The ID of the schedule the line applies to.voidDescribes whether the quote line is affecting a new schedule or an existing schedule.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AppliesTo
public AppliesTo()
-
-
Method Details
-
getNewReference
A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the samenew_referencefield will be applied to the creation of a new subscription schedule. -
getSubscriptionSchedule
The ID of the schedule the line applies to. -
getType
Describes whether the quote line is affecting a new schedule or an existing schedule.One of
new_reference, orsubscription_schedule. -
setNewReference
A custom string that identifies a new subscription schedule being created upon quote acceptance. All quote lines with the samenew_referencefield will be applied to the creation of a new subscription schedule. -
setSubscriptionSchedule
The ID of the schedule the line applies to. -
setType
Describes whether the quote line is affecting a new schedule or an existing schedule.One of
new_reference, orsubscription_schedule. -
equals
-
canEqual
-
hashCode
public int hashCode()
-