|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TradeState>
com.foxinmy.weixin4j.type.TradeState
public enum TradeState
交易状态
| Enum Constant Summary | |
|---|---|
CLOSED
已关闭 |
|
NOPAY
未支付(输入密码或 确认支付超时) |
|
NOTPAY
未支付 |
|
PAYERROR
支付失败(其他 原因,如银行返回失败) |
|
REFUND
转入退款 |
|
REVOKED
已撤销 |
|
SUCCESS
支付成功 |
|
USERPAYING
用户支付中 |
|
| Method Summary | |
|---|---|
static TradeState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TradeState[] |
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 TradeState SUCCESS
public static final TradeState REFUND
public static final TradeState NOTPAY
public static final TradeState CLOSED
public static final TradeState REVOKED
public static final TradeState USERPAYING
public static final TradeState NOPAY
public static final TradeState PAYERROR
| Method Detail |
|---|
public static TradeState[] values()
for (TradeState c : TradeState.values()) System.out.println(c);
public static TradeState 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 | |||||||||