Package com.stripe.param
Class SubscriptionCreateParams.BillingCycleAnchorConfig.Builder
java.lang.Object
com.stripe.param.SubscriptionCreateParams.BillingCycleAnchorConfig.Builder
- Enclosing class:
- SubscriptionCreateParams.BillingCycleAnchorConfig
-
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
Finalize and obtain parameter instance from this builder. -
setDayOfMonth
Required. The day of the month the 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 anchor should be. Ranges from 0 to 23. -
setMinute
The minute of the hour the anchor should be. Ranges from 0 to 59. -
setMonth
The month to start full cycle periods. Ranges from 1 to 12. -
setSecond
-