@Environment(value=CLIENT) public static enum Subscription.SubscriptionType extends Enum<Subscription.SubscriptionType>
| Modifier and Type | Method and Description |
|---|---|
static Subscription.SubscriptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.SubscriptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Subscription.SubscriptionType NORMAL
public static final Subscription.SubscriptionType RECURRING
public static Subscription.SubscriptionType[] values()
for (Subscription.SubscriptionType c : Subscription.SubscriptionType.values()) System.out.println(c);
public static Subscription.SubscriptionType 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 null