cn.felord.payment.wechat

## 类 WechatPayConfiguration

- java.lang.Object
- - cn.felord.payment.wechat.WechatPayConfiguration

-     @Configuration(proxyBeanMethods=false)
       @Conditional(value=WechatPayConfiguredCondition.class)
       @EnableConfigurationProperties(value=WechatPayProperties.class)
      public class WechatPayConfiguration
      extends Object

  The type Wechat pay configuration.
  从以下版本开始:
    1.0.0.RELEASE
  作者:
    felord.cn

- - ### 字段概要

    字段
    限定符和类型 | 字段和说明
    --- | ---
    `private static String` | `CERT_ALIAS` The constant CERT_ALIAS.

  - ### 构造器概要

    构造器
    构造器和说明
    `WechatPayConfiguration()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `(专用程序包) SignatureProvider` | `signatureProvider(WechatMetaContainer wechatMetaContainer)` 微信支付V3签名工具.
    `WechatApiProvider` | `wechatApiProvider(WechatPayClient wechatPayClient)` 多租户接口Provider.
    `(专用程序包) WechatMetaContainer` | `wechatMetaContainer(WechatPayProperties wechatPayProperties)` 微信支付公私钥 以及序列号等元数据.
    `WechatPayClient` | `wechatPayClient(SignatureProvider signatureProvider)` 微信支付V3 客户端.

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 字段详细资料

    - #### 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

Copyright © 2022. All rights reserved.