public enum ActionStatus extends Enum<ActionStatus>
| Enum Constant and Description |
|---|
BAD_PAYLOAD |
CONSENT_INVALID_STATUS |
CONSENT_LIMIT_EXCEEDED |
CONSENT_NOT_FOUND |
FAILURE_ACCOUNT |
FAILURE_BALANCE |
FAILURE_PAYMENT |
FAILURE_TRANSACTION |
SUCCESS |
| Modifier and Type | Method and Description |
|---|---|
static ActionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionStatus SUCCESS
public static final ActionStatus BAD_PAYLOAD
public static final ActionStatus FAILURE_ACCOUNT
public static final ActionStatus FAILURE_BALANCE
public static final ActionStatus FAILURE_TRANSACTION
public static final ActionStatus FAILURE_PAYMENT
public static final ActionStatus CONSENT_NOT_FOUND
public static final ActionStatus CONSENT_INVALID_STATUS
public static final ActionStatus CONSENT_LIMIT_EXCEEDED
public static ActionStatus[] values()
for (ActionStatus c : ActionStatus.values()) System.out.println(c);
public static ActionStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.