@Configuration(proxyBeanMethods=false) @Conditional(value=WechatPayConfiguredCondition.class) @EnableConfigurationProperties(value=WechatPayProperties.class) public class WechatPayConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
private static String |
CERT_ALIAS
The constant CERT_ALIAS.
|
| Constructor and Description |
|---|
WechatPayConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
(package private) SignatureProvider |
signatureProvider(WechatMetaContainer wechatMetaContainer)
微信支付V3签名工具.
|
WechatApiProvider |
wechatApiProvider(WechatPayClient wechatPayClient)
多租户接口Provider.
|
(package private) WechatMetaContainer |
wechatMetaContainer(WechatPayProperties wechatPayProperties)
微信支付公私钥 以及序列号等元数据.
|
WechatPayClient |
wechatPayClient(SignatureProvider signatureProvider)
微信支付V3 客户端.
|
private static final String CERT_ALIAS
@Bean @ConditionalOnMissingBean WechatMetaContainer wechatMetaContainer(WechatPayProperties wechatPayProperties)
wechatPayProperties - the wechat pay properties@Bean SignatureProvider signatureProvider(WechatMetaContainer wechatMetaContainer)
wechatMetaContainer - the wechat meta container@Bean public WechatPayClient wechatPayClient(SignatureProvider signatureProvider)
signatureProvider - the signature provider@Bean public WechatApiProvider wechatApiProvider(WechatPayClient wechatPayClient)
wechatPayClient - the wechat pay clientCopyright © 2021. All rights reserved.