Package com.stripe.param.billingportal
Enum 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
,java.io.Serializable
,java.lang.Comparable<ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option>
public static enum ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option extends java.lang.Enum<ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option> implements ApiRequestParams.EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUSTOMER_SERVICE
LOW_QUALITY
MISSING_FEATURES
OTHER
SWITCHED_SERVICE
TOO_COMPLEX
TOO_EXPENSIVE
UNUSED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option c : ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationUpdateParams.Features.SubscriptionCancel.CancellationReason.Option valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-