public static enum PayBy.PaymentMethod extends Enum<PayBy.PaymentMethod>
| Enum Constant and Description |
|---|
CASH |
CREDIT_CARD |
CHEQUE |
| Modifier and Type | Method and Description |
|---|---|
static PayBy.PaymentMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PayBy.PaymentMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayBy.PaymentMethod CASH
public static final PayBy.PaymentMethod CHEQUE
public static final PayBy.PaymentMethod CREDIT_CARD
public static PayBy.PaymentMethod[] values()
for (PayBy.PaymentMethod c : PayBy.PaymentMethod.values()) System.out.println(c);
public static PayBy.PaymentMethod 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 © 2008–2016 CDI TCK. All rights reserved.