Package com.stripe.param
Class SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
- java.lang.Object
-
- com.stripe.param.SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
-
- Enclosing class:
- SubscriptionUpdateParams.PendingInvoiceItemInterval
public static class SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubscriptionUpdateParams.PendingInvoiceItemInterval
build()
Finalize and obtain parameter instance from this builder.SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
setInterval(SubscriptionUpdateParams.PendingInvoiceItemInterval.Interval interval)
Specifies invoicing frequency.SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder
setIntervalCount(java.lang.Long intervalCount)
The number of intervals between invoices.
-
-
-
Method Detail
-
build
public SubscriptionUpdateParams.PendingInvoiceItemInterval build()
Finalize and obtain parameter instance from this builder.
-
putExtraParam
public SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder putExtraParam(java.lang.String key, java.lang.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(java.util.Map<java.lang.String,java.lang.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)
Specifies invoicing frequency. Eitherday
,week
,month
oryear
.
-
setIntervalCount
public SubscriptionUpdateParams.PendingInvoiceItemInterval.Builder setIntervalCount(java.lang.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).
-
-