程序包 com.walker.pay

Enum Class PayType

java.lang.Object
java.lang.Enum<PayType>
com.walker.pay.PayType
所有已实现的接口:
Serializable, Comparable<PayType>, Constable

public enum PayType extends Enum<PayType>
支付类型。
作者:
时克英
  • 枚举常量详细资料

    • Tap

      public static final PayType Tap
      刷卡支付(或被扫)
    • OfficialAccount

      public static final PayType OfficialAccount
      公众号支付
    • Scan

      public static final PayType Scan
      扫码支付(生成商品支付二维码)
    • App

      public static final PayType App
      APP支付
    • Applet

      public static final PayType Applet
      小程序支付
    • H5

      public static final PayType H5
      H5支付
    • InApp

      public static final PayType InApp
      应用内支付
    • AllinPayCloud_QUICKPAY_VSP

      public static final PayType AllinPayCloud_QUICKPAY_VSP
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ 以下为 通商云 独立定义的支付方式。2023-02-17 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 通商云: 收银宝快捷支付(卡号、金额)
    • AllinPayCloud_WECHAT_PUBLIC

      public static final PayType AllinPayCloud_WECHAT_PUBLIC
      通商云: 微信js公众号(收银宝)--> 微信公众号支付 appid(否)、微信js支付 openid
    • AllinPayCloud_ALIPAY_SERVIC

      public static final PayType AllinPayCloud_ALIPAY_SERVIC
      通商云: 支付宝js支付(生活号)--> 支付宝js支付 user_id
    • AllinPayCloud_WECHATPAY_MINIPROGRAM

      public static final PayType AllinPayCloud_WECHATPAY_MINIPROGRAM
      通商云: 微信小程序支付(收银宝)--> 微信js支付 openid
    • AllinPayCloud_SCAN_WEIXIN

      public static final PayType AllinPayCloud_SCAN_WEIXIN
      通商云: 微信扫码支付(正扫,收银宝) -->
    • AllinPayCloud_SCAN_ALIPAY

      public static final PayType AllinPayCloud_SCAN_ALIPAY
      通商云: 支付宝扫码支付(正扫,收银宝) -->
    • AllinPayCloud_COUPON

      public static final PayType AllinPayCloud_COUPON
      通商云: 优惠券支付,用于运营账号补贴方式 -->
    • PayUnk_TRANS_ALIPAY_ONE

      public static final PayType PayUnk_TRANS_ALIPAY_ONE
      畅联支付类型:支付宝单笔转账
    • PayUnk_BEHALF_ALIPAY_ONE

      public static final PayType PayUnk_BEHALF_ALIPAY_ONE
      畅联支付类型:支付宝代付单笔到用户
  • 字段详细资料

    • INDEX_TAP

      public static final int INDEX_TAP
      另请参阅:
    • INDEX_OFFICIAL_ACCOUNT

      public static final int INDEX_OFFICIAL_ACCOUNT
      另请参阅:
    • INDEX_SCAN

      public static final int INDEX_SCAN
      另请参阅:
    • INDEX_APP

      public static final int INDEX_APP
      另请参阅:
    • INDEX_APPLET

      public static final int INDEX_APPLET
      另请参阅:
    • INDEX_H5

      public static final int INDEX_H5
      另请参阅:
    • INDEX_IN_APP

      public static final int INDEX_IN_APP
      另请参阅:
    • INDEX_ALLINPAYCLOUD_QUICKPAY_VSP

      public static final int INDEX_ALLINPAYCLOUD_QUICKPAY_VSP
      另请参阅:
    • INDEX_ALLINPAYCLOUD_WECHAT_PUBLIC

      public static final int INDEX_ALLINPAYCLOUD_WECHAT_PUBLIC
      另请参阅:
    • INDEX_ALLINPAYCLOUD_ALIPAY_SERVIC

      public static final int INDEX_ALLINPAYCLOUD_ALIPAY_SERVIC
      另请参阅:
    • INDEX_ALLINPAYCLOUD_WECHATPAY_MINIPROGRAM

      public static final int INDEX_ALLINPAYCLOUD_WECHATPAY_MINIPROGRAM
      另请参阅:
    • INDEX_ALLINPAYCLOUD_SCAN_WEIXIN

      public static final int INDEX_ALLINPAYCLOUD_SCAN_WEIXIN
      另请参阅:
    • INDEX_ALLINPAYCLOUD_SCAN_ALIPAY

      public static final int INDEX_ALLINPAYCLOUD_SCAN_ALIPAY
      另请参阅:
    • INDEX_ALLINPAYCLOUD_COUPON

      public static final int INDEX_ALLINPAYCLOUD_COUPON
      另请参阅:
    • INDEX_PAYUNK_TRANS_ALIPAY_ONE

      public static final int INDEX_PAYUNK_TRANS_ALIPAY_ONE
      畅联支付方式:转账到支付宝(单笔)
      另请参阅:
    • INDEX_PAYUNK_BEHALF_ALIPAY_ONE

      public static final int INDEX_PAYUNK_BEHALF_ALIPAY_ONE
      畅联支付方式:代付到支付宝(单笔)
      另请参阅:
    • NAME_TAP

      public static final String NAME_TAP
      另请参阅:
    • NAME_OFFICIAL_ACCOUNT

      public static final String NAME_OFFICIAL_ACCOUNT
      另请参阅:
    • NAME_SCAN

      public static final String NAME_SCAN
      另请参阅:
    • NAME_APP

      public static final String NAME_APP
      另请参阅:
    • NAME_APPLET

      public static final String NAME_APPLET
      另请参阅:
    • NAME_H5

      public static final String NAME_H5
      另请参阅:
    • NAME_IN_APP

      public static final String NAME_IN_APP
      另请参阅:
    • NAME_ALLINPAYCLOUD_QUICKPAY_VSP

      public static final String NAME_ALLINPAYCLOUD_QUICKPAY_VSP
      另请参阅:
    • NAME_ALLINPAYCLOUD_WECHAT_PUBLIC

      public static final String NAME_ALLINPAYCLOUD_WECHAT_PUBLIC
      另请参阅:
    • NAME_ALLINPAYCLOUD_ALIPAY_SERVIC

      public static final String NAME_ALLINPAYCLOUD_ALIPAY_SERVIC
      另请参阅:
    • NAME_ALLINPAYCLOUD_WECHATPAY_MINIPROGRAM

      public static final String NAME_ALLINPAYCLOUD_WECHATPAY_MINIPROGRAM
      另请参阅:
    • NAME_ALLINPAYCLOUD_SCAN_WEIXIN

      public static final String NAME_ALLINPAYCLOUD_SCAN_WEIXIN
      另请参阅:
    • NAME_ALLINPAYCLOUD_SCAN_ALIPAY

      public static final String NAME_ALLINPAYCLOUD_SCAN_ALIPAY
      另请参阅:
    • NAME_ALLINPAYCLOUD_COUPON

      public static final String NAME_ALLINPAYCLOUD_COUPON
      另请参阅:
    • NAME_PAYUNK_TRANS_ALIPAY_ONE

      public static final String NAME_PAYUNK_TRANS_ALIPAY_ONE
      另请参阅:
    • NAME_PAYUNK_BEHALF_ALIPAY_ONE

      public static final String NAME_PAYUNK_BEHALF_ALIPAY_ONE
      另请参阅:
  • 方法详细资料

    • values

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

      public int getIndex()
    • getName

      public String getName()
    • getType

      public static PayType getType(int index)