public enum RuRuPayCancelReason extends java.lang.Enum<RuRuPayCancelReason> implements ListItem
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Код для сохранения в базе.
|
int |
getId() |
java.lang.String |
getTitle()
Заголовок статуса, для отображения пользователю.
|
static RuRuPayCancelReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RuRuPayCancelReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuRuPayCancelReason CLIENT
public static final RuRuPayCancelReason SYSERROR
public static final RuRuPayCancelReason LOWMANY
public static final RuRuPayCancelReason UNKNOWN
public static RuRuPayCancelReason[] values()
for (RuRuPayCancelReason c : RuRuPayCancelReason.values()) System.out.println(c);
public static RuRuPayCancelReason 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 int getCode()