Package com.stripe.param
Class QuoteCreateParams.Line.AppliesTo.Builder
java.lang.Object
com.stripe.param.QuoteCreateParams.Line.AppliesTo.Builder
- Enclosing class:
- QuoteCreateParams.Line.AppliesTo
-
Constructor Summary
Constructors -
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
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.Line.AppliesTo.extraParamsfor 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. SeeQuoteCreateParams.Line.AppliesTo.extraParamsfor the field documentation. -
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
public QuoteCreateParams.Line.AppliesTo.Builder setSubscriptionSchedule(String subscriptionSchedule) The ID of the schedule the line applies to. -
setType
Required. Describes whether the quote line is affecting a new schedule or an existing schedule.
-