|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TradeType>
com.foxinmy.weixin4j.type.TradeType
public enum TradeType
微信支付类型
| Enum Constant Summary | |
|---|---|
APP
APP支付 |
|
JSAPI
JS支付 |
|
MICROPAY
刷卡支付 |
|
MWEB
WAP支付 |
|
NATIVE
扫码支付 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TradeType JSAPI
public static final TradeType MICROPAY
public static final TradeType NATIVE
public static final TradeType APP
public static final TradeType MWEB
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||