public static enum Payment.PAYMENTMODE extends Enum<Payment.PAYMENTMODE>
| Modifier and Type | Method and Description |
|---|---|
static Payment.PAYMENTMODE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.PAYMENTMODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment.PAYMENTMODE cash
public static final Payment.PAYMENTMODE cheque
public static final Payment.PAYMENTMODE dd
public static final Payment.PAYMENTMODE cc
public static final Payment.PAYMENTMODE b2b
public static final Payment.PAYMENTMODE atm
public static final Payment.PAYMENTMODE online
public static Payment.PAYMENTMODE[] values()
for (Payment.PAYMENTMODE c : Payment.PAYMENTMODE.values()) System.out.println(c);
public static Payment.PAYMENTMODE 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.