public enum PaymentMethod extends java.lang.Enum<PaymentMethod>
| Enum Constant and Description |
|---|
ALIPAY_SCAN |
B2B_ONLINE_BANKING |
B2C_ONLINE_BANKING |
CREDIT_CARD |
DEBIT_CARD |
WECHAT_IN_APP |
WECHAT_SCAN |
WECHAT_WEB |
| Modifier and Type | Method and Description |
|---|---|
static PaymentMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentMethod CREDIT_CARD
public static final PaymentMethod DEBIT_CARD
public static final PaymentMethod WECHAT_SCAN
public static final PaymentMethod ALIPAY_SCAN
public static final PaymentMethod B2B_ONLINE_BANKING
public static final PaymentMethod B2C_ONLINE_BANKING
public static final PaymentMethod WECHAT_IN_APP
public static final PaymentMethod WECHAT_WEB
public static PaymentMethod[] values()
for (PaymentMethod c : PaymentMethod.values()) System.out.println(c);
public static PaymentMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null