类 AbstractWxPayController

    • 构造器详细资料

      • AbstractWxPayController

        public AbstractWxPayController()
    • 方法详细资料

      • getWxPayServiceType

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

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

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

        @Autowired
        public void setConfigService​(WxPayConfigService configService)
      • setPayProperties

        @Autowired
        public void setPayProperties​(PayProperties payProperties)