Package com.stripe.param.billingportal
Class ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.Builder
java.lang.Object
com.stripe.param.billingportal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.Builder
public static class ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.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.setEnabled
(Boolean enabled) Required. Set to true if the quantity can be adjusted to any non-negative integer.setMaximum
(Long maximum) The maximum quantity that can be set for the product.setMinimum
(Long minimum) The minimum quantity that can be set for the product.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setEnabled
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.Builder setEnabled(Boolean enabled) Required. Set to true if the quantity can be adjusted to any non-negative integer. -
putExtraParam
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.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. SeeConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.extraParams
for the field documentation. -
putAllExtraParam
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.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. SeeConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.extraParams
for the field documentation. -
setMaximum
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.Builder setMaximum(Long maximum) The maximum quantity that can be set for the product. -
setMinimum
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.AdjustableQuantity.Builder setMinimum(Long minimum) The minimum quantity that can be set for the product.
-