public static enum Constants.PaymentType extends Enum<Constants.PaymentType>
| Enum Constant and Description |
|---|
DONATION |
EVENT |
GOODS |
PERSONAL |
SERVICE |
| Modifier and Type | Method and Description |
|---|---|
static Constants.PaymentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.PaymentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.PaymentType GOODS
public static final Constants.PaymentType SERVICE
public static final Constants.PaymentType DONATION
public static final Constants.PaymentType EVENT
public static final Constants.PaymentType PERSONAL
public static Constants.PaymentType[] values()
for (Constants.PaymentType c : Constants.PaymentType.values()) System.out.println(c);
public static Constants.PaymentType 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 © 2014. All Rights Reserved.