类 WechatPayConfiguration

    • 字段详细资料

      • CERT_ALIAS

        private static final String CERT_ALIAS
        The constant CERT_ALIAS.
        另请参阅:
        常量字段值
    • 构造器详细资料

      • WechatPayConfiguration

        public WechatPayConfiguration()
    • 方法详细资料

      • wechatMetaContainer

        @Bean
        @ConditionalOnMissingBean
        WechatMetaContainer wechatMetaContainer​(WechatPayProperties wechatPayProperties)
        微信支付公私钥 以及序列号等元数据.
        参数:
        wechatPayProperties - the wechat pay properties
        返回:
        the wechat cert bean
      • signatureProvider

        @Bean
        SignatureProvider signatureProvider​(WechatMetaContainer wechatMetaContainer)
        微信支付V3签名工具.
        参数:
        wechatMetaContainer - the wechat meta container
        返回:
        the signature provider
      • wechatPayClient

        @Bean
        public WechatPayClient wechatPayClient​(SignatureProvider signatureProvider)
        微信支付V3 客户端.
        参数:
        signatureProvider - the signature provider
        返回:
        the wechat pay service
      • wechatApiProvider

        @Bean
        public WechatApiProvider wechatApiProvider​(WechatPayClient wechatPayClient)
        多租户接口Provider.
        参数:
        wechatPayClient - the wechat pay client
        返回:
        the wechat api provider