Package com.stripe.param.v2.billing
Class IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.Builder
java.lang.Object
com.stripe.param.v2.billing.IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.Builder
- Enclosing class:
- IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration
public static class IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.Builder
extends Object
-
Constructor Summary
Constructors -
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.setLookupKey
(String lookupKey) Lookup key for the pricing plan component.setPricingPlanComponent
(String pricingPlanComponent) ID of the pricing plan component.setQuantity
(Integer quantity) Quantity of the component to be used.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration build()Finalize and obtain parameter instance from this builder. -
putExtraParam
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.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.ComponentConfiguration.extraParams
for the field documentation. -
putAllExtraParam
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.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.ComponentConfiguration.extraParams
for the field documentation. -
setLookupKey
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.Builder setLookupKey(String lookupKey) Lookup key for the pricing plan component. -
setPricingPlanComponent
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.Builder setPricingPlanComponent(String pricingPlanComponent) ID of the pricing plan component. -
setQuantity
public IntentCreateParams.Action.Modify.PricingPlanSubscriptionDetails.ComponentConfiguration.Builder setQuantity(Integer quantity) Quantity of the component to be used.
-