public enum SubscriptionState extends Enum<SubscriptionState>
| Enum Constant and Description |
|---|
ACTIVE |
CANCELED |
EXPIRED |
FUTURE |
IN_TRIAL |
LIVE |
PAST_DUE |
PAUSED |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
static SubscriptionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionState ACTIVE
public static final SubscriptionState CANCELED
public static final SubscriptionState PAUSED
public static final SubscriptionState EXPIRED
public static final SubscriptionState FUTURE
public static final SubscriptionState IN_TRIAL
public static final SubscriptionState LIVE
public static final SubscriptionState PAST_DUE
public static SubscriptionState[] values()
for (SubscriptionState c : SubscriptionState.values()) System.out.println(c);
public static SubscriptionState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2020. All Rights Reserved.