public enum SubscriptionPlan extends java.lang.Enum<SubscriptionPlan>
Enum Constant and Description |
---|
FREE |
LEGACY |
MANAGEMENT |
NONE |
NOT_APPLICABLE |
Modifier and Type | Method and Description |
---|---|
static SubscriptionPlan |
fromString(java.lang.String planString) |
static SubscriptionPlan |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionPlan[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionPlan NONE
public static final SubscriptionPlan LEGACY
public static final SubscriptionPlan NOT_APPLICABLE
public static final SubscriptionPlan FREE
public static final SubscriptionPlan MANAGEMENT
public static SubscriptionPlan[] values()
for (SubscriptionPlan c : SubscriptionPlan.values()) System.out.println(c);
public static SubscriptionPlan 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 static SubscriptionPlan fromString(java.lang.String planString)