Package com.stripe.model
Class Invoice.AppliesTo
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.AppliesTo
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Invoice
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
A 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.int
hashCode()
void
setNewReference
(String newReference) A custom string that identifies a new subscription schedule being created upon quote acceptance.void
setSubscriptionSchedule
(String subscriptionSchedule) The ID of the schedule the line applies to.void
Describes whether the quote line is affecting a new schedule or an existing schedule.Methods inherited from class com.stripe.model.StripeObject
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_reference
field 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_reference
field 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()
-