类 AbstractWxPayController

java.lang.Object
net.guerlab.smart.pay.web.wx.AbstractWxPayController
直接已知子类:
AbstractWxPayNotifyController, AbstractWxPayRequestController

public abstract class AbstractWxPayController
extends java.lang.Object
抽象微信支付控制器
作者:
guer
  • 字段概要

    字段 
    修饰符和类型 字段 说明
    protected net.guerlab.smart.pay.service.service.WxPayConfigService configService  
    protected static java.lang.String KEY_APP_ID
    应用ID关键字
    protected net.guerlab.smart.pay.service.properties.PayProperties payProperties  
  • 构造器概要

    构造器 
    构造器 说明
    AbstractWxPayController()  
  • 方法概要

    修饰符和类型 方法 说明
    protected WxPayService buildWxPayService​(java.lang.String appId)
    构造微信支付服务
    protected WxPayService buildWxPayService​(java.lang.String appId, boolean checkEnable)
    构造微信支付服务
    protected abstract WxPayServiceType getWxPayServiceType()
    获取微信支付服务类型
    void setConfigService​(net.guerlab.smart.pay.service.service.WxPayConfigService configService)  
    void setPayProperties​(net.guerlab.smart.pay.service.properties.PayProperties payProperties)  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • KEY_APP_ID

      protected static final java.lang.String KEY_APP_ID
      应用ID关键字
      另请参阅:
      常量字段值
    • configService

      protected net.guerlab.smart.pay.service.service.WxPayConfigService configService
    • payProperties

      protected net.guerlab.smart.pay.service.properties.PayProperties payProperties
  • 构造器详细资料

  • 方法详细资料

    • getWxPayServiceType

      protected abstract WxPayServiceType getWxPayServiceType()
      获取微信支付服务类型
      返回:
      微信支付服务类型
    • buildWxPayService

      protected WxPayService buildWxPayService​(java.lang.String appId)
      构造微信支付服务
      参数:
      appId - 应用ID
      返回:
      微信支付服务
    • buildWxPayService

      protected WxPayService buildWxPayService​(java.lang.String appId, boolean checkEnable)
      构造微信支付服务
      参数:
      appId - 应用ID
      checkEnable - 检查是否启用
      返回:
      微信支付服务
    • setConfigService

      @Autowired public void setConfigService​(net.guerlab.smart.pay.service.service.WxPayConfigService configService)
    • setPayProperties

      @Autowired public void setPayProperties​(net.guerlab.smart.pay.service.properties.PayProperties payProperties)