Package com.stripe.param
Class QuoteUpdateParams.Line.Action.SetDiscount.Settings.Builder
java.lang.Object
com.stripe.param.QuoteUpdateParams.Line.Action.SetDiscount.Settings.Builder
- Enclosing class:
- QuoteUpdateParams.Line.Action.SetDiscount.Settings
-
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.setServicePeriodAnchorConfig(QuoteUpdateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig servicePeriodAnchorConfig) Configures service period cycle anchoring.The start date of the discount's service period when applying a coupon or promotion code with a service period duration.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public QuoteUpdateParams.Line.Action.SetDiscount.Settings.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. SeeQuoteUpdateParams.Line.Action.SetDiscount.Settings.extraParamsfor the field documentation. -
putAllExtraParam
public QuoteUpdateParams.Line.Action.SetDiscount.Settings.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. SeeQuoteUpdateParams.Line.Action.SetDiscount.Settings.extraParamsfor the field documentation. -
setServicePeriodAnchorConfig
public QuoteUpdateParams.Line.Action.SetDiscount.Settings.Builder setServicePeriodAnchorConfig(QuoteUpdateParams.Line.Action.SetDiscount.Settings.ServicePeriodAnchorConfig servicePeriodAnchorConfig) Configures service period cycle anchoring. -
setStartDate
public QuoteUpdateParams.Line.Action.SetDiscount.Settings.Builder setStartDate(QuoteUpdateParams.Line.Action.SetDiscount.Settings.StartDate startDate) The start date of the discount's service period when applying a coupon or promotion code with a service period duration. Defaults toline_startif omitted.
-