Enum Class WechatCode

java.lang.Object
java.lang.Enum<WechatCode>
com.abasecode.opencode.pay.plugin.wechatpay.entity.WechatCode
所有已实现的接口:
Serializable, Comparable<WechatCode>, java.lang.constant.Constable

public enum WechatCode extends Enum<WechatCode>
作者:
Jon e-mail: ijonso123@gmail.com url: Jon's blog url: project github url: AbaseCode.com
  • 枚举常量详细资料

    • SYSTEM_ERROR

      public static final WechatCode SYSTEM_ERROR
      系统超时
    • USER_ACCOUNT_ABNORMAL

      public static final WechatCode USER_ACCOUNT_ABNORMAL
      退款请求失败
    • NOT_ENOUGH

      public static final WechatCode NOT_ENOUGH
      余额不足
    • PARAM_ERROR

      public static final WechatCode PARAM_ERROR
      参数错误
    • MCH_NOT_EXISTS

      public static final WechatCode MCH_NOT_EXISTS
      MCHID不存在
  • 字段详细资料

    • code

      private int code
    • msg

      private String msg
    • desc

      private String desc
  • 构造器详细资料

    • WechatCode

      private WechatCode(int code, String msg, String desc)
  • 方法详细资料

    • values

      public static WechatCode[] 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

      public static WechatCode valueOf(String name)
      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 name
      NullPointerException - 如果参数为空值