Package com.stripe.param
Class SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
java.lang.Object
com.stripe.param.SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
- Enclosing class:
- SubscriptionUpdateParams.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 SubscriptionUpdateParams.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. SeeSubscriptionUpdateParams.PendingInvoiceItemInterval.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionUpdateParams.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. SeeSubscriptionUpdateParams.PendingInvoiceItemInterval.extraParams
for the field documentation. -
setInterval
public SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder setInterval(SubscriptionUpdateParams.PendingInvoiceItemInterval.Interval interval) Required. Specifies invoicing frequency. Eitherday
,week
,month
oryear
. -
setIntervalCount
public SubscriptionUpdateParams.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).
-