类 WechatPayConfiguration
- java.lang.Object
-
- cn.crushes.cloud.core.pay.wechat.WechatPayConfiguration
-
@Configuration(proxyBeanMethods=false) @Conditional(WechatPayConfiguredCondition.class) @EnableConfigurationProperties(WechatPayProperties.class) public class WechatPayConfiguration extends Object
The type Wechat pay configuration.- 作者:
- youta
-
-
字段概要
字段 修饰符和类型 字段 说明 private static StringCERT_ALIASThe constant CERT_ALIAS.
-
构造器概要
构造器 构造器 说明 WechatPayConfiguration()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 (专用程序包) SignatureProvidersignatureProvider(WechatMetaContainer wechatMetaContainer)微信支付V3签名工具.WechatApiProviderwechatApiProvider(WechatPayClient wechatPayClient)多租户接口Provider.(专用程序包) WechatMetaContainerwechatMetaContainer(WechatPayProperties wechatPayProperties)微信支付公私钥 以及序列号等元数据.WechatPayClientwechatPayClient(SignatureProvider signatureProvider)微信支付V3 客户端.
-
-
-
方法详细资料
-
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
-
-