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