Package com.stripe.param
Class QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Builder
java.lang.Object
com.stripe.param.QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Builder
- Enclosing class:
- QuoteCreateParams.SubscriptionDataOverride.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
(String newReference) A custom string that identifies a new subscription schedule being created upon quote acceptance.setSubscriptionSchedule
(String subscriptionSchedule) The ID of the schedule the line applies to.Required. 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
public QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Builder putExtraParam(String key, Object value) 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. SeeQuoteCreateParams.SubscriptionDataOverride.AppliesTo.extraParams
for the field documentation. -
putAllExtraParam
public QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Builder putAllExtraParam(Map<String, Object> map) 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. SeeQuoteCreateParams.SubscriptionDataOverride.AppliesTo.extraParams
for the field documentation. -
setNewReference
public QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Builder setNewReference(String newReference) 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 QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Builder setSubscriptionSchedule(String subscriptionSchedule) The ID of the schedule the line applies to. -
setType
public QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Builder setType(QuoteCreateParams.SubscriptionDataOverride.AppliesTo.Type type) Required. Describes whether the quote line is affecting a new schedule or an existing schedule.
-