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