Package com.stripe.param
Class SubscriptionCreateParams.BillingCycleAnchorConfig.Builder
java.lang.Object
com.stripe.param.SubscriptionCreateParams.BillingCycleAnchorConfig.Builder
- Enclosing class:
- SubscriptionCreateParams.BillingCycleAnchorConfig
-
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.setDayOfMonth
(Long dayOfMonth) Required. The day of the month the billing_cycle_anchor should be.The hour of the day the billing_cycle_anchor should be.The minute of the hour the billing_cycle_anchor should be.The month to start full cycle billing periods.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDayOfMonth
Required. The day of the month the billing_cycle_anchor should be. Ranges from 1 to 31. -
putExtraParam
public SubscriptionCreateParams.BillingCycleAnchorConfig.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. SeeSubscriptionCreateParams.BillingCycleAnchorConfig.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionCreateParams.BillingCycleAnchorConfig.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. SeeSubscriptionCreateParams.BillingCycleAnchorConfig.extraParams
for the field documentation. -
setHour
The hour of the day the billing_cycle_anchor should be. Ranges from 0 to 23. -
setMinute
The minute of the hour the billing_cycle_anchor should be. Ranges from 0 to 59. -
setMonth
The month to start full cycle billing periods. Ranges from 1 to 12. -
setSecond
-