public static enum Subscription.Status extends java.lang.Enum<Subscription.Status>
Enum Constant and Description |
---|
ACTIVE |
CANCELLED |
CUSTOMER_APPROVAL_DENIED |
FINISHED |
PENDING_CUSTOMER_APPROVAL |
Modifier and Type | Method and Description |
---|---|
static Subscription.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="pending_customer_approval") public static final Subscription.Status PENDING_CUSTOMER_APPROVAL
@SerializedName(value="customer_approval_denied") public static final Subscription.Status CUSTOMER_APPROVAL_DENIED
@SerializedName(value="active") public static final Subscription.Status ACTIVE
@SerializedName(value="finished") public static final Subscription.Status FINISHED
@SerializedName(value="cancelled") public static final Subscription.Status CANCELLED
public static Subscription.Status[] values()
for (Subscription.Status c : Subscription.Status.values()) System.out.println(c);
public static Subscription.Status 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 null