Package com.stripe.param.billingportal
Class ConfigurationCreateParams.Features.SubscriptionUpdate.Product.Builder
java.lang.Object
com.stripe.param.billingportal.ConfigurationCreateParams.Features.SubscriptionUpdate.Product.Builder
- Enclosing class:
- ConfigurationCreateParams.Features.SubscriptionUpdate.Product
public static class ConfigurationCreateParams.Features.SubscriptionUpdate.Product.Builder
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAllPrice
(List<String> elements) Add all elements to `prices` list.Add an element to `prices` 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.setProduct
(String product)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.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.extraParams
for the field documentation. -
putAllExtraParam
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.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.extraParams
for the field documentation. -
addPrice
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.Builder addPrice(String element) Add an element to `prices` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationCreateParams.Features.SubscriptionUpdate.Product.prices
for the field documentation. -
addAllPrice
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.Builder addAllPrice(List<String> elements) Add all elements to `prices` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationCreateParams.Features.SubscriptionUpdate.Product.prices
for the field documentation. -
setProduct
public ConfigurationCreateParams.Features.SubscriptionUpdate.Product.Builder setProduct(String product)
-