public static enum SubscriptionScheduleUpdateParams.Phase.ProrationBehavior extends java.lang.Enum<SubscriptionScheduleUpdateParams.Phase.ProrationBehavior> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
ALWAYS_INVOICE |
CREATE_PRORATIONS |
NONE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SubscriptionScheduleUpdateParams.Phase.ProrationBehavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionScheduleUpdateParams.Phase.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 SubscriptionScheduleUpdateParams.Phase.ProrationBehavior ALWAYS_INVOICE
@SerializedName(value="create_prorations") public static final SubscriptionScheduleUpdateParams.Phase.ProrationBehavior CREATE_PRORATIONS
@SerializedName(value="none") public static final SubscriptionScheduleUpdateParams.Phase.ProrationBehavior NONE
public static SubscriptionScheduleUpdateParams.Phase.ProrationBehavior[] values()
for (SubscriptionScheduleUpdateParams.Phase.ProrationBehavior c : SubscriptionScheduleUpdateParams.Phase.ProrationBehavior.values()) System.out.println(c);
public static SubscriptionScheduleUpdateParams.Phase.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