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