Package com.stripe.param
Class QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder
java.lang.Object
com.stripe.param.QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder
- Enclosing class:
- QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom
public static class QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder
extends Object
-
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.setDayOfMonth(Long dayOfMonth) Required. The day of the month the anchor should be.The hour of the day the anchor should be.The minute of the hour the anchor should be.The month to start full cycle periods.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom build()Finalize and obtain parameter instance from this builder. -
setDayOfMonth
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder setDayOfMonth(Long dayOfMonth) Required. The day of the month the anchor should be. Ranges from 1 to 31. -
putExtraParam
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.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.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.extraParamsfor the field documentation. -
putAllExtraParam
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.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.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.extraParamsfor the field documentation. -
setHour
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder setHour(Long hour) The hour of the day the anchor should be. Ranges from 0 to 23. -
setMinute
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder setMinute(Long minute) The minute of the hour the anchor should be. Ranges from 0 to 59. -
setMonth
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder setMonth(Long month) The month to start full cycle periods. Ranges from 1 to 12. -
setSecond
public QuoteUpdateParams.Line.Action.SetItem.Discount.Settings.ServicePeriodAnchorConfig.Custom.Builder setSecond(Long second)
-