public enum ShopAction extends java.lang.Enum<ShopAction>
Enum Constant | Description |
---|---|
CONTINUE |
Nothing payment specific to execute left.
|
CUSTOM |
Something not generic is required.
|
HANDLE_ERROR |
Shop needs to handle an occurred error.
|
REDIRECT |
Shop needs to redirect the user after a successful checkout to the provided URL and handle its callbacks.
|
REQUIRE_INPUT |
Shop needs to request users input depending on the selected payment method.
|
Modifier and Type | Method | Description |
---|---|---|
static ShopAction |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ShopAction[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShopAction CONTINUE
public static final ShopAction REDIRECT
public static final ShopAction HANDLE_ERROR
public static final ShopAction REQUIRE_INPUT
public static final ShopAction CUSTOM
public static ShopAction[] values()
for (ShopAction c : ShopAction.values()) System.out.println(c);
public static ShopAction 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