Package com.stripe.param
Class SubscriptionItemUpdateParams.PriceData.Recurring.Builder
java.lang.Object
com.stripe.param.SubscriptionItemUpdateParams.PriceData.Recurring.Builder
- Enclosing class:
- SubscriptionItemUpdateParams.PriceData.Recurring
-
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 billing frequency.setIntervalCount
(Long intervalCount) The number of intervals between subscription billings.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SubscriptionItemUpdateParams.PriceData.Recurring.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. SeeSubscriptionItemUpdateParams.PriceData.Recurring.extraParams
for the field documentation. -
putAllExtraParam
public SubscriptionItemUpdateParams.PriceData.Recurring.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. SeeSubscriptionItemUpdateParams.PriceData.Recurring.extraParams
for the field documentation. -
setInterval
public SubscriptionItemUpdateParams.PriceData.Recurring.Builder setInterval(SubscriptionItemUpdateParams.PriceData.Recurring.Interval interval) Required. Specifies billing frequency. Eitherday
,week
,month
oryear
. -
setIntervalCount
public SubscriptionItemUpdateParams.PriceData.Recurring.Builder setIntervalCount(Long intervalCount) The number of intervals between subscription billings. For example,interval=month
andinterval_count=3
bills every 3 months. Maximum of three years interval allowed (3 years, 36 months, or 156 weeks).
-