public enum TradeType extends Enum<TradeType>
| Enum Constant and Description |
|---|
APP
APP支付
|
FACEPAY
刷脸支付
|
JSAPI
公众号支付
|
MICROPAY
付款码支付
|
MWEB
H5支付
|
NATIVE
扫码支付
|
PAP
委托代扣
|
| Modifier and Type | Method and Description |
|---|---|
static TradeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TradeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradeType JSAPI
public static final TradeType NATIVE
public static final TradeType APP
public static final TradeType MICROPAY
public static final TradeType MWEB
public static final TradeType FACEPAY
public static final TradeType PAP
public static TradeType[] values()
for (TradeType c : TradeType.values()) System.out.println(c);
public static TradeType 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 © 2023. All rights reserved.