Enum Class WeChatEnums
- 所有已实现的接口:
InterfaceEnum
,Serializable
,Comparable<WeChatEnums>
,Constable
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量枚举常量说明appid和mch_id不匹配商户APPID不存在参数错误缺少参数商户号不存在商户无此接口权限编码格式错误余额不足订单已关闭商户订单已支付商户订单号重复post数据为空请使用post方法签名错误系统错误XML格式错误 -
方法概要
修饰符和类型方法说明getNode()
获取下节点值getText()
获取描述getValue()
获取值static WeChatEnums
Returns the enum constant of this class with the specified name.static WeChatEnums[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.从类继承的方法 java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
枚举常量详细资料
-
INVALID_REQUEST
参数错误 -
NOAUTH
商户无此接口权限 -
NOTENOUGH
余额不足 -
ORDERPAID
商户订单已支付 -
ORDERCLOSED
订单已关闭 -
SYSTEMERROR
系统错误 -
APPID_NOT_EXIST
商户APPID不存在 -
MCHID_NOT_EXIST
商户号不存在 -
APPID_MCHID_NOT_MATCH
appid和mch_id不匹配 -
LACK_PARAMS
缺少参数 -
OUT_TRADE_NO_USED
商户订单号重复 -
SIGNERROR
签名错误 -
XML_FORMAT_ERROR
XML格式错误 -
REQUIRE_POST_METHOD
请使用post方法 -
POST_DATA_EMPTY
post数据为空 -
NOT_UTF8
编码格式错误
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name
- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- 如果参数为空值
-
getValue
获取值- 指定者:
getValue
在接口中InterfaceEnum
- 返回:
- 返回值
-
getText
获取描述- 指定者:
getText
在接口中InterfaceEnum
- 返回:
- 返描述
-
getNode
获取下节点值- 指定者:
getNode
在接口中InterfaceEnum
- 返回:
- 返下节点值
-