public static enum SubscriptionItemDeleteParams.ProrationBehavior extends java.lang.Enum<SubscriptionItemDeleteParams.ProrationBehavior> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
ALWAYS_INVOICE |
CREATE_PRORATIONS |
NONE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SubscriptionItemDeleteParams.ProrationBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionItemDeleteParams.ProrationBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="always_invoice") public static final SubscriptionItemDeleteParams.ProrationBehavior ALWAYS_INVOICE
@SerializedName(value="create_prorations") public static final SubscriptionItemDeleteParams.ProrationBehavior CREATE_PRORATIONS
@SerializedName(value="none") public static final SubscriptionItemDeleteParams.ProrationBehavior NONE
public static SubscriptionItemDeleteParams.ProrationBehavior[] values()
for (SubscriptionItemDeleteParams.ProrationBehavior c : SubscriptionItemDeleteParams.ProrationBehavior.values()) System.out.println(c);
public static SubscriptionItemDeleteParams.ProrationBehavior valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
getValue
in interface ApiRequestParams.EnumParam