Package com.stripe.param.billingportal
Enum Class ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option
java.lang.Object
java.lang.Enum<ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option>
com.stripe.param.billingportal.ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option>
,Constable
public static enum ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option
extends Enum<ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option>
implements ApiRequestParams.EnumParam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
-
Enum Constant Details
-
CUSTOMER_SERVICE
@SerializedName("customer_service") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option CUSTOMER_SERVICE -
LOW_QUALITY
@SerializedName("low_quality") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option LOW_QUALITY -
MISSING_FEATURES
@SerializedName("missing_features") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option MISSING_FEATURES -
OTHER
@SerializedName("other") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option OTHER -
SWITCHED_SERVICE
@SerializedName("switched_service") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option SWITCHED_SERVICE -
TOO_COMPLEX
@SerializedName("too_complex") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option TOO_COMPLEX -
TOO_EXPENSIVE
@SerializedName("too_expensive") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option TOO_EXPENSIVE -
UNUSED
@SerializedName("unused") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option UNUSED
-
-
Method Details
-
values
public static ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option[] values()Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
public static ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option valueOf(String name) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-