Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder
- Enclosing class:
- IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails
public static class IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllComponentConfiguration
(List<IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration> elements) Add all elements to `componentConfigurations` list.addComponentConfiguration
(IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration element) Add an element to `componentConfigurations` list.build()
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.setNewPricingPlan
(String newPricingPlan) The ID of the new Pricing Plan, if changing plans.setNewPricingPlanVersion
(String newPricingPlanVersion) The ID of the new Pricing Plan Version to use.setPricingPlanSubscription
(String pricingPlanSubscription) Required. The ID of the Pricing Plan Subscription to modify.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addComponentConfiguration
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder addComponentConfiguration(IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration element) Add an element to `componentConfigurations` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeIntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.componentConfigurations
for the field documentation. -
addAllComponentConfiguration
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder addAllComponentConfiguration(List<IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration> elements) Add all elements to `componentConfigurations` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeIntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.componentConfigurations
for the field documentation. -
putExtraParam
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.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. SeeIntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.extraParams
for the field documentation. -
putAllExtraParam
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.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. SeeIntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.extraParams
for the field documentation. -
setNewPricingPlan
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder setNewPricingPlan(String newPricingPlan) The ID of the new Pricing Plan, if changing plans. -
setNewPricingPlanVersion
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder setNewPricingPlanVersion(String newPricingPlanVersion) The ID of the new Pricing Plan Version to use. -
setPricingPlanSubscription
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.Builder setPricingPlanSubscription(String pricingPlanSubscription) Required. The ID of the Pricing Plan Subscription to modify.
-