public enum TradeState extends Enum<TradeState>
| Enum Constant and Description |
|---|
ACCEPT
已接收,等待扣款
|
CLOSED
已关闭
|
NOTPAY
未支付
|
PAYERROR
支付失败(其他原因,如银行返回失败)
|
REFUND
转入退款
|
REVOKED
已撤销(付款码支付)
|
SUCCESS
支付成功
|
USERPAYING
用户支付中(付款码支付)
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 PAYERROR
public static final TradeState ACCEPT
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 nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.