Package com.stripe.param.billingportal
Class SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item.Builder
java.lang.Object
com.stripe.param.billingportal.SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item.Builder
- Enclosing class:
- SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item
public static class SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item.Builder
extends Object
-
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. The ID of the subscription item to be updated.The price the customer should subscribe to through this flow.setQuantity
(Long quantity)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item.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.FlowData.SubscriptionUpdateConfirm.Item.extraParams
for the field documentation. -
putAllExtraParam
public SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item.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.FlowData.SubscriptionUpdateConfirm.Item.extraParams
for the field documentation. -
setId
Required. The ID of the subscription item to be updated. -
setPrice
The price the customer should subscribe to through this flow. The price must also be included in the configuration'sfeatures.subscription_update.products
. -
setQuantity
public SessionCreateParams.FlowData.SubscriptionUpdateConfirm.Item.Builder setQuantity(Long quantity)
-