public static enum BusinessPayment.Decorator extends java.lang.Enum<BusinessPayment.Decorator>
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static BusinessPayment.Decorator |
fromName(java.lang.String text) |
static BusinessPayment.Decorator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BusinessPayment.Decorator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessPayment.Decorator APPROVED
public static final BusinessPayment.Decorator REJECTED
public static final BusinessPayment.Decorator PENDING
public static BusinessPayment.Decorator[] values()
for (BusinessPayment.Decorator c : BusinessPayment.Decorator.values()) System.out.println(c);
public static BusinessPayment.Decorator 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 nullpublic static BusinessPayment.Decorator fromName(java.lang.String text)