Package com.stripe.param.billingportal
Class ConfigurationUpdateParams.Features.CustomerUpdate.Builder
java.lang.Object
com.stripe.param.billingportal.ConfigurationUpdateParams.Features.CustomerUpdate.Builder
- Enclosing class:
- ConfigurationUpdateParams.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<ConfigurationUpdateParams.Features.CustomerUpdate.AllowedUpdate> allowedUpdates) The types of customer updates that are supported.setEnabled
(Boolean enabled) Whether the feature is enabled.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAllowedUpdate
public ConfigurationUpdateParams.Features.CustomerUpdate.Builder addAllowedUpdate(ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.CustomerUpdate.allowedUpdates
for the field documentation. -
addAllAllowedUpdate
public ConfigurationUpdateParams.Features.CustomerUpdate.Builder addAllAllowedUpdate(List<ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.CustomerUpdate.allowedUpdates
for the field documentation. -
setAllowedUpdates
public ConfigurationUpdateParams.Features.CustomerUpdate.Builder setAllowedUpdates(EmptyParam allowedUpdates) The types of customer updates that are supported. When empty, customers are not updateable. -
setAllowedUpdates
public ConfigurationUpdateParams.Features.CustomerUpdate.Builder setAllowedUpdates(List<ConfigurationUpdateParams.Features.CustomerUpdate.AllowedUpdate> allowedUpdates) The types of customer updates that are supported. When empty, customers are not updateable. -
setEnabled
Whether the feature is enabled. -
putExtraParam
public ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.CustomerUpdate.extraParams
for the field documentation. -
putAllExtraParam
public ConfigurationUpdateParams.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. SeeConfigurationUpdateParams.Features.CustomerUpdate.extraParams
for the field documentation.
-