Enum Class TradeType

java.lang.Object
java.lang.Enum<TradeType>
com.ijpay.core.enums.TradeType
所有已实现的接口:
Serializable, Comparable<TradeType>, Constable

public enum TradeType extends Enum<TradeType>

IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付常用的支付方式以及各种常用的接口。

不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。

IJPay 交流群: 723992875、864988890

Node.js 版: https://gitee.com/javen205/TNWX

支付方式

作者:
Javen
  • 枚举常量详细资料

    • JSAPI

      public static final TradeType JSAPI
      微信公众号支付或者小程序支付
    • NATIVE

      public static final TradeType NATIVE
      微信扫码支付
    • APP

      public static final TradeType APP
      微信APP支付
    • MICROPAY

      public static final TradeType MICROPAY
      付款码支付
    • MWEB

      public static final TradeType MWEB
      H5支付
  • 方法详细资料

    • values

      public static TradeType[] 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 TradeType 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 - 如果参数为空值
    • getTradeType

      public String getTradeType()