public enum PaymentState extends Enum<PaymentState> implements SphereEnumeration
SphereEnumeration
.Enum Constant and Description |
---|
BALANCE_DUE |
CREDIT_OWED |
FAILED |
PAID |
PENDING |
Modifier and Type | Method and Description |
---|---|
static PaymentState |
ofSphereValue(String value) |
static PaymentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
findBySphereName, name, toSphereName
public static final PaymentState BALANCE_DUE
public static final PaymentState FAILED
public static final PaymentState PENDING
public static final PaymentState CREDIT_OWED
public static final PaymentState PAID
public static PaymentState[] values()
for (PaymentState c : PaymentState.values()) System.out.println(c);
public static PaymentState 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 static PaymentState ofSphereValue(String value)