public enum VoucherLifeCycleState extends java.lang.Enum<VoucherLifeCycleState> implements LifeCycleState, ICRMLookupEnum
Enum Constant and Description |
---|
ACCEPTED_FOR_ACTIVATION |
ACTIVATED |
CANCELLED |
DRAFT |
EXPIRED |
NOT_ACCEPTED_FOR_ACTIVATION |
PURGED |
USED |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
static VoucherLifeCycleState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VoucherLifeCycleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoucherLifeCycleState DRAFT
public static final VoucherLifeCycleState ACCEPTED_FOR_ACTIVATION
public static final VoucherLifeCycleState NOT_ACCEPTED_FOR_ACTIVATION
public static final VoucherLifeCycleState ACTIVATED
public static final VoucherLifeCycleState USED
public static final VoucherLifeCycleState CANCELLED
public static final VoucherLifeCycleState PURGED
public static final VoucherLifeCycleState EXPIRED
public static VoucherLifeCycleState[] values()
for (VoucherLifeCycleState c : VoucherLifeCycleState.values()) System.out.println(c);
public static VoucherLifeCycleState 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 getLabel()
getLabel
in interface ICRMLookupEnum
getLabel
in interface LifeCycleState