Package com.foxinmy.weixin4j.type
Enum IdType
- java.lang.Object
-
- java.lang.Enum<IdType>
-
- com.foxinmy.weixin4j.type.IdType
-
- All Implemented Interfaces:
Serializable
,Comparable<IdType>
@Deprecated public enum IdType extends Enum<IdType>
Deprecated.迁移到子模块weixin4j-payID类型- Since:
- JDK 1.6
- Author:
- jinyu(foxinmy@gmail.com)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REFUNDID
Deprecated.微信退款单号REFUNDNO
Deprecated.商户退款号SUBORDERID
Deprecated.微信子订单号SUBORDERNO
Deprecated.商户子订单号TRADENO
Deprecated.商户订单号TRANSACTIONID
Deprecated.微信订单号
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getName()
Deprecated.static IdType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static IdType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REFUNDID
public static final IdType REFUNDID
Deprecated.微信退款单号
-
TRANSACTIONID
public static final IdType TRANSACTIONID
Deprecated.微信订单号
-
TRADENO
public static final IdType TRADENO
Deprecated.商户订单号
-
REFUNDNO
public static final IdType REFUNDNO
Deprecated.商户退款号
-
SUBORDERNO
public static final IdType SUBORDERNO
Deprecated.商户子订单号
-
SUBORDERID
public static final IdType SUBORDERID
Deprecated.微信子订单号
-
-
Method Detail
-
values
public static IdType[] 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 (IdType c : IdType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IdType 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
-
getName
public String getName()
Deprecated.
-
-