public static enum PaymentInfo.TYPE extends Enum<PaymentInfo.TYPE>
| Modifier and Type | Method and Description |
|---|---|
static PaymentInfo.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaymentInfo.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentInfo.TYPE cheque
public static final PaymentInfo.TYPE dd
public static final PaymentInfo.TYPE cash
public static final PaymentInfo.TYPE card
public static final PaymentInfo.TYPE bank
public static final PaymentInfo.TYPE atm
public static PaymentInfo.TYPE[] values()
for (PaymentInfo.TYPE c : PaymentInfo.TYPE.values()) System.out.println(c);
public static PaymentInfo.TYPE 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 © 2015–2016 eGovernments Foundation. All rights reserved.