public enum PaymentProcessState extends java.lang.Enum<PaymentProcessState>
Enum Constant and Description |
---|
BEFORE_COMPLETION
Payment method is valid, credentials checked.
|
CANCELED
Payment process has been canceled.
|
COMPLETED
Payment process has been completed successfully.
|
ERROR
An error has occurred.
|
IN_COMPLETION
Payment process is being completed.
|
NOT_STARTED
The payment process has not yet started.
|
STARTED
Payment process is in progress.
|
Modifier and Type | Method and Description |
---|---|
static PaymentProcessState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentProcessState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentProcessState NOT_STARTED
public static final PaymentProcessState STARTED
public static final PaymentProcessState BEFORE_COMPLETION
public static final PaymentProcessState IN_COMPLETION
public static final PaymentProcessState COMPLETED
public static final PaymentProcessState CANCELED
public static final PaymentProcessState ERROR
public static PaymentProcessState[] values()
for (PaymentProcessState c : PaymentProcessState.values()) System.out.println(c);
public static PaymentProcessState 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