Package com.stripe.param.v2.billing
Class CadenceCreateParams.BillingCycle.Year.Builder
java.lang.Object
com.stripe.param.v2.billing.CadenceCreateParams.BillingCycle.Year.Builder
- Enclosing class:
- CadenceCreateParams.BillingCycle.Year
-
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
(Integer dayOfMonth) The day to anchor the billing on for a type="month" billing cycle from 1-31.setMonthOfYear
(Integer monthOfYear) The month to bill on from 1-12.The time at which the billing cycle ends.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDayOfMonth
The day to anchor the billing on for a type="month" billing cycle from 1-31. If this number is greater than the number of days in the month being billed, this will anchor to the last day of the month. If not provided, this will default to the day the cadence was created. -
putExtraParam
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. SeeCadenceCreateParams.BillingCycle.Year.extraParams
for the field documentation. -
putAllExtraParam
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. SeeCadenceCreateParams.BillingCycle.Year.extraParams
for the field documentation. -
setMonthOfYear
The month to bill on from 1-12. If not provided, this will default to the month the cadence was created. -
setTime
public CadenceCreateParams.BillingCycle.Year.Builder setTime(CadenceCreateParams.BillingCycle.Year.Time time) The time at which the billing cycle ends. This field is optional, and if not provided, it will default to the time at which the cadence was created in UTC timezone.
-