Package com.stripe.param
Class QuoteUpdateParams.Line.AppliesTo.Builder
java.lang.Object
com.stripe.param.QuoteUpdateParams.Line.AppliesTo.Builder
- Enclosing class:
- QuoteUpdateParams.Line.AppliesTo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setNewReference
(EmptyParam newReference) A custom string that identifies a new subscription schedule being created upon quote acceptance.setNewReference
(String newReference) A custom string that identifies a new subscription schedule being created upon quote acceptance.setSubscriptionSchedule
(EmptyParam subscriptionSchedule) The ID of the schedule the line applies to.setSubscriptionSchedule
(String subscriptionSchedule) The ID of the schedule the line applies to.Describes whether the quote line is affecting a new schedule or an existing schedule.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeQuoteUpdateParams.Line.AppliesTo.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeQuoteUpdateParams.Line.AppliesTo.extraParams
for the field documentation. -
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. -
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
public QuoteUpdateParams.Line.AppliesTo.Builder setSubscriptionSchedule(String subscriptionSchedule) The ID of the schedule the line applies to. -
setSubscriptionSchedule
public QuoteUpdateParams.Line.AppliesTo.Builder setSubscriptionSchedule(EmptyParam subscriptionSchedule) The ID of the schedule the line applies to. -
setType
Describes whether the quote line is affecting a new schedule or an existing schedule.
-