Package com.stripe.param.checkout
Class SessionCreateParams.LineItem.PriceData.Recurring.Builder
java.lang.Object
com.stripe.param.checkout.SessionCreateParams.LineItem.PriceData.Recurring.Builder
- Enclosing class:
- SessionCreateParams.LineItem.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)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SessionCreateParams.LineItem.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. SeeSessionCreateParams.LineItem.PriceData.Recurring.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.LineItem.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. SeeSessionCreateParams.LineItem.PriceData.Recurring.extraParams
for the field documentation. -
setInterval
public SessionCreateParams.LineItem.PriceData.Recurring.Builder setInterval(SessionCreateParams.LineItem.PriceData.Recurring.Interval interval) Required. Specifies billing frequency. Eitherday
,week
,month
oryear
. -
setIntervalCount
public SessionCreateParams.LineItem.PriceData.Recurring.Builder setIntervalCount(Long intervalCount)
-