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
public static class ConfigurationCreateParams.Features.CustomerUpdate.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public ConfigurationCreateParams.Features.CustomerUpdate 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(java.util.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(java.util.List<ConfigurationCreateParams.Features.CustomerUpdate.AllowedUpdate> allowedUpdates)
The types of customer updates that are supported. When empty, customers are not updateable.
-
setEnabled
public ConfigurationCreateParams.Features.CustomerUpdate.Builder setEnabled(java.lang.Boolean enabled)
Whether the feature is enabled.
-
putExtraParam
public ConfigurationCreateParams.Features.CustomerUpdate.Builder putExtraParam(java.lang.String key, java.lang.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(java.util.Map<java.lang.String,java.lang.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.
-
-