public enum SubscriptionState extends Enum<SubscriptionState>
Enum Constant and Description |
---|
DELETED
Enum value Deleted.
|
DISABLED
Enum value Disabled.
|
ENABLED
Enum value Enabled.
|
PAST_DUE
Enum value PastDue.
|
WARNED
Enum value Warned.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionState |
fromString(String value)
Parses a serialized value to a SubscriptionState instance.
|
String |
toString() |
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 ENABLED
public static final SubscriptionState WARNED
public static final SubscriptionState PAST_DUE
public static final SubscriptionState DISABLED
public static final SubscriptionState DELETED
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 nullpublic static SubscriptionState fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<SubscriptionState>
Copyright © 2019. All rights reserved.