Package com.stripe.param.billingportal
Class ConfigurationUpdateParams.Features.SubscriptionUpdate.Product.Builder
java.lang.Object
com.stripe.param.billingportal.ConfigurationUpdateParams.Features.SubscriptionUpdate.Product.Builder
- Enclosing class:
- ConfigurationUpdateParams.Features.SubscriptionUpdate.Product
public static class ConfigurationUpdateParams.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
(EmptyParam product) setProduct
(String product) Required. The product id.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
putExtraParam
public ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.Product.extraParams
for the field documentation. -
putAllExtraParam
public ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.Product.extraParams
for the field documentation. -
addPrice
public ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.Product.prices
for the field documentation. -
addAllPrice
public ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.SubscriptionUpdate.Product.prices
for the field documentation. -
setProduct
public ConfigurationUpdateParams.Features.SubscriptionUpdate.Product.Builder setProduct(String product) Required. The product id. -
setProduct
public ConfigurationUpdateParams.Features.SubscriptionUpdate.Product.Builder setProduct(EmptyParam product)
-