public static enum SubscriptionUpdateParams.PauseCollection.Behavior extends java.lang.Enum<SubscriptionUpdateParams.PauseCollection.Behavior> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
KEEP_AS_DRAFT |
MARK_UNCOLLECTIBLE |
VOID |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SubscriptionUpdateParams.PauseCollection.Behavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionUpdateParams.PauseCollection.Behavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="keep_as_draft") public static final SubscriptionUpdateParams.PauseCollection.Behavior KEEP_AS_DRAFT
@SerializedName(value="mark_uncollectible") public static final SubscriptionUpdateParams.PauseCollection.Behavior MARK_UNCOLLECTIBLE
@SerializedName(value="void") public static final SubscriptionUpdateParams.PauseCollection.Behavior VOID
public static SubscriptionUpdateParams.PauseCollection.Behavior[] values()
for (SubscriptionUpdateParams.PauseCollection.Behavior c : SubscriptionUpdateParams.PauseCollection.Behavior.values()) System.out.println(c);
public static SubscriptionUpdateParams.PauseCollection.Behavior 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