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