Package com.stripe.param
Class SubscriptionCreateParams.PendingInvoiceItemInterval.Builder
java.lang.Object
com.stripe.param.SubscriptionCreateParams.PendingInvoiceItemInterval.Builder
- Enclosing class:
- SubscriptionCreateParams.PendingInvoiceItemInterval
-
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.Required. Specifies invoicing frequency.setIntervalCount
(Long intervalCount) The number of intervals between invoices.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SubscriptionCreateParams.PendingInvoiceItemInterval.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.PendingInvoiceItemInterval.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionCreateParams.PendingInvoiceItemInterval.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.PendingInvoiceItemInterval.extraParams
for the field documentation. -
setInterval
public SubscriptionCreateParams.PendingInvoiceItemInterval.Builder setInterval(SubscriptionCreateParams.PendingInvoiceItemInterval.Interval interval) Required. Specifies invoicing frequency. Eitherday
,week
,month
oryear
. -
setIntervalCount
public SubscriptionCreateParams.PendingInvoiceItemInterval.Builder setIntervalCount(Long intervalCount) The number of intervals between invoices. For example,interval=month
andinterval_count=3
bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).
-