Package com.stripe.param.billingportal
Class ConfigurationCreateParams.Features.CustomerUpdate.Builder
java.lang.Object
com.stripe.param.billingportal.ConfigurationCreateParams.Features.CustomerUpdate.Builder
- Enclosing class:
- ConfigurationCreateParams.Features.CustomerUpdate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `allowedUpdates` list.Add an element to `allowedUpdates` 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.setAllowedUpdates
(EmptyParam allowedUpdates) The types of customer updates that are supported.setAllowedUpdates
(List<ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate> allowedUpdates) The types of customer updates that are supported.setEnabled
(Boolean enabled) Required. Whether the feature is enabled.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAllowedUpdate
public ConfigurationCreateParams.Features.CustomerUpdate.Builder addAllowedUpdate(ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate element) Add an element to `allowedUpdates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationCreateParams.Features.CustomerUpdate.allowedUpdates
for the field documentation. -
addAllAllowedUpdate
public ConfigurationCreateParams.Features.CustomerUpdate.Builder addAllAllowedUpdate(List<ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate> elements) Add all elements to `allowedUpdates` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationCreateParams.Features.CustomerUpdate.allowedUpdates
for the field documentation. -
setAllowedUpdates
public ConfigurationCreateParams.Features.CustomerUpdate.Builder setAllowedUpdates(EmptyParam allowedUpdates) The types of customer updates that are supported. When empty, customers are not updateable. -
setAllowedUpdates
public ConfigurationCreateParams.Features.CustomerUpdate.Builder setAllowedUpdates(List<ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate> allowedUpdates) The types of customer updates that are supported. When empty, customers are not updateable. -
setEnabled
Required. Whether the feature is enabled. -
putExtraParam
public ConfigurationCreateParams.Features.CustomerUpdate.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.CustomerUpdate.extraParams
for the field documentation. -
putAllExtraParam
public ConfigurationCreateParams.Features.CustomerUpdate.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.CustomerUpdate.extraParams
for the field documentation.
-