public enum SubscriptionSuspendReason extends java.lang.Enum<SubscriptionSuspendReason>
Enum Constant and Description |
---|
agg_close |
fin_block |
user_refuse |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static java.lang.String |
getDescription(int code) |
static SubscriptionSuspendReason |
getReason(int code) |
static SubscriptionSuspendReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionSuspendReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionSuspendReason fin_block
public static final SubscriptionSuspendReason user_refuse
public static final SubscriptionSuspendReason agg_close
public static SubscriptionSuspendReason[] values()
for (SubscriptionSuspendReason c : SubscriptionSuspendReason.values()) System.out.println(c);
public static SubscriptionSuspendReason 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 java.lang.String getDescription()
public static java.lang.String getDescription(int code)
public static SubscriptionSuspendReason getReason(int code)