Package com.stripe.param.billingportal
Enum ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior
- java.lang.Object
-
- java.lang.Enum<ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior>
-
- com.stripe.param.billingportal.ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior>
- Enclosing class:
- ConfigurationUpdateParams.Features.SubscriptionCancel
public static enum ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior extends java.lang.Enum<ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior> implements ApiRequestParams.EnumParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS_INVOICE
CREATE_PRORATIONS
NONE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS_INVOICE
@SerializedName("always_invoice") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior ALWAYS_INVOICE
-
CREATE_PRORATIONS
@SerializedName("create_prorations") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior CREATE_PRORATIONS
-
NONE
@SerializedName("none") public static final ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior NONE
-
-
Method Detail
-
values
public static ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior[] 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.ProrationBehavior c : ConfigurationUpdateParams.Features.SubscriptionCancel.ProrationBehavior.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.ProrationBehavior 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
-
-