public static enum Payment.PaymentMethodEnum extends Enum<Payment.PaymentMethodEnum>
| Enum Constant and Description |
|---|
ACCOUNTCREDIT |
BANKTRANSFER |
CASH |
CHECQUE |
CREDITCARD |
DEBITCARD |
EXISTINGCREDIT |
MONEYVOUCHER |
OTHER |
PAYPAL |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Payment.PaymentMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Payment.PaymentMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Payment.PaymentMethodEnum CREDITCARD
public static final Payment.PaymentMethodEnum PAYPAL
public static final Payment.PaymentMethodEnum BANKTRANSFER
public static final Payment.PaymentMethodEnum CASH
public static final Payment.PaymentMethodEnum CHECQUE
public static final Payment.PaymentMethodEnum DEBITCARD
public static final Payment.PaymentMethodEnum EXISTINGCREDIT
public static final Payment.PaymentMethodEnum ACCOUNTCREDIT
public static final Payment.PaymentMethodEnum MONEYVOUCHER
public static final Payment.PaymentMethodEnum OTHER
public static Payment.PaymentMethodEnum[] values()
for (Payment.PaymentMethodEnum c : Payment.PaymentMethodEnum.values()) System.out.println(c);
public static Payment.PaymentMethodEnum 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 nullpublic String toString()
toString in class Enum<Payment.PaymentMethodEnum>Copyright © 2015. All rights reserved.