public enum EPaymMth extends Enum<EPaymMth>
Payment methods.
| Enum Constant and Description |
|---|
ANY
1, any, it's means that buyer can pay 100% with any method
(e.g.
|
BANK_CHEQUE
4, bank cheque.
|
BANK_TRANSFER
3, bank transfer.
|
BANK_TRANSFER_CHEQUE
6, bank transfer or cheque.
|
CASH_BANK_TRANSFER
5, cash or bank transfer.
|
CASH_BANK_TRANSFER_CHEQUE
7, cash, bank transfer or cheque.
|
ONLINE
0, buyer must pay right now with any online method
(e.g.
|
PARTIAL_ONLINE
8, in case when order must be payed partially online
e.g 50% and the rest with any methods - online, bank transfer,
cash or check.
|
PAY_CASH
2, cash.
|
PAYPAL
9, exactly PayPal.
|
PAYPAL_ANY
10, PayPal or credit card (or any other method) through PayPal.
|
| Modifier and Type | Method and Description |
|---|---|
static EPaymMth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EPaymMth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EPaymMth ONLINE
0, buyer must pay right now with any online method (e.g. credit card, PayPal).
public static final EPaymMth ANY
1, any, it's means that buyer can pay 100% with any method (e.g. with cash when goods has been delivered), and if order can be payed partially with several methods, e.g. 50% online, 50% bank transfer, cash or cheque.
public static final EPaymMth PAY_CASH
2, cash.
public static final EPaymMth BANK_TRANSFER
3, bank transfer.
public static final EPaymMth BANK_CHEQUE
4, bank cheque.
public static final EPaymMth CASH_BANK_TRANSFER
5, cash or bank transfer.
public static final EPaymMth BANK_TRANSFER_CHEQUE
6, bank transfer or cheque.
public static final EPaymMth CASH_BANK_TRANSFER_CHEQUE
7, cash, bank transfer or cheque.
public static final EPaymMth PARTIAL_ONLINE
8, in case when order must be payed partially online e.g 50% and the rest with any methods - online, bank transfer, cash or check.
public static final EPaymMth PAYPAL
9, exactly PayPal.
public static final EPaymMth PAYPAL_ANY
10, PayPal or credit card (or any other method) through PayPal.
public static EPaymMth[] values()
for (EPaymMth c : EPaymMth.values()) System.out.println(c);
public static EPaymMth 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 © 2019. All rights reserved.