Package com.stripe.param.billingportal
Class ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder
- java.lang.Object
-
- com.stripe.param.billingportal.ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder
-
public static class ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
build
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason build()
Finalize and obtain parameter instance from this builder.
-
setEnabled
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder setEnabled(java.lang.Boolean enabled)
Whether the feature is enabled.
-
putExtraParam
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.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. SeeConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.extraParams
for the field documentation.
-
putAllExtraParam
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.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. SeeConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.extraParams
for the field documentation.
-
addOption
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder addOption(ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option element)
Add an element to `options` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.options
for the field documentation.
-
addAllOption
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder addAllOption(java.util.List<ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option> elements)
Add all elements to `options` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.options
for the field documentation.
-
setOptions
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder setOptions(EmptyParam options)
Which cancellation reasons will be given as options to the customer.
-
setOptions
public ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Builder setOptions(java.util.List<ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option> options)
Which cancellation reasons will be given as options to the customer.
-
-