public static enum ProductActionEvent.Action extends java.lang.Enum<ProductActionEvent.Action>
| Enum Constant and Description |
|---|
ADD_TO_CART |
ADD_TO_WISHLIST |
CHECKOUT |
CHECKOUT_OPTION |
CLICK |
PURCHASE |
REFUND |
REMOVE_FROM_CART |
REMOVE_FROM_WISH_LIST |
VIEW_DETAIL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static ProductActionEvent.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProductActionEvent.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductActionEvent.Action ADD_TO_WISHLIST
public static final ProductActionEvent.Action REMOVE_FROM_WISH_LIST
public static final ProductActionEvent.Action ADD_TO_CART
public static final ProductActionEvent.Action REMOVE_FROM_CART
public static final ProductActionEvent.Action CHECKOUT
public static final ProductActionEvent.Action PURCHASE
public static final ProductActionEvent.Action REFUND
public static final ProductActionEvent.Action CHECKOUT_OPTION
public static final ProductActionEvent.Action CLICK
public static final ProductActionEvent.Action VIEW_DETAIL
public static ProductActionEvent.Action[] values()
for (ProductActionEvent.Action c : ProductActionEvent.Action.values()) System.out.println(c);
public static ProductActionEvent.Action 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 toString()
toString in class java.lang.Enum<ProductActionEvent.Action>