public static enum EnumConstants.EnumPaymentType extends java.lang.Enum<EnumConstants.EnumPaymentType>
Enum Constant and Description |
---|
CASH |
SALE_1 |
SALE_2 |
SALE_3D |
SALE_3U |
SALE_4B |
SALE_4E |
Modifier and Type | Method and Description |
---|---|
static EnumConstants.EnumPaymentType |
getPaymentType(java.lang.String value) |
java.lang.String |
getValue() |
static EnumConstants.EnumPaymentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumConstants.EnumPaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumConstants.EnumPaymentType CASH
public static final EnumConstants.EnumPaymentType SALE_1
public static final EnumConstants.EnumPaymentType SALE_2
public static final EnumConstants.EnumPaymentType SALE_3D
public static final EnumConstants.EnumPaymentType SALE_3U
public static final EnumConstants.EnumPaymentType SALE_4B
public static final EnumConstants.EnumPaymentType SALE_4E
public static EnumConstants.EnumPaymentType[] values()
for (EnumConstants.EnumPaymentType c : EnumConstants.EnumPaymentType.values()) System.out.println(c);
public static EnumConstants.EnumPaymentType 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 EnumConstants.EnumPaymentType getPaymentType(java.lang.String value)
public java.lang.String getValue()