public enum TradeState extends Enum<TradeState>
| 枚举常量和说明 |
|---|
ACCEPT
已接收,等待扣款
|
CLOSED
已关闭
|
NOTPAY
未支付
|
PAYERROR
支付失败(其他原因,如银行返回失败)
|
REFUND
转入退款
|
REVOKED
已撤销(付款码支付)
|
SUCCESS
支付成功
|
USERPAYING
用户支付中(付款码支付)
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021. All rights reserved.