public enum RefundState extends Enum<RefundState>
| Enum Constant and Description |
|---|
CREATE |
FAILED |
MANUAL_CHECK |
PENDING |
SCHEDULED |
SUCCESSFUL |
| Modifier and Type | Method and Description |
|---|---|
static RefundState |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static RefundState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RefundState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RefundState CREATE
public static final RefundState SCHEDULED
public static final RefundState PENDING
public static final RefundState MANUAL_CHECK
public static final RefundState FAILED
public static final RefundState SUCCESSFUL
public static RefundState[] values()
for (RefundState c : RefundState.values()) System.out.println(c);
public static RefundState 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 nullpublic String getValue()
public String toString()
toString in class Enum<RefundState>public static RefundState fromValue(String text)
Copyright © 2021. All rights reserved.