Package com.foxinmy.weixin4j.type
Enum TradeState
- java.lang.Object
-
- java.lang.Enum<TradeState>
-
- com.foxinmy.weixin4j.type.TradeState
-
- All Implemented Interfaces:
Serializable
,Comparable<TradeState>
@Deprecated public enum TradeState extends Enum<TradeState>
Deprecated.迁移到子模块weixin4j-pay交易状态- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TradeState
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static TradeState[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final TradeState SUCCESS
Deprecated.支付成功
-
REFUND
public static final TradeState REFUND
Deprecated.转入退款
-
NOTPAY
public static final TradeState NOTPAY
Deprecated.未支付
-
CLOSED
public static final TradeState CLOSED
Deprecated.已关闭
-
REVOKED
public static final TradeState REVOKED
Deprecated.已撤销
-
USERPAYING
public static final TradeState USERPAYING
Deprecated.用户支付中
-
NOPAY
public static final TradeState NOPAY
Deprecated.未支付(输入密码或 确认支付超时)
-
PAYERROR
public static final TradeState PAYERROR
Deprecated.支付失败(其他 原因,如银行返回失败)
-
-
Method Detail
-
values
public static TradeState[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TradeState c : TradeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TradeState valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-