diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 553fda6..6be5292 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,6 +1,7 @@ * [首页](/) * [项目简介](README.md) * [快速接入](quick_start.md) +* [JavaDoc](apidocs/index.html ':ignore') * [微信支付V3接口文档](wechat_v3_api.md) * [日常踩坑](stackoverflow.md) * [更新日志](changelog.md) diff --git a/docs/apidocs/allclasses-frame.html b/docs/apidocs/allclasses-frame.html new file mode 100644 index 0000000..571354e --- /dev/null +++ b/docs/apidocs/allclasses-frame.html @@ -0,0 +1,90 @@ + + + +
+ + +public class PayException +extends RuntimeException+
| 构造器和说明 | +
|---|
PayException() |
+
PayException(String message) |
+
PayException(String message,
+ Throwable cause) |
+
PayException(String message,
+ Throwable cause,
+ boolean enableSuppression,
+ boolean writableStackTrace) |
+
PayException(Throwable cause) |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/AliPayConfiguration.html b/docs/apidocs/cn/felord/payment/alipay/AliPayConfiguration.html new file mode 100644 index 0000000..cd5b413 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/AliPayConfiguration.html @@ -0,0 +1,315 @@ + + + + + + +@Configuration + @ConditionalOnProperty(prefix="ali.pay", + name="v1.app-id") + @EnableConfigurationProperties(value=AliPayProperties.class) +public class AliPayConfiguration +extends Object+
| 构造器和说明 | +
|---|
AliPayConfiguration() |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
com.alipay.api.AlipayClient |
+alipayClient(AliPayProperties aliPayProperties) |
+
private String |
+appRSAPrivateKey(String classPath) |
+
private String |
+getFileAbsolutePath(String classPath) |
+
@Bean +public com.alipay.api.AlipayClient alipayClient(AliPayProperties aliPayProperties) + throws com.alipay.api.AlipayApiException+
com.alipay.api.AlipayApiExceptionCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/AliPayProperties.V1.html b/docs/apidocs/cn/felord/payment/alipay/AliPayProperties.V1.html new file mode 100644 index 0000000..a82ab42 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/AliPayProperties.V1.html @@ -0,0 +1,411 @@ + + + + + + +public static class AliPayProperties.V1 +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+alipayPublicCertPath
+alipay public cert path
+ |
+
private String |
+alipayRootCertPath
+alipay root cert path
+ |
+
private String |
+appCertPublicKeyPath
+appCertPublicKey
+ |
+
private String |
+appId
+your app ID
+ |
+
private String |
+appPrivateKeyPath
+your app private key, which must be in a single line
+ |
+
private String |
+charset
+charset default utf-8
+ |
+
private String |
+format
+data format only json now
+ |
+
private String |
+serverUrl
+alipay server
+ |
+
private String |
+signType
+sign type default RSA2
+ |
+
private String serverUrl+
private String appId+
private String appPrivateKeyPath+
private String signType+
private String format+
private String charset+
private String alipayPublicCertPath+
private String alipayRootCertPath+
private String appCertPublicKeyPath+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/AliPayProperties.html b/docs/apidocs/cn/felord/payment/alipay/AliPayProperties.html new file mode 100644 index 0000000..4ea7387 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/AliPayProperties.html @@ -0,0 +1,308 @@ + + + + + + +@ConfigurationProperties(value="ali.pay") +public class AliPayProperties +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
static class |
+AliPayProperties.V1
+The type V 1.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private AliPayProperties.V1 |
+v1
+alipay api version 1.0
+ |
+
| 构造器和说明 | +
|---|
AliPayProperties() |
+
@NestedConfigurationProperty +private AliPayProperties.V1 v1+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayConfiguration.html b/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayConfiguration.html new file mode 100644 index 0000000..b2c5556 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayConfiguration.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayProperties.V1.html b/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayProperties.V1.html new file mode 100644 index 0000000..08fc298 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayProperties.V1.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.alipay | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private AliPayProperties.V1 |
+AliPayProperties.v1
+alipay api version 1.0
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayProperties.html b/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayProperties.html new file mode 100644 index 0000000..8fa0627 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/class-use/AliPayProperties.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.alipay | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
com.alipay.api.AlipayClient |
+AliPayConfiguration.alipayClient(AliPayProperties aliPayProperties) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/package-frame.html b/docs/apidocs/cn/felord/payment/alipay/package-frame.html new file mode 100644 index 0000000..c103e4b --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/package-frame.html @@ -0,0 +1,23 @@ + + + + + + +| 类 | +说明 | +
|---|---|
| AliPayConfiguration | ++ |
| AliPayProperties | +
+ The type Ali pay properties.
+ |
+
| AliPayProperties.V1 | +
+ The type V 1.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/package-tree.html b/docs/apidocs/cn/felord/payment/alipay/package-tree.html new file mode 100644 index 0000000..1c0b951 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/package-tree.html @@ -0,0 +1,141 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/alipay/package-use.html b/docs/apidocs/cn/felord/payment/alipay/package-use.html new file mode 100644 index 0000000..3585735 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/alipay/package-use.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.alipay | ++ |
| 类和说明 | +
|---|
| AliPayProperties
+ The type Ali pay properties.
+ |
+
| AliPayProperties.V1
+ The type V 1.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/autoconfigure/EnableMobilePay.html b/docs/apidocs/cn/felord/payment/autoconfigure/EnableMobilePay.html new file mode 100644 index 0000000..a5daab7 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/autoconfigure/EnableMobilePay.html @@ -0,0 +1,175 @@ + + + + + + +@Target(value=TYPE) + @Retention(value=RUNTIME) + @Documented + @Import(value=PayConfiguration.class) +public @interface EnableMobilePay+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/autoconfigure/PayConfiguration.html b/docs/apidocs/cn/felord/payment/autoconfigure/PayConfiguration.html new file mode 100644 index 0000000..e376b48 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/autoconfigure/PayConfiguration.html @@ -0,0 +1,247 @@ + + + + + + +@Configuration
+ @Import(value={WechatPayConfiguration.class,AliPayConfiguration.class})
+public class PayConfiguration
+extends Object
+Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/autoconfigure/class-use/EnableMobilePay.html b/docs/apidocs/cn/felord/payment/autoconfigure/class-use/EnableMobilePay.html new file mode 100644 index 0000000..01c7afa --- /dev/null +++ b/docs/apidocs/cn/felord/payment/autoconfigure/class-use/EnableMobilePay.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/autoconfigure/class-use/PayConfiguration.html b/docs/apidocs/cn/felord/payment/autoconfigure/class-use/PayConfiguration.html new file mode 100644 index 0000000..4fa6b70 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/autoconfigure/class-use/PayConfiguration.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/autoconfigure/package-frame.html b/docs/apidocs/cn/felord/payment/autoconfigure/package-frame.html new file mode 100644 index 0000000..3b1c8cb --- /dev/null +++ b/docs/apidocs/cn/felord/payment/autoconfigure/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +| 类 | +说明 | +
|---|---|
| PayConfiguration | ++ |
| 注释类型 | +说明 | +
|---|---|
| EnableMobilePay | ++ |
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/autoconfigure/package-tree.html b/docs/apidocs/cn/felord/payment/autoconfigure/package-tree.html new file mode 100644 index 0000000..82aab36 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/autoconfigure/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/autoconfigure/package-use.html b/docs/apidocs/cn/felord/payment/autoconfigure/package-use.html new file mode 100644 index 0000000..f3fc3fb --- /dev/null +++ b/docs/apidocs/cn/felord/payment/autoconfigure/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/class-use/PayException.html b/docs/apidocs/cn/felord/payment/class-use/PayException.html new file mode 100644 index 0000000..95bc1d8 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/class-use/PayException.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/package-frame.html b/docs/apidocs/cn/felord/payment/package-frame.html new file mode 100644 index 0000000..4fdfc96 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/package-frame.html @@ -0,0 +1,21 @@ + + + + + + +| 异常错误 | +说明 | +
|---|---|
| PayException | ++ |
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/package-tree.html b/docs/apidocs/cn/felord/payment/package-tree.html new file mode 100644 index 0000000..9b5498a --- /dev/null +++ b/docs/apidocs/cn/felord/payment/package-tree.html @@ -0,0 +1,151 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/package-use.html b/docs/apidocs/cn/felord/payment/package-use.html new file mode 100644 index 0000000..c74f5c4 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/package-use.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/WechatPayConfiguration.html b/docs/apidocs/cn/felord/payment/wechat/WechatPayConfiguration.html new file mode 100644 index 0000000..e566eca --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/WechatPayConfiguration.html @@ -0,0 +1,396 @@ + + + + + + +@Configuration + @EnableConfigurationProperties(value=WechatPayProperties.class) +public class WechatPayConfiguration +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private static String |
+CERT_ALIAS |
+
| 构造器和说明 | +
|---|
WechatPayConfiguration() |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
(专用程序包) SignatureProvider |
+signatureProvider(WechatMetaContainer wechatMetaContainer)
+微信支付V3签名工具.
+ |
+
WechatApiProvider |
+wechatApiProvider(WechatPayClient wechatPayClient)
+多租户接口Provider.
+ |
+
(专用程序包) WechatMetaContainer |
+wechatMetaContainer(WechatPayProperties wechatPayProperties)
+微信支付公私钥 以及序列号等元数据.
+ |
+
WechatPayClient |
+wechatPayClient(SignatureProvider signatureProvider)
+微信支付V3 客户端.
+ |
+
@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 © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/WechatPayProperties.V3.html b/docs/apidocs/cn/felord/payment/wechat/WechatPayProperties.V3.html new file mode 100644 index 0000000..dfb4b38 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/WechatPayProperties.V3.html @@ -0,0 +1,379 @@ + + + + + + +public static class WechatPayProperties.V3 +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+appId
+app id for wechat pay is required
+ |
+
private String |
+appSecret
+app secret for wechat pay is required
+ |
+
private String |
+appV3Secret
+app V3 secret is required by wechat pay V3
+ |
+
private String |
+certPath
+wechat pay certificate Path
+ |
+
private String |
+domain
+your pay server domain
+ |
+
private String |
+mchId
+mchId for wechat pay is required
+ |
+
private String |
+partnerKey
+partnerKey for wechat pay is optional
+ |
+
private String appId+
private String appSecret+
private String appV3Secret+
private String mchId+
private String partnerKey+
private String certPath+
private String domain+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/WechatPayProperties.html b/docs/apidocs/cn/felord/payment/wechat/WechatPayProperties.html new file mode 100644 index 0000000..c30099b --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/WechatPayProperties.html @@ -0,0 +1,301 @@ + + + + + + +@ConfigurationProperties(value="wechat.pay") +public class WechatPayProperties +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
static class |
+WechatPayProperties.V3
+wechat pay v3 properties.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Map<String,WechatPayProperties.V3> |
+v3
+wechat pay V3 properties
+ |
+
| 构造器和说明 | +
|---|
WechatPayProperties() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/WechatPayResponseErrorHandler.html b/docs/apidocs/cn/felord/payment/wechat/WechatPayResponseErrorHandler.html new file mode 100644 index 0000000..9c27d2b --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/WechatPayResponseErrorHandler.html @@ -0,0 +1,311 @@ + + + + + + +public class WechatPayResponseErrorHandler
+extends org.springframework.web.client.DefaultResponseErrorHandler
+| 构造器和说明 | +
|---|
WechatPayResponseErrorHandler() |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
boolean |
+hasError(org.springframework.http.client.ClientHttpResponse response) |
+
getCharset, getHttpStatusCode, getResponseBody, handleError, handleError, hasError, hasErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleErrorpublic WechatPayResponseErrorHandler()+
public boolean hasError(org.springframework.http.client.ClientHttpResponse response) + throws IOException+
hasError 在接口中 org.springframework.web.client.ResponseErrorHandlerhasError 在类中 org.springframework.web.client.DefaultResponseErrorHandlerIOExceptionCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayConfiguration.html b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayConfiguration.html new file mode 100644 index 0000000..1aa372a --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayConfiguration.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayProperties.V3.html b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayProperties.V3.html new file mode 100644 index 0000000..d21338f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayProperties.V3.html @@ -0,0 +1,192 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private Map<String,WechatPayProperties.V3> |
+WechatPayProperties.v3
+wechat pay V3 properties
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private WechatPayProperties.V3 |
+WechatMetaBean.v3
+The V3.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayProperties.html b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayProperties.html new file mode 100644 index 0000000..224914e --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayProperties.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
(专用程序包) WechatMetaContainer |
+WechatPayConfiguration.wechatMetaContainer(WechatPayProperties wechatPayProperties)
+微信支付公私钥 以及序列号等元数据.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayResponseErrorHandler.html b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayResponseErrorHandler.html new file mode 100644 index 0000000..2ee706b --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/class-use/WechatPayResponseErrorHandler.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/BankCode.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/BankCode.html new file mode 100644 index 0000000..34fbadd --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/BankCode.html @@ -0,0 +1,1085 @@ + + + + + + +public enum BankCode +extends Enum<BankCode>+
| 枚举常量和说明 | +
|---|
BK_1001
+招商银行
+ |
+
BK_1002
+工商银行
+ |
+
BK_1003
+建设银行
+ |
+
BK_1004
+浦发银行
+ |
+
BK_1005
+农业银行
+ |
+
BK_1006
+民生银行
+ |
+
BK_1009
+兴业银行
+ |
+
BK_1010
+平安银行
+ |
+
BK_1020
+交通银行
+ |
+
BK_1021
+中信银行
+ |
+
BK_1022
+光大银行
+ |
+
BK_1024
+上海银行
+ |
+
BK_1025
+华夏银行
+ |
+
BK_1026
+中国银行
+ |
+
BK_1027
+广发银行
+ |
+
BK_1054
+南京银行
+ |
+
BK_1056
+宁波银行
+ |
+
BK_1066
+邮储银行
+ |
+
BK_4036
+顺德农商银行
+ |
+
BK_4051
+浙江泰隆商业银行
+ |
+
BK_4052
+宁波鄞州农村商业银行
+ |
+
BK_4072
+江苏紫金农村商业银行股份有限公司
+ |
+
BK_4076
+深圳农村商业银行
+ |
+
BK_4108
+陕西省农村信用社
+ |
+
BK_4113
+广西壮族自治区农村信用社
+ |
+
BK_4115
+河南省农村信用社
+ |
+
BK_4150
+宁夏黄河农村商业银行
+ |
+
BK_4153
+天津农村商业银行
+ |
+
BK_4156
+山西省农村信用社
+ |
+
BK_4157
+甘肃省农村信用社
+ |
+
BK_4166
+安徽省农村信用社
+ |
+
BK_4216
+长沙银行
+ |
+
BK_4217
+江苏省农村信用社联合社
+ |
+
BK_4752
+衡水银行
+ |
+
BK_4753
+中原银行
+ |
+
BK_4755
+长子县融汇村镇银行
+ |
+
BK_4756
+长治银行
+ |
+
BK_4758
+海口联合农村商业银行股份有限公司
+ |
+
BK_4761
+企业银行(中国)
+ |
+
BK_4763
+南洋商业银行(中国)有限公司
+ |
+
BK_4764
+浙江省农村信用社联合社
+ |
+
BK_4766
+枣庄银行股份有限公司
+ |
+
BK_4767
+大同银行
+ |
+
BK_4769
+北京中关村银行股份有限公司
+ |
+
BK_4778
+星展银行(中国)有限公司
+ |
+
BK_4836
+北京银行
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
String |
+bankName() |
+
String |
+code() |
+
static BankCode |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static BankCode[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final BankCode BK_1002+
public static final BankCode BK_1005+
public static final BankCode BK_1003+
public static final BankCode BK_1026+
public static final BankCode BK_1020+
public static final BankCode BK_1001+
public static final BankCode BK_1066+
public static final BankCode BK_1006+
public static final BankCode BK_1010+
public static final BankCode BK_1021+
public static final BankCode BK_1004+
public static final BankCode BK_1009+
public static final BankCode BK_1022+
public static final BankCode BK_1027+
public static final BankCode BK_1025+
public static final BankCode BK_1056+
public static final BankCode BK_4836+
public static final BankCode BK_1024+
public static final BankCode BK_1054+
public static final BankCode BK_4755+
public static final BankCode BK_4216+
public static final BankCode BK_4051+
public static final BankCode BK_4753+
public static final BankCode BK_4761+
public static final BankCode BK_4036+
public static final BankCode BK_4752+
public static final BankCode BK_4756+
public static final BankCode BK_4767+
public static final BankCode BK_4115+
public static final BankCode BK_4150+
public static final BankCode BK_4156+
public static final BankCode BK_4166+
public static final BankCode BK_4157+
public static final BankCode BK_4153+
public static final BankCode BK_4113+
public static final BankCode BK_4108+
public static final BankCode BK_4076+
public static final BankCode BK_4052+
public static final BankCode BK_4764+
public static final BankCode BK_4217+
public static final BankCode BK_4072+
public static final BankCode BK_4769+
public static final BankCode BK_4778+
public static final BankCode BK_4766+
public static final BankCode BK_4758+
public static final BankCode BK_4763+
private final String code+
private final String bankName+
public static BankCode[] values()+
+for (BankCode c : BankCode.values()) + System.out.println(c); +
public static BankCode valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String code()+
public String bankName()+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/CouponBgColor.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/CouponBgColor.html new file mode 100644 index 0000000..3c06872 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/CouponBgColor.html @@ -0,0 +1,497 @@ + + + + + + +public enum CouponBgColor +extends Enum<CouponBgColor>+
+ https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml#menu1
| 枚举常量和说明 | +
|---|
COLOR010 |
+
COLOR020 |
+
COLOR030 |
+
COLOR040 |
+
COLOR050 |
+
COLOR060 |
+
COLOR070 |
+
COLOR080 |
+
COLOR090 |
+
COLOR100 |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
String |
+color() |
+
static CouponBgColor |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static CouponBgColor[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final CouponBgColor COLOR010+
public static final CouponBgColor COLOR020+
public static final CouponBgColor COLOR030+
public static final CouponBgColor COLOR040+
public static final CouponBgColor COLOR050+
public static final CouponBgColor COLOR060+
public static final CouponBgColor COLOR070+
public static final CouponBgColor COLOR080+
public static final CouponBgColor COLOR090+
public static final CouponBgColor COLOR100+
public static CouponBgColor[] values()+
+for (CouponBgColor c : CouponBgColor.values()) + System.out.println(c); +
public static CouponBgColor valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String color()+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/CouponStatus.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/CouponStatus.html new file mode 100644 index 0000000..c3d3087 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/CouponStatus.html @@ -0,0 +1,371 @@ + + + + + + +public enum CouponStatus +extends Enum<CouponStatus>+
| 限定符和类型 | +方法和说明 | +
|---|---|
static CouponStatus |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static CouponStatus[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final CouponStatus SENDED+
public static final CouponStatus USED+
public static final CouponStatus EXPIRED+
public static CouponStatus[] values()+
+for (CouponStatus c : CouponStatus.values()) + System.out.println(c); +
public static CouponStatus valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/StockStatus.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/StockStatus.html new file mode 100644 index 0000000..61f0b4f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/StockStatus.html @@ -0,0 +1,490 @@ + + + + + + +public enum StockStatus +extends Enum<StockStatus>+
| 枚举常量和说明 | +
|---|
AUDIT
+Audit stock status.
+ |
+
PAUSED
+Paused stock status.
+ |
+
RUNNING
+Running stock status.
+ |
+
STOPED
+Stoped stock status.
+ |
+
UNACTIVATED
+Unactivated stock status.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+description |
+
private String |
+value |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
String |
+description()
+Description string.
+ |
+
String |
+value()
+Value string.
+ |
+
static StockStatus |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static StockStatus[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final StockStatus UNACTIVATED+
public static final StockStatus AUDIT+
public static final StockStatus RUNNING+
public static final StockStatus STOPED+
public static final StockStatus PAUSED+
private final String value+
private final String description+
public static StockStatus[] values()+
+for (StockStatus c : StockStatus.values()) + System.out.println(c); +
public static StockStatus valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String value()+
public String description()+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/TradeState.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/TradeState.html new file mode 100644 index 0000000..51191f4 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/TradeState.html @@ -0,0 +1,431 @@ + + + + + + +public enum TradeState +extends Enum<TradeState>+
| 枚举常量和说明 | +
|---|
CLOSED
+已关闭
+ |
+
NOTPAY
+未支付
+ |
+
PAYERROR
+支付失败(其他原因,如银行返回失败)
+ |
+
REFUND
+转入退款
+ |
+
REVOKED
+已撤销(付款码支付)
+ |
+
SUCCESS
+支付成功
+ |
+
USERPAYING
+用户支付中(付款码支付)
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
static TradeState |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static TradeState[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final TradeState SUCCESS+
public static final TradeState REFUND+
public static final TradeState NOTPAY+
public static final TradeState CLOSED+
public static final TradeState REVOKED+
public static final TradeState USERPAYING+
public static final TradeState PAYERROR+
public static TradeState[] values()+
+for (TradeState c : TradeState.values()) + System.out.println(c); +
public static TradeState valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/TradeType.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/TradeType.html new file mode 100644 index 0000000..4f3cb9f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/TradeType.html @@ -0,0 +1,416 @@ + + + + + + +public enum TradeType +extends Enum<TradeType>+
| 枚举常量和说明 | +
|---|
APP
+APP支付
+ |
+
FACEPAY
+刷脸支付
+ |
+
JSAPI
+公众号支付
+ |
+
MICROPAY
+付款码支付
+ |
+
MWEB
+H5支付
+ |
+
NATIVE
+扫码支付
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
static TradeType |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static TradeType[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final TradeType JSAPI+
public static final TradeType NATIVE+
public static final TradeType APP+
public static final TradeType MICROPAY+
public static final TradeType MWEB+
public static final TradeType FACEPAY+
public static TradeType[] values()+
+for (TradeType c : TradeType.values()) + System.out.println(c); +
public static TradeType valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/WeChatServer.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/WeChatServer.html new file mode 100644 index 0000000..502c1ba --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/WeChatServer.html @@ -0,0 +1,486 @@ + + + + + + +public enum WeChatServer +extends Enum<WeChatServer>+
| 枚举常量和说明 | +
|---|
ACTION
+活动
+ |
+
CHINA
+中国
+ |
+
CHINA2
+中国国内(备用域名)
+ |
+
FRAUD
+获取公钥
+ |
+
HK
+香港
+ |
+
US
+美国
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
String |
+domain()
+Gets type.
+ |
+
String |
+toString() |
+
static WeChatServer |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static WeChatServer[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final WeChatServer CHINA+
public static final WeChatServer CHINA2+
public static final WeChatServer HK+
public static final WeChatServer US+
public static final WeChatServer FRAUD+
public static final WeChatServer ACTION+
public static WeChatServer[] values()+
+for (WeChatServer c : WeChatServer.values()) + System.out.println(c); +
public static WeChatServer valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String domain()+
public String toString()+
toString 在类中 Enum<WeChatServer>Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/WechatPayV3Type.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/WechatPayV3Type.html new file mode 100644 index 0000000..098fb51 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/WechatPayV3Type.html @@ -0,0 +1,782 @@ + + + + + + +public enum WechatPayV3Type +extends Enum<WechatPayV3Type>+
| 枚举常量和说明 | +
|---|
APP
+微信APP支付.
+ |
+
CERT
+获取证书.
+ |
+
CLOSE
+关闭订单.
+ |
+
FILE_DOWNLOAD
+文件下载
+ |
+
JSAPI
+微信公众号支付或者小程序支付.
+ |
+
MARKETING_FAVOR_CALLBACKS
+设置核销回调通知API.
+ |
+
MARKETING_FAVOR_STOCKS
+条件查询批次列表API.
+ |
+
MARKETING_FAVOR_STOCKS_COUPON_STOCKS
+创建代金券批次API.
+ |
+
MARKETING_FAVOR_STOCKS_DETAIL
+查询批次详情API.
+ |
+
MARKETING_FAVOR_STOCKS_ITEMS
+查询代金券可用单品API.
+ |
+
MARKETING_FAVOR_STOCKS_MERCHANTS
+查询代金券可用商户API.
+ |
+
MARKETING_FAVOR_STOCKS_PAUSE
+暂停代金券批次API.
+ |
+
MARKETING_FAVOR_STOCKS_REFUND_FLOW
+下载批次退款明细API.
+ |
+
MARKETING_FAVOR_STOCKS_RESTART
+重启代金券API.
+ |
+
MARKETING_FAVOR_STOCKS_START
+激活代金券批次API.
+ |
+
MARKETING_FAVOR_STOCKS_USE_FLOW
+下载批次核销明细API.
+ |
+
MARKETING_FAVOR_USERS_COUPONS
+发放代金券API、根据商户号查用户的券.
+ |
+
MARKETING_FAVOR_USERS_COUPONS_DETAIL
+查询代金券详情API
+ |
+
MARKETING_IMAGE_UPLOAD
+营销图片上传API.
+ |
+
MWEB
+H5支付.
+ |
+
NATIVE
+微信扫码支付.
+ |
+
TRANSACTION_OUT_TRADE_NO
+商户订单号查询.
+ |
+
TRANSACTION_TRANSACTION_ID
+微信支付订单号查询.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private org.springframework.http.HttpMethod |
+method |
+
private String |
+pattern |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
org.springframework.http.HttpMethod |
+method()
+Method string.
+ |
+
String |
+pattern()
+Pattern string.
+ |
+
String |
+uri(WeChatServer weChatServer)
+默认支付URI.
+ |
+
static WechatPayV3Type |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static WechatPayV3Type[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final WechatPayV3Type CERT+
public static final WechatPayV3Type FILE_DOWNLOAD+
public static final WechatPayV3Type JSAPI+
public static final WechatPayV3Type NATIVE+
public static final WechatPayV3Type APP+
public static final WechatPayV3Type MWEB+
public static final WechatPayV3Type CLOSE+
public static final WechatPayV3Type TRANSACTION_TRANSACTION_ID+
public static final WechatPayV3Type TRANSACTION_OUT_TRADE_NO+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_COUPON_STOCKS+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_START+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_PAUSE+
public static final WechatPayV3Type MARKETING_FAVOR_USERS_COUPONS+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_RESTART+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_DETAIL+
public static final WechatPayV3Type MARKETING_FAVOR_USERS_COUPONS_DETAIL+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_MERCHANTS+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_ITEMS+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_USE_FLOW+
public static final WechatPayV3Type MARKETING_FAVOR_STOCKS_REFUND_FLOW+
public static final WechatPayV3Type MARKETING_IMAGE_UPLOAD+
public static final WechatPayV3Type MARKETING_FAVOR_CALLBACKS+
private final String pattern+
private final org.springframework.http.HttpMethod method+
public static WechatPayV3Type[] values()+
+for (WechatPayV3Type c : WechatPayV3Type.values()) + System.out.println(c); +
public static WechatPayV3Type valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public org.springframework.http.HttpMethod method()+
public String pattern()+
public String uri(WeChatServer weChatServer)+
weChatServer - the we chat serverCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/BankCode.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/BankCode.html new file mode 100644 index 0000000..5926d5a --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/BankCode.html @@ -0,0 +1,175 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static BankCode |
+BankCode.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static BankCode[] |
+BankCode.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/CouponBgColor.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/CouponBgColor.html new file mode 100644 index 0000000..1f30110 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/CouponBgColor.html @@ -0,0 +1,199 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static CouponBgColor |
+CouponBgColor.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static CouponBgColor[] |
+CouponBgColor.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private CouponBgColor |
+PatternInfo.backgroundColor
+背景色
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/CouponStatus.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/CouponStatus.html new file mode 100644 index 0000000..5b02d49 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/CouponStatus.html @@ -0,0 +1,175 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static CouponStatus |
+CouponStatus.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static CouponStatus[] |
+CouponStatus.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/StockStatus.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/StockStatus.html new file mode 100644 index 0000000..5567061 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/StockStatus.html @@ -0,0 +1,201 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static StockStatus |
+StockStatus.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static StockStatus[] |
+StockStatus.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private StockStatus |
+StocksQueryParams.status
+根据API而定
+
+ 批次状态,只对条件查询批次列表API
+WechatMarketingFavorApi.queryStocksByMch(StocksQueryParams)有效。 |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/TradeState.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/TradeState.html new file mode 100644 index 0000000..048e690 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/TradeState.html @@ -0,0 +1,175 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static TradeState |
+TradeState.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static TradeState[] |
+TradeState.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/TradeType.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/TradeType.html new file mode 100644 index 0000000..0618f3b --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/TradeType.html @@ -0,0 +1,175 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static TradeType |
+TradeType.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static TradeType[] |
+TradeType.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/WeChatServer.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/WeChatServer.html new file mode 100644 index 0000000..ae81b98 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/WeChatServer.html @@ -0,0 +1,190 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static WeChatServer |
+WeChatServer.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static WeChatServer[] |
+WeChatServer.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
String |
+WechatPayV3Type.uri(WeChatServer weChatServer)
+默认支付URI.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/WechatPayV3Type.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/WechatPayV3Type.html new file mode 100644 index 0000000..3bbaabc --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/class-use/WechatPayV3Type.html @@ -0,0 +1,331 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static WechatPayV3Type |
+WechatPayV3Type.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static WechatPayV3Type[] |
+WechatPayV3Type.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private WechatPayV3Type |
+WechatPayClient.Executor.wechatPayV3Type
+The V3 pay type.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private BiFunction<WechatPayV3Type,M,org.springframework.http.RequestEntity<?>> |
+WechatPayClient.Executor.requestEntityBiFunction
+The Request entity bi function.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.billDownloadFunction(WechatPayV3Type type,
+ String link) |
+
private org.springframework.http.RequestEntity<?> |
+WechatDirectPayApi.closeByOutTradeNoFunction(WechatPayV3Type type,
+ String outTradeNo) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.couponDetailFunction(WechatPayV3Type type,
+ CouponDetailsQueryParams params) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.createStocksFunction(WechatPayV3Type type,
+ StocksCreateParams params) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.downloadFlowFunction(WechatPayV3Type type,
+ String stockId) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.marketingImageUploadFunction(WechatPayV3Type type,
+ org.springframework.web.multipart.MultipartFile file) |
+
private org.springframework.http.RequestEntity<?> |
+WechatDirectPayApi.payFunction(WechatPayV3Type type,
+ PayParams payParams) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.queryStocksFunction(WechatPayV3Type type,
+ StocksQueryParams params) |
+
private org.springframework.http.RequestEntity<?> |
+WechatDirectPayApi.queryTransactionFunction(WechatPayV3Type type,
+ TransactionQueryParams params) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.queryUserCouponsFunction(WechatPayV3Type type,
+ UserCouponsQueryParams params) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.sendStocksFunction(WechatPayV3Type type,
+ StocksSendParams params) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.setMarketingFavorCallbackFunction(WechatPayV3Type type,
+ String notifyUrl) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.startAndRestartAndPauseStockFunction(WechatPayV3Type type,
+ String stockId) |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.stockDetailFunction(WechatPayV3Type type,
+ String stockId) |
+
<M> WechatPayClient.Executor<M> |
+WechatPayClient.withType(WechatPayV3Type wechatPayV3Type,
+ M m)
+
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayClient.Executor<M> |
+WechatPayClient.Executor.function(BiFunction<WechatPayV3Type,M,org.springframework.http.RequestEntity<?>> requestEntityBiFunction)
+Function executor.
+ |
+
| 构造器和说明 | +
|---|
Executor(WechatPayV3Type wechatPayV3Type,
+ M model,
+ SignatureProvider signatureProvider,
+ org.springframework.web.client.RestOperations restOperations)
+Instantiates a new Executor.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/package-frame.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/package-frame.html new file mode 100644 index 0000000..01c7e8e --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/package-frame.html @@ -0,0 +1,28 @@ + + + + + + +| 枚举 | +说明 | +
|---|---|
| BankCode | +
+ The enum Bank code.
+ |
+
| CouponBgColor | +
+ 优惠券背景色
+
+ https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml#menu1
+ |
+
| CouponStatus | +
+ The enum Coupon status.
+ |
+
| StockStatus | +
+ The enum Stock status.
+ |
+
| TradeState | +
+ 微信侧返回交易状态
+ |
+
| TradeType | +
+ 微信侧返回交易类型
+ |
+
| WechatPayV3Type | +
+ The Wechat Pay V3 type.
+ |
+
| WeChatServer | +
+ The enum We chat server domain.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/package-tree.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/package-tree.html new file mode 100644 index 0000000..effe122 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/package-tree.html @@ -0,0 +1,150 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/enumeration/package-use.html b/docs/apidocs/cn/felord/payment/wechat/enumeration/package-use.html new file mode 100644 index 0000000..b7fefca --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/enumeration/package-use.html @@ -0,0 +1,247 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.enumeration | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| cn.felord.payment.wechat.v3.model | ++ |
| 类和说明 | +
|---|
| BankCode
+ The enum Bank code.
+ |
+
| CouponBgColor
+ 优惠券背景色
+
+ https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml#menu1
+ |
+
| CouponStatus
+ The enum Coupon status.
+ |
+
| StockStatus
+ The enum Stock status.
+ |
+
| TradeState
+ 微信侧返回交易状态
+ |
+
| TradeType
+ 微信侧返回交易类型
+ |
+
| WechatPayV3Type
+ The Wechat Pay V3 type.
+ |
+
| WeChatServer
+ The enum We chat server domain.
+ |
+
| 类和说明 | +
|---|
| WechatPayV3Type
+ The Wechat Pay V3 type.
+ |
+
| 类和说明 | +
|---|
| CouponBgColor
+ 优惠券背景色
+
+ https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/convention/chapter3_1.shtml#menu1
+ |
+
| StockStatus
+ The enum Stock status.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/package-frame.html b/docs/apidocs/cn/felord/payment/wechat/package-frame.html new file mode 100644 index 0000000..2cbd263 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/package-frame.html @@ -0,0 +1,24 @@ + + + + + + +| 类 | +说明 | +
|---|---|
| WechatPayConfiguration | +
+ The type Wechat pay configuration.
+ |
+
| WechatPayProperties | +
+ The type Wechat pay properties.
+ |
+
| WechatPayProperties.V3 | +
+ wechat pay v3 properties.
+ |
+
| WechatPayResponseErrorHandler | ++ |
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/package-tree.html b/docs/apidocs/cn/felord/payment/wechat/package-tree.html new file mode 100644 index 0000000..297a692 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/package-tree.html @@ -0,0 +1,146 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/package-use.html b/docs/apidocs/cn/felord/payment/wechat/package-use.html new file mode 100644 index 0000000..a510fcf --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/package-use.html @@ -0,0 +1,187 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| 类和说明 | +
|---|
| WechatPayProperties
+ The type Wechat pay properties.
+ |
+
| WechatPayProperties.V3
+ wechat pay v3 properties.
+ |
+
| 类和说明 | +
|---|
| WechatPayProperties.V3
+ wechat pay v3 properties.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/AbstractApi.html b/docs/apidocs/cn/felord/payment/wechat/v3/AbstractApi.html new file mode 100644 index 0000000..0a5c8d1 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/AbstractApi.html @@ -0,0 +1,503 @@ + + + + + + +public abstract class AbstractApi +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private com.fasterxml.jackson.databind.ObjectMapper |
+mapper |
+
private String |
+tenantId |
+
private WechatPayClient |
+wechatPayClient |
+
| 构造器和说明 | +
|---|
AbstractApi(WechatPayClient wechatPayClient,
+ String tenantId)
+Instantiates a new Abstract api.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private void |
+applyObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) |
+
WechatPayClient |
+client()
+Client wechat pay client.
+ |
+
WechatMetaContainer |
+container()
+Container wechat meta container.
+ |
+
protected org.springframework.http.RequestEntity<?> |
+Get(URI uri)
+Get request entity.
+ |
+
com.fasterxml.jackson.databind.ObjectMapper |
+getMapper()
+Gets mapper.
+ |
+
protected org.springframework.http.RequestEntity<?> |
+Post(URI uri,
+ Object params)
+Post request entity.
+ |
+
String |
+tenantId()
+Tenant id string.
+ |
+
WechatMetaBean |
+wechatMetaBean()
+Wechat meta bean wechat meta bean.
+ |
+
private final com.fasterxml.jackson.databind.ObjectMapper mapper+
private final WechatPayClient wechatPayClient+
private final String tenantId+
public AbstractApi(WechatPayClient wechatPayClient, + String tenantId)+
wechatPayClient - the wechat pay clienttenantId - the tenant idprivate void applyObjectMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)+
public com.fasterxml.jackson.databind.ObjectMapper getMapper()+
public WechatPayClient client()+
public String tenantId()+
public WechatMetaContainer container()+
public WechatMetaBean wechatMetaBean()+
protected org.springframework.http.RequestEntity<?> Post(URI uri, + Object params)+
uri - the uriparams - the paramsprotected org.springframework.http.RequestEntity<?> Get(URI uri)+
uri - the uriCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage.html b/docs/apidocs/cn/felord/payment/wechat/v3/ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage.html new file mode 100644 index 0000000..7bc22af --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage.html @@ -0,0 +1,447 @@ + + + + + + +private static class ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage +extends Object +implements org.springframework.http.HttpOutputMessage+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Charset |
+charset
+The Charset.
+ |
+
private org.springframework.http.HttpHeaders |
+headers
+The Headers.
+ |
+
private boolean |
+headersWritten
+The Headers written.
+ |
+
private OutputStream |
+outputStream
+The Output stream.
+ |
+
| 构造器和说明 | +
|---|
MultipartHttpOutputMessage(OutputStream outputStream,
+ Charset charset)
+Instantiates a new Multipart http output message.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
OutputStream |
+getBody() |
+
private byte[] |
+getBytes(String name)
+Get bytes byte [ ].
+ |
+
org.springframework.http.HttpHeaders |
+getHeaders() |
+
private void |
+writeHeaders()
+Write headers.
+ |
+
private final OutputStream outputStream+
private final Charset charset+
private final org.springframework.http.HttpHeaders headers+
private boolean headersWritten+
public MultipartHttpOutputMessage(OutputStream outputStream, + Charset charset)+
outputStream - the output streamcharset - the charsetpublic org.springframework.http.HttpHeaders getHeaders()+
getHeaders 在接口中 org.springframework.http.HttpMessagepublic OutputStream getBody() + throws IOException+
getBody 在接口中 org.springframework.http.HttpOutputMessageIOExceptionprivate void writeHeaders() + throws IOException+
IOException - the io exceptionprivate byte[] getBytes(String name)+
name - the nameCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/ExtensionFormHttpMessageConverter.html b/docs/apidocs/cn/felord/payment/wechat/v3/ExtensionFormHttpMessageConverter.html new file mode 100644 index 0000000..4875d8b --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/ExtensionFormHttpMessageConverter.html @@ -0,0 +1,750 @@ + + + + + + +final class ExtensionFormHttpMessageConverter
+extends org.springframework.http.converter.FormHttpMessageConverter
+AllEncompassingFormHttpMessageConverter| 限定符和类型 | +类和说明 | +
|---|---|
private static class |
+ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage
+The type Multipart http output message.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private static String |
+BOUNDARY
+The constant BOUNDARY.
+ |
+
private static boolean |
+gsonPresent
+The constant gsonPresent.
+ |
+
private static boolean |
+jackson2Present
+The constant jackson2Present.
+ |
+
private static boolean |
+jackson2SmilePresent
+The constant jackson2SmilePresent.
+ |
+
private static boolean |
+jackson2XmlPresent
+The constant jackson2XmlPresent.
+ |
+
private static boolean |
+jaxb2Present
+The constant jaxb2Present.
+ |
+
private static boolean |
+jsonbPresent
+The constant jsonbPresent.
+ |
+
private List<org.springframework.http.converter.HttpMessageConverter<?>> |
+partConverters
+The Part converters.
+ |
+
DEFAULT_CHARSET| 构造器和说明 | +
|---|
ExtensionFormHttpMessageConverter()
+Instantiates a new Upload http message converter.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private void |
+applyDefaultCharset()
+Apply the configured charset as a default to registered part converters.
+ |
+
private org.springframework.http.MediaType |
+getMediaType(org.springframework.http.MediaType mediaType)
+Gets media type.
+ |
+
private boolean |
+isMultipart(org.springframework.util.MultiValueMap<String,?> map,
+ org.springframework.http.MediaType contentType)
+Is multipart boolean.
+ |
+
void |
+write(org.springframework.util.MultiValueMap<String,?> map,
+ org.springframework.http.MediaType contentType,
+ org.springframework.http.HttpOutputMessage outputMessage) |
+
private void |
+writeBoundary(OutputStream os,
+ byte[] boundary)
+Write boundary.
+ |
+
private static void |
+writeEnd(OutputStream os,
+ byte[] boundary)
+Write end.
+ |
+
private void |
+writeForm(org.springframework.util.MultiValueMap<String,Object> formData,
+ org.springframework.http.MediaType contentType,
+ org.springframework.http.HttpOutputMessage outputMessage)
+Write form.
+ |
+
private void |
+writeMultipart(org.springframework.util.MultiValueMap<String,Object> parts,
+ org.springframework.http.HttpOutputMessage outputMessage)
+Write multipart.
+ |
+
private static void |
+writeNewLine(OutputStream os)
+Write new line.
+ |
+
private void |
+writePart(String name,
+ org.springframework.http.HttpEntity<?> partEntity,
+ OutputStream os)
+Write part.
+ |
+
private void |
+writeParts(OutputStream os,
+ org.springframework.util.MultiValueMap<String,Object> parts,
+ byte[] boundary)
+Write parts.
+ |
+
addPartConverter, addSupportedMediaTypes, canRead, canWrite, generateMultipartBoundary, getFilename, getFormContentType, getHttpEntity, getPartConverters, getSupportedMediaTypes, read, serializeForm, setCharset, setMultipartCharset, setPartConverters, setSupportedMediaTypesprivate static final boolean jaxb2Present+
private static final boolean jackson2Present+
private static final boolean jackson2XmlPresent+
private static final boolean jackson2SmilePresent+
private static final boolean gsonPresent+
private static final boolean jsonbPresent+
private final List<org.springframework.http.converter.HttpMessageConverter<?>> partConverters+
public ExtensionFormHttpMessageConverter()+
private void applyDefaultCharset()+
public void write(org.springframework.util.MultiValueMap<String,?> map, + @Nullable + org.springframework.http.MediaType contentType, + org.springframework.http.HttpOutputMessage outputMessage) + throws IOException, + org.springframework.http.converter.HttpMessageNotWritableException+
write 在接口中 org.springframework.http.converter.HttpMessageConverter<org.springframework.util.MultiValueMap<String,?>>write 在类中 org.springframework.http.converter.FormHttpMessageConverterIOExceptionorg.springframework.http.converter.HttpMessageNotWritableExceptionprivate boolean isMultipart(org.springframework.util.MultiValueMap<String,?> map, + @Nullable + org.springframework.http.MediaType contentType)+
map - the mapcontentType - the content typeprivate void writeForm(org.springframework.util.MultiValueMap<String,Object> formData, + @Nullable + org.springframework.http.MediaType contentType, + org.springframework.http.HttpOutputMessage outputMessage) + throws IOException+
formData - the form datacontentType - the content typeoutputMessage - the output messageIOException - the io exceptionprivate org.springframework.http.MediaType getMediaType(@Nullable + org.springframework.http.MediaType mediaType)+
mediaType - the media typeprivate void writeMultipart(org.springframework.util.MultiValueMap<String,Object> parts, + org.springframework.http.HttpOutputMessage outputMessage) + throws IOException+
parts - the partsoutputMessage - the output messageIOException - the io exceptionprivate void writeParts(OutputStream os, + org.springframework.util.MultiValueMap<String,Object> parts, + byte[] boundary) + throws IOException+
os - the osparts - the partsboundary - the boundaryIOException - the io exceptionprivate void writePart(String name, + org.springframework.http.HttpEntity<?> partEntity, + OutputStream os) + throws IOException+
name - the namepartEntity - the part entityos - the osIOException - the io exceptionprivate void writeBoundary(OutputStream os, + byte[] boundary) + throws IOException+
os - the osboundary - the boundaryIOException - the io exceptionprivate static void writeEnd(OutputStream os, + byte[] boundary) + throws IOException+
os - the osboundary - the boundaryIOException - the io exceptionprivate static void writeNewLine(OutputStream os) + throws IOException+
os - the osIOException - the io exceptionCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/KeyPairFactory.html b/docs/apidocs/cn/felord/payment/wechat/v3/KeyPairFactory.html new file mode 100644 index 0000000..01ea494 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/KeyPairFactory.html @@ -0,0 +1,344 @@ + + + + + + +public class KeyPairFactory +extends Object+
| 构造器和说明 | +
|---|
KeyPairFactory() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/SignatureProvider.html b/docs/apidocs/cn/felord/payment/wechat/v3/SignatureProvider.html new file mode 100644 index 0000000..89c64dc --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/SignatureProvider.html @@ -0,0 +1,553 @@ + + + + + + +public class SignatureProvider +extends Object+
+ 我方请求微信服务器时,需要根据我方的API证书对参数进行加签;微信服务器会根据我方签名验签以确定请求来自我方服务器; +
+ 然后微信服务器响应我方请求并在响应报文中使用【微信平台证书】加签 我方需要根据规则验签是否响应来自微信支付服务器 +
+ 其中【微信平台证书】定期会进行更新,不受我方管控,我方需要适当的时候获取最新的证书列表。
| 限定符和类型 | +字段和说明 | +
|---|---|
private static Map<String,Certificate> |
+CERTIFICATE_MAP
+微信平台证书容器 key = 序列号 value = 证书对象
+ |
+
private static org.springframework.util.IdGenerator |
+ID_GENERATOR
+The constant ID_GENERATOR.
+ |
+
private org.springframework.web.client.RestOperations |
+restOperations
+The Rest operations.
+ |
+
private static String |
+SCHEMA
+The constant SCHEMA.
+ |
+
static String |
+TOKEN_PATTERN
+The constant TOKEN_PATTERN.
+ |
+
private WechatMetaContainer |
+wechatMetaContainer
+The Wechat meta container.
+ |
+
| 构造器和说明 | +
|---|
SignatureProvider(WechatMetaContainer wechatMetaContainer)
+Instantiates a new Signature provider.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private String |
+createSign(String... components)
+请求时设置签名 组件
+ |
+
String |
+decryptResponseBody(String tenantId,
+ String associatedData,
+ String nonce,
+ String ciphertext)
+解密响应体.
+ |
+
private void |
+refreshCertificate(String tenantId)
+当我方服务器不存在平台证书或者证书同当前响应报文中的证书序列号不一致时应当刷新 调用/v3/certificates
+ |
+
String |
+requestSign(String tenantId,
+ String method,
+ String canonicalUrl,
+ String body)
+我方请求时加签,使用API证书.
+ |
+
boolean |
+responseSignVerify(ResponseSignVerifyParams params)
+我方对响应验签,和应答签名做比较,使用微信平台证书.
+ |
+
WechatMetaContainer |
+wechatMetaContainer()
+Wechat meta container.
+ |
+
private static final org.springframework.util.IdGenerator ID_GENERATOR+
public static final String TOKEN_PATTERN+
private static final Map<String,Certificate> CERTIFICATE_MAP+
private final org.springframework.web.client.RestOperations restOperations+
private final WechatMetaContainer wechatMetaContainer+
public SignatureProvider(WechatMetaContainer wechatMetaContainer)+
wechatMetaContainer - the wechat meta containerpublic String requestSign(String tenantId, + String method, + String canonicalUrl, + String body)+
tenantId - the properties keymethod - the methodcanonicalUrl - the canonical urlbody - the bodypublic boolean responseSignVerify(ResponseSignVerifyParams params)+
params - the paramsprivate void refreshCertificate(String tenantId)+
tenantId - tenantIdpublic String decryptResponseBody(String tenantId, + String associatedData, + String nonce, + String ciphertext)+
tenantId - the properties keyassociatedData - the associated datanonce - the nonceciphertext - the ciphertextpublic WechatMetaContainer wechatMetaContainer()+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatApiProvider.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatApiProvider.html new file mode 100644 index 0000000..1db1741 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatApiProvider.html @@ -0,0 +1,376 @@ + + + + + + +public class WechatApiProvider +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private WechatPayClient |
+wechatPayClient |
+
| 构造器和说明 | +
|---|
WechatApiProvider(WechatPayClient wechatPayClient)
+Instantiates a new Wechat api provider.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayCallback |
+callback(String tenantId)
+回调.
+ |
+
WechatDirectPayApi |
+directPayApi(String tenantId)
+普通支付-直连模式.
+ |
+
WechatMarketingFavorApi |
+favorApi(String tenantId)
+代金券.
+ |
+
private final WechatPayClient wechatPayClient+
public WechatApiProvider(WechatPayClient wechatPayClient)+
wechatPayClient - the wechat pay clientpublic WechatMarketingFavorApi favorApi(String tenantId)+
tenantId - the tenant idpublic WechatDirectPayApi directPayApi(String tenantId)+
tenantId - the tenant idpublic WechatPayCallback callback(String tenantId)+
tenantId - the tenant idCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatDirectPayApi.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatDirectPayApi.html new file mode 100644 index 0000000..a1475f8 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatDirectPayApi.html @@ -0,0 +1,488 @@ + + + + + + +public class WechatDirectPayApi +extends AbstractApi+
| 构造器和说明 | +
|---|
WechatDirectPayApi(WechatPayClient wechatPayClient,
+ String tenantId)
+Instantiates a new Wechat pay api.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+appPay(PayParams payParams)
+APP下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+closeByOutTradeNo(String outTradeNo)
+关单API
+ |
+
private org.springframework.http.RequestEntity<?> |
+closeByOutTradeNoFunction(WechatPayV3Type type,
+ String outTradeNo) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+h5Pay(PayParams payParams)
+H5下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+jsPay(PayParams payParams)
+JSAPI/小程序下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+nativePay(PayParams payParams)
+Native下单API
+ |
+
private org.springframework.http.RequestEntity<?> |
+payFunction(WechatPayV3Type type,
+ PayParams payParams) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryTransactionById(TransactionQueryParams params)
+微信支付订单号查询API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryTransactionByOutTradeNo(TransactionQueryParams params)
+商户订单号查询API
+ |
+
private org.springframework.http.RequestEntity<?> |
+queryTransactionFunction(WechatPayV3Type type,
+ TransactionQueryParams params) |
+
client, container, Get, getMapper, Post, tenantId, wechatMetaBeanpublic WechatDirectPayApi(WechatPayClient wechatPayClient, + String tenantId)+
wechatPayClient - the wechat pay clienttenantId - the tenant idpublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> appPay(PayParams payParams)+
payParams - the pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> jsPay(PayParams payParams)+
payParams - the pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> nativePay(PayParams payParams)+
payParams - the pay paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> h5Pay(PayParams payParams)+
payParams - the pay paramsprivate org.springframework.http.RequestEntity<?> payFunction(WechatPayV3Type type, + PayParams payParams)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryTransactionById(TransactionQueryParams params)+
params - the paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryTransactionByOutTradeNo(TransactionQueryParams params)+
params - the paramsprivate org.springframework.http.RequestEntity<?> queryTransactionFunction(WechatPayV3Type type, + TransactionQueryParams params)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> closeByOutTradeNo(String outTradeNo)+
outTradeNo - the out trade noprivate org.springframework.http.RequestEntity<?> closeByOutTradeNoFunction(WechatPayV3Type type, + String outTradeNo)+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatMarketingFavorApi.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatMarketingFavorApi.html new file mode 100644 index 0000000..f2645d7 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatMarketingFavorApi.html @@ -0,0 +1,791 @@ + + + + + + +public class WechatMarketingFavorApi +extends AbstractApi+
| 构造器和说明 | +
|---|
WechatMarketingFavorApi(WechatPayClient wechatPayClient,
+ String tenantId) |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
String |
+billDownload(String link) |
+
private org.springframework.http.RequestEntity<?> |
+billDownloadFunction(WechatPayV3Type type,
+ String link) |
+
private org.springframework.http.RequestEntity<?> |
+couponDetailFunction(WechatPayV3Type type,
+ CouponDetailsQueryParams params) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+createStock(StocksCreateParams params)
+创建代金券批次API
+ |
+
private org.springframework.http.RequestEntity<?> |
+createStocksFunction(WechatPayV3Type type,
+ StocksCreateParams params) |
+
private org.springframework.http.RequestEntity<?> |
+downloadFlowFunction(WechatPayV3Type type,
+ String stockId) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+downloadStockRefundFlow(String stockId)
+下载批次退款明细API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+downloadStockUseFlow(String stockId)
+下载批次核销明细API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+marketingImageUpload(org.springframework.web.multipart.MultipartFile file)
+营销图片上传API
+ |
+
private org.springframework.http.RequestEntity<?> |
+marketingImageUploadFunction(WechatPayV3Type type,
+ org.springframework.web.multipart.MultipartFile file) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+pauseStock(String stockId)
+暂停代金券批次API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryCouponDetails(CouponDetailsQueryParams params)
+查询代金券详情API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryMerchantsByStockId(StocksQueryParams params)
+查询代金券可用商户API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryStockDetail(String stockId)
+查询批次详情API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryStockItems(StocksQueryParams params)
+查询代金券可用单品API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryStocksByMch(StocksQueryParams params)
+条件查询批次列表API
+ |
+
private org.springframework.http.RequestEntity<?> |
+queryStocksFunction(WechatPayV3Type type,
+ StocksQueryParams params) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+queryUserCouponsByMchId(UserCouponsQueryParams params)
+根据商户号查用户的券API
+ |
+
private org.springframework.http.RequestEntity<?> |
+queryUserCouponsFunction(WechatPayV3Type type,
+ UserCouponsQueryParams params) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+restartStock(String stockId)
+重启代金券批次API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+sendStock(StocksSendParams params)
+发放代金券API
+ |
+
private org.springframework.http.RequestEntity<?> |
+sendStocksFunction(WechatPayV3Type type,
+ StocksSendParams params) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+setMarketingFavorCallback(String notifyUrl)
+代金券核销回调通知API
+ |
+
private org.springframework.http.RequestEntity<?> |
+setMarketingFavorCallbackFunction(WechatPayV3Type type,
+ String notifyUrl) |
+
private org.springframework.http.RequestEntity<?> |
+startAndRestartAndPauseStockFunction(WechatPayV3Type type,
+ String stockId) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+startStock(String stockId)
+激活代金券批次API
+ |
+
private org.springframework.http.RequestEntity<?> |
+stockDetailFunction(WechatPayV3Type type,
+ String stockId) |
+
client, container, Get, getMapper, Post, tenantId, wechatMetaBeanpublic WechatMarketingFavorApi(WechatPayClient wechatPayClient, + String tenantId)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> createStock(StocksCreateParams params)+
params - the paramsprivate org.springframework.http.RequestEntity<?> createStocksFunction(WechatPayV3Type type, + StocksCreateParams params)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> startStock(String stockId)+
stockId - the stock idpublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> sendStock(StocksSendParams params)+
params - the paramsprivate org.springframework.http.RequestEntity<?> sendStocksFunction(WechatPayV3Type type, + StocksSendParams params)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> pauseStock(String stockId)+
stockId - the stock idpublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> restartStock(String stockId)+
stockId - the stock idprivate org.springframework.http.RequestEntity<?> startAndRestartAndPauseStockFunction(WechatPayV3Type type, + String stockId)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryStocksByMch(StocksQueryParams params)+
params - the paramsprivate org.springframework.http.RequestEntity<?> queryStocksFunction(WechatPayV3Type type, + StocksQueryParams params)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryStockDetail(String stockId)+
stockId - the stock idprivate org.springframework.http.RequestEntity<?> stockDetailFunction(WechatPayV3Type type, + String stockId)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryCouponDetails(CouponDetailsQueryParams params)+
params - the paramsprivate org.springframework.http.RequestEntity<?> couponDetailFunction(WechatPayV3Type type, + CouponDetailsQueryParams params)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryMerchantsByStockId(StocksQueryParams params)+
params - the paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryStockItems(StocksQueryParams params)+
params - the paramspublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> queryUserCouponsByMchId(UserCouponsQueryParams params)+
params - the paramsprivate org.springframework.http.RequestEntity<?> queryUserCouponsFunction(WechatPayV3Type type, + UserCouponsQueryParams params)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> downloadStockUseFlow(String stockId)+
stockId - the stock idpublic WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> downloadStockRefundFlow(String stockId)+
stockId - the stock idprivate org.springframework.http.RequestEntity<?> downloadFlowFunction(WechatPayV3Type type, + String stockId)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> marketingImageUpload(org.springframework.web.multipart.MultipartFile file)+
file - the fileprivate org.springframework.http.RequestEntity<?> marketingImageUploadFunction(WechatPayV3Type type, + org.springframework.web.multipart.MultipartFile file)+
public WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> setMarketingFavorCallback(String notifyUrl)+
notifyUrl - the notify urlWechatPayCallback.couponCallback(ResponseSignVerifyParams, Consumer)private org.springframework.http.RequestEntity<?> setMarketingFavorCallbackFunction(WechatPayV3Type type, + String notifyUrl)+
private org.springframework.http.RequestEntity<?> billDownloadFunction(WechatPayV3Type type, + String link)+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatMetaBean.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatMetaBean.html new file mode 100644 index 0000000..9dbdcc1 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatMetaBean.html @@ -0,0 +1,333 @@ + + + + + + +public class WechatMetaBean +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private KeyPair |
+keyPair
+The Key pair.
+ |
+
private String |
+serialNumber
+The Serial number.
+ |
+
private String |
+tenantId
+The Tenant id.
+ |
+
private WechatPayProperties.V3 |
+v3
+The V3.
+ |
+
| 构造器和说明 | +
|---|
WechatMetaBean() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatMetaContainer.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatMetaContainer.html new file mode 100644 index 0000000..694b551 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatMetaContainer.html @@ -0,0 +1,405 @@ + + + + + + +public class WechatMetaContainer +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Set<String> |
+tenantIds |
+
private Map<String,WechatMetaBean> |
+wechatMetaBeanMap |
+
| 构造器和说明 | +
|---|
WechatMetaContainer() |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatMetaBean |
+addWechatMeta(String tenantId,
+ WechatMetaBean wechatMetaBean)
+Add wechat meta boolean.
+ |
+
Set<String> |
+getTenantIds()
+Gets properties keys.
+ |
+
WechatMetaBean |
+getWechatMeta(String tenantId)
+Gets wechat meta.
+ |
+
WechatMetaBean |
+removeWechatMeta(String tenantId)
+Remove wechat meta wechat meta bean.
+ |
+
private final Map<String,WechatMetaBean> wechatMetaBeanMap+
public WechatMetaBean addWechatMeta(String tenantId, + WechatMetaBean wechatMetaBean)+
tenantId - the tenantIdwechatMetaBean - the wechat meta beanpublic WechatMetaBean removeWechatMeta(String tenantId)+
tenantId - the tenantIdpublic WechatMetaBean getWechatMeta(String tenantId)+
tenantId - the tenantIdCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayCallback.EventType.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayCallback.EventType.html new file mode 100644 index 0000000..3c99dd7 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayCallback.EventType.html @@ -0,0 +1,390 @@ + + + + + + +static enum WechatPayCallback.EventType +extends Enum<WechatPayCallback.EventType>+
| 枚举常量和说明 | +
|---|
COUPON
+优惠券核销事件.
+ |
+
TRANSACTION
+支付成功事件.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
static WechatPayCallback.EventType |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static WechatPayCallback.EventType[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final WechatPayCallback.EventType COUPON+
public static final WechatPayCallback.EventType TRANSACTION+
public static WechatPayCallback.EventType[] values()+
+for (WechatPayCallback.EventType c : WechatPayCallback.EventType.values()) + System.out.println(c); +
public static WechatPayCallback.EventType valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayCallback.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayCallback.html new file mode 100644 index 0000000..6ee77ad --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayCallback.html @@ -0,0 +1,427 @@ + + + + + + +public class WechatPayCallback +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
(专用程序包) static class |
+WechatPayCallback.EventType
+事件类型用于处理回调.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private static com.fasterxml.jackson.databind.ObjectMapper |
+MAPPER |
+
private SignatureProvider |
+signatureProvider |
+
private String |
+tenantId |
+
| 构造器和说明 | +
|---|
WechatPayCallback(SignatureProvider signatureProvider,
+ String tenantId)
+Instantiates a new Wechat pay callback.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private String |
+callback(ResponseSignVerifyParams params,
+ WechatPayCallback.EventType eventType) |
+
Map<String,?> |
+couponCallback(ResponseSignVerifyParams params,
+ Consumer<CouponConsumeData> couponConsumeDataConsumer)
+微信支付代金券核销回调.
+ |
+
Map<String,?> |
+transactionCallback(ResponseSignVerifyParams params,
+ Consumer<TransactionConsumeData> couponConsumeDataConsumer)
+微信支付成功回调.
+ |
+
private static final com.fasterxml.jackson.databind.ObjectMapper MAPPER+
private final SignatureProvider signatureProvider+
private final String tenantId+
public WechatPayCallback(SignatureProvider signatureProvider, + String tenantId)+
signatureProvider - the signature providertenantId - the tenant idpublic Map<String,?> couponCallback(ResponseSignVerifyParams params, + Consumer<CouponConsumeData> couponConsumeDataConsumer)+
params - the paramscouponConsumeDataConsumer - the coupon consume data consumerpublic Map<String,?> transactionCallback(ResponseSignVerifyParams params, + Consumer<TransactionConsumeData> couponConsumeDataConsumer)+
+ 无需开发者判断,只有扣款成功微信才会回调此接口
params - the paramscouponConsumeDataConsumer - the coupon consume data consumerprivate String callback(ResponseSignVerifyParams params, + WechatPayCallback.EventType eventType)+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayClient.Executor.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayClient.Executor.html new file mode 100644 index 0000000..b92fb23 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayClient.Executor.html @@ -0,0 +1,556 @@ + + + + + + +M - the type parameterpublic static class WechatPayClient.Executor<M> +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private M |
+model
+The Model.
+ |
+
private BiFunction<WechatPayV3Type,M,org.springframework.http.RequestEntity<?>> |
+requestEntityBiFunction
+The Request entity bi function.
+ |
+
private Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> |
+responseBodyConsumer
+The Response body consumer.
+ |
+
private org.springframework.web.client.RestOperations |
+restOperations
+The Rest operations.
+ |
+
private SignatureProvider |
+signatureProvider
+The Signature provider.
+ |
+
private WechatPayV3Type |
+wechatPayV3Type
+The V3 pay type.
+ |
+
| 构造器和说明 | +
|---|
Executor(WechatPayV3Type wechatPayV3Type,
+ M model,
+ SignatureProvider signatureProvider,
+ org.springframework.web.client.RestOperations restOperations)
+Instantiates a new Executor.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayClient.Executor<M> |
+consumer(Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)
+Consumer executor.
+ |
+
private <T> String |
+doDownload(WechatRequestEntity<T> requestEntity)
+Do download string.
+ |
+
private <T> void |
+doExecute(WechatRequestEntity<T> requestEntity)
+Do execute.
+ |
+
String |
+download()
+Download string.
+ |
+
WechatPayClient.Executor<M> |
+function(BiFunction<WechatPayV3Type,M,org.springframework.http.RequestEntity<?>> requestEntityBiFunction)
+Function executor.
+ |
+
private <T> WechatRequestEntity<T> |
+header(WechatRequestEntity<T> requestEntity)
+构造私钥签名.
+ |
+
void |
+request()
+Request.
+ |
+
private final WechatPayV3Type wechatPayV3Type+
private final org.springframework.web.client.RestOperations restOperations+
private final SignatureProvider signatureProvider+
private final M model+
private BiFunction<WechatPayV3Type,M,org.springframework.http.RequestEntity<?>> requestEntityBiFunction+
private Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer+
Executor(WechatPayV3Type wechatPayV3Type, + M model, + SignatureProvider signatureProvider, + org.springframework.web.client.RestOperations restOperations)+
wechatPayV3Type - the v 3 pay typemodel - the modelsignatureProvider - the signature providerrestOperations - the rest operationspublic WechatPayClient.Executor<M> function(BiFunction<WechatPayV3Type,M,org.springframework.http.RequestEntity<?>> requestEntityBiFunction)+
requestEntityBiFunction - the request entity bifunctionpublic WechatPayClient.Executor<M> consumer(Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)+
responseBodyConsumer - the response body consumerpublic void request()+
public String download()+
private <T> WechatRequestEntity<T> header(WechatRequestEntity<T> requestEntity)+
T - the type parameterrequestEntity - the request entityprivate <T> void doExecute(WechatRequestEntity<T> requestEntity)+
T - the type parameterrequestEntity - the request entityprivate <T> String doDownload(WechatRequestEntity<T> requestEntity)+
T - the type parameterrequestEntity - the request entityCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayClient.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayClient.html new file mode 100644 index 0000000..b8b2406 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatPayClient.html @@ -0,0 +1,415 @@ + + + + + + +public class WechatPayClient +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
static class |
+WechatPayClient.Executor<M>
+The type Executor.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private org.springframework.web.client.RestOperations |
+restOperations
+The Rest operations.
+ |
+
private SignatureProvider |
+signatureProvider
+The Signature provider.
+ |
+
| 构造器和说明 | +
|---|
WechatPayClient(SignatureProvider signatureProvider)
+Instantiates a new Wechat pay service.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private void |
+applyDefaultRestTemplate()
+Apply default rest template.
+ |
+
SignatureProvider |
+signatureProvider()
+Signature provider signature provider.
+ |
+
<M> WechatPayClient.Executor<M> |
+withType(WechatPayV3Type wechatPayV3Type,
+ M m)
+
+ |
+
private final SignatureProvider signatureProvider+
private org.springframework.web.client.RestOperations restOperations+
public WechatPayClient(SignatureProvider signatureProvider)+
signatureProvider - the signature providerpublic <M> WechatPayClient.Executor<M> withType(WechatPayV3Type wechatPayV3Type, + M m)+ +
M - the type parameterwechatPayV3Type - the v 3 pay typem - the mpublic SignatureProvider signatureProvider()+
private void applyDefaultRestTemplate()+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatRequestEntity.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatRequestEntity.html new file mode 100644 index 0000000..63d085f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatRequestEntity.html @@ -0,0 +1,424 @@ + + + + + + +T - the type parameterpublic class WechatRequestEntity<T>
+extends org.springframework.http.RequestEntity<T>
+org.springframework.http.RequestEntity.BodyBuilder, org.springframework.http.RequestEntity.HeadersBuilder<B extends org.springframework.http.RequestEntity.HeadersBuilder<B>>, org.springframework.http.RequestEntity.UriTemplateRequestEntity<T>| 限定符和类型 | +字段和说明 | +
|---|---|
private Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> |
+responseBodyConsumer |
+
EMPTY| 构造器和说明 | +
|---|
WechatRequestEntity(T body,
+ org.springframework.util.MultiValueMap<String,String> headers,
+ org.springframework.http.HttpMethod method,
+ URI url,
+ Type type,
+ Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)
+Instantiates a new Wechat request entity.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatRequestEntity<T> |
+headers(org.springframework.http.HttpHeaders httpHeaders)
+Headers wechat request entity.
+ |
+
static WechatRequestEntity<?> |
+of(org.springframework.http.RequestEntity<?> requestEntity,
+ Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)
+Of wechat request entity.
+ |
+
delete, delete, equals, get, get, getMethod, getType, getUrl, hashCode, head, head, method, method, method, options, options, patch, patch, post, post, put, put, toStringgetBody, getHeaders, hasBodyprivate final Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer+
public WechatRequestEntity(T body, + org.springframework.util.MultiValueMap<String,String> headers, + org.springframework.http.HttpMethod method, + URI url, + Type type, + Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)+
body - the bodyheaders - the headersmethod - the methodurl - the urltype - the typeresponseBodyConsumer - the response body consumerpublic WechatRequestEntity<T> headers(org.springframework.http.HttpHeaders httpHeaders)+
httpHeaders - the http headerspublic static WechatRequestEntity<?> of(org.springframework.http.RequestEntity<?> requestEntity, + Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)+
requestEntity - the request entityresponseBodyConsumer - the response body consumerCopyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/WechatResponseEntity.html b/docs/apidocs/cn/felord/payment/wechat/v3/WechatResponseEntity.html new file mode 100644 index 0000000..ee10184 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/WechatResponseEntity.html @@ -0,0 +1,440 @@ + + + + + + +T - the type parameterpublic class WechatResponseEntity<T> +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private T |
+body |
+
private int |
+httpStatus |
+
| 构造器和说明 | +
|---|
WechatResponseEntity() |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
void |
+convert(org.springframework.http.ResponseEntity<T> responseEntity)
+Convert
+ResponseEntity to WechatResponseEntity. |
+
boolean |
+is1xxInformational()
+Is 1 xx informational boolean.
+ |
+
boolean |
+is2xxSuccessful()
+Is 2xx successful boolean.
+ |
+
boolean |
+is3xxRedirection()
+Is 3xx redirection boolean.
+ |
+
boolean |
+is4xxClientError()
+Is 4xx client error boolean.
+ |
+
boolean |
+is5xxServerError()
+Is 5xx server error boolean.
+ |
+
private int httpStatus+
private T body+
public void convert(org.springframework.http.ResponseEntity<T> responseEntity)+
ResponseEntity to WechatResponseEntity.responseEntity - the response entitypublic boolean is1xxInformational()+
public boolean is2xxSuccessful()+
public boolean is3xxRedirection()+
public boolean is4xxClientError()+
public boolean is5xxServerError()+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/AbstractApi.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/AbstractApi.html new file mode 100644 index 0000000..7e7ae30 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/AbstractApi.html @@ -0,0 +1,174 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +类和说明 | +
|---|---|
class |
+WechatDirectPayApi
+普通支付-直连模式.
+ |
+
class |
+WechatMarketingFavorApi
+微信支付营销代金券API
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage.html new file mode 100644 index 0000000..4c1808d --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/ExtensionFormHttpMessageConverter.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/ExtensionFormHttpMessageConverter.html new file mode 100644 index 0000000..0ee82fa --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/ExtensionFormHttpMessageConverter.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/KeyPairFactory.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/KeyPairFactory.html new file mode 100644 index 0000000..4edc76a --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/KeyPairFactory.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/SignatureProvider.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/SignatureProvider.html new file mode 100644 index 0000000..99c47aa --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/SignatureProvider.html @@ -0,0 +1,259 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
(专用程序包) SignatureProvider |
+WechatPayConfiguration.signatureProvider(WechatMetaContainer wechatMetaContainer)
+微信支付V3签名工具.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayClient |
+WechatPayConfiguration.wechatPayClient(SignatureProvider signatureProvider)
+微信支付V3 客户端.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private SignatureProvider |
+WechatPayCallback.signatureProvider |
+
private SignatureProvider |
+WechatPayClient.signatureProvider
+The Signature provider.
+ |
+
private SignatureProvider |
+WechatPayClient.Executor.signatureProvider
+The Signature provider.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
SignatureProvider |
+WechatPayClient.signatureProvider()
+Signature provider signature provider.
+ |
+
| 构造器和说明 | +
|---|
Executor(WechatPayV3Type wechatPayV3Type,
+ M model,
+ SignatureProvider signatureProvider,
+ org.springframework.web.client.RestOperations restOperations)
+Instantiates a new Executor.
+ |
+
WechatPayCallback(SignatureProvider signatureProvider,
+ String tenantId)
+Instantiates a new Wechat pay callback.
+ |
+
WechatPayClient(SignatureProvider signatureProvider)
+Instantiates a new Wechat pay service.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatApiProvider.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatApiProvider.html new file mode 100644 index 0000000..93b6324 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatApiProvider.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatApiProvider |
+WechatPayConfiguration.wechatApiProvider(WechatPayClient wechatPayClient)
+多租户接口Provider.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatDirectPayApi.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatDirectPayApi.html new file mode 100644 index 0000000..62009f3 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatDirectPayApi.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatDirectPayApi |
+WechatApiProvider.directPayApi(String tenantId)
+普通支付-直连模式.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMarketingFavorApi.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMarketingFavorApi.html new file mode 100644 index 0000000..6fad56c --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMarketingFavorApi.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatMarketingFavorApi |
+WechatApiProvider.favorApi(String tenantId)
+代金券.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMetaBean.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMetaBean.html new file mode 100644 index 0000000..4f447e9 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMetaBean.html @@ -0,0 +1,224 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private Map<String,WechatMetaBean> |
+WechatMetaContainer.wechatMetaBeanMap |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatMetaBean |
+WechatMetaContainer.addWechatMeta(String tenantId,
+ WechatMetaBean wechatMetaBean)
+Add wechat meta boolean.
+ |
+
WechatMetaBean |
+KeyPairFactory.createPKCS12(String keyPath,
+ String keyAlias,
+ String keyPass)
+获取公私钥.
+ |
+
WechatMetaBean |
+WechatMetaContainer.getWechatMeta(String tenantId)
+Gets wechat meta.
+ |
+
WechatMetaBean |
+WechatMetaContainer.removeWechatMeta(String tenantId)
+Remove wechat meta wechat meta bean.
+ |
+
WechatMetaBean |
+AbstractApi.wechatMetaBean()
+Wechat meta bean wechat meta bean.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatMetaBean |
+WechatMetaContainer.addWechatMeta(String tenantId,
+ WechatMetaBean wechatMetaBean)
+Add wechat meta boolean.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMetaContainer.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMetaContainer.html new file mode 100644 index 0000000..7313e77 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatMetaContainer.html @@ -0,0 +1,241 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
(专用程序包) WechatMetaContainer |
+WechatPayConfiguration.wechatMetaContainer(WechatPayProperties wechatPayProperties)
+微信支付公私钥 以及序列号等元数据.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
(专用程序包) SignatureProvider |
+WechatPayConfiguration.signatureProvider(WechatMetaContainer wechatMetaContainer)
+微信支付V3签名工具.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private WechatMetaContainer |
+SignatureProvider.wechatMetaContainer
+The Wechat meta container.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatMetaContainer |
+AbstractApi.container()
+Container wechat meta container.
+ |
+
WechatMetaContainer |
+SignatureProvider.wechatMetaContainer()
+Wechat meta container.
+ |
+
| 构造器和说明 | +
|---|
SignatureProvider(WechatMetaContainer wechatMetaContainer)
+Instantiates a new Signature provider.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayCallback.EventType.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayCallback.EventType.html new file mode 100644 index 0000000..5606048 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayCallback.EventType.html @@ -0,0 +1,189 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
static WechatPayCallback.EventType |
+WechatPayCallback.EventType.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static WechatPayCallback.EventType[] |
+WechatPayCallback.EventType.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private String |
+WechatPayCallback.callback(ResponseSignVerifyParams params,
+ WechatPayCallback.EventType eventType) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayCallback.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayCallback.html new file mode 100644 index 0000000..a1921eb --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayCallback.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayCallback |
+WechatApiProvider.callback(String tenantId)
+回调.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayClient.Executor.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayClient.Executor.html new file mode 100644 index 0000000..887d16f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayClient.Executor.html @@ -0,0 +1,181 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayClient.Executor<M> |
+WechatPayClient.Executor.consumer(Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)
+Consumer executor.
+ |
+
WechatPayClient.Executor<M> |
+WechatPayClient.Executor.function(BiFunction<WechatPayV3Type,M,org.springframework.http.RequestEntity<?>> requestEntityBiFunction)
+Function executor.
+ |
+
<M> WechatPayClient.Executor<M> |
+WechatPayClient.withType(WechatPayV3Type wechatPayV3Type,
+ M m)
+
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayClient.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayClient.html new file mode 100644 index 0000000..a14631e --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatPayClient.html @@ -0,0 +1,253 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayClient |
+WechatPayConfiguration.wechatPayClient(SignatureProvider signatureProvider)
+微信支付V3 客户端.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatApiProvider |
+WechatPayConfiguration.wechatApiProvider(WechatPayClient wechatPayClient)
+多租户接口Provider.
+ |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private WechatPayClient |
+AbstractApi.wechatPayClient |
+
private WechatPayClient |
+WechatApiProvider.wechatPayClient |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatPayClient |
+AbstractApi.client()
+Client wechat pay client.
+ |
+
| 构造器和说明 | +
|---|
AbstractApi(WechatPayClient wechatPayClient,
+ String tenantId)
+Instantiates a new Abstract api.
+ |
+
WechatApiProvider(WechatPayClient wechatPayClient)
+Instantiates a new Wechat api provider.
+ |
+
WechatDirectPayApi(WechatPayClient wechatPayClient,
+ String tenantId)
+Instantiates a new Wechat pay api.
+ |
+
WechatMarketingFavorApi(WechatPayClient wechatPayClient,
+ String tenantId) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatRequestEntity.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatRequestEntity.html new file mode 100644 index 0000000..c3f9271 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatRequestEntity.html @@ -0,0 +1,208 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
private <T> WechatRequestEntity<T> |
+WechatPayClient.Executor.header(WechatRequestEntity<T> requestEntity)
+构造私钥签名.
+ |
+
WechatRequestEntity<T> |
+WechatRequestEntity.headers(org.springframework.http.HttpHeaders httpHeaders)
+Headers wechat request entity.
+ |
+
static WechatRequestEntity<?> |
+WechatRequestEntity.of(org.springframework.http.RequestEntity<?> requestEntity,
+ Consumer<org.springframework.http.ResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode>> responseBodyConsumer)
+Of wechat request entity.
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
private <T> String |
+WechatPayClient.Executor.doDownload(WechatRequestEntity<T> requestEntity)
+Do download string.
+ |
+
private <T> void |
+WechatPayClient.Executor.doExecute(WechatRequestEntity<T> requestEntity)
+Do execute.
+ |
+
private <T> WechatRequestEntity<T> |
+WechatPayClient.Executor.header(WechatRequestEntity<T> requestEntity)
+构造私钥签名.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatResponseEntity.html b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatResponseEntity.html new file mode 100644 index 0000000..4a21040 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/class-use/WechatResponseEntity.html @@ -0,0 +1,294 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.appPay(PayParams payParams)
+APP下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.closeByOutTradeNo(String outTradeNo)
+关单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.createStock(StocksCreateParams params)
+创建代金券批次API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.downloadStockRefundFlow(String stockId)
+下载批次退款明细API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.downloadStockUseFlow(String stockId)
+下载批次核销明细API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.h5Pay(PayParams payParams)
+H5下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.jsPay(PayParams payParams)
+JSAPI/小程序下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.marketingImageUpload(org.springframework.web.multipart.MultipartFile file)
+营销图片上传API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.nativePay(PayParams payParams)
+Native下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.pauseStock(String stockId)
+暂停代金券批次API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryCouponDetails(CouponDetailsQueryParams params)
+查询代金券详情API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryMerchantsByStockId(StocksQueryParams params)
+查询代金券可用商户API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryStockDetail(String stockId)
+查询批次详情API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryStockItems(StocksQueryParams params)
+查询代金券可用单品API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryStocksByMch(StocksQueryParams params)
+条件查询批次列表API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.queryTransactionById(TransactionQueryParams params)
+微信支付订单号查询API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.queryTransactionByOutTradeNo(TransactionQueryParams params)
+商户订单号查询API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryUserCouponsByMchId(UserCouponsQueryParams params)
+根据商户号查用户的券API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.restartStock(String stockId)
+重启代金券批次API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.sendStock(StocksSendParams params)
+发放代金券API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.setMarketingFavorCallback(String notifyUrl)
+代金券核销回调通知API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.startStock(String stockId)
+激活代金券批次API
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/Amount.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/Amount.html new file mode 100644 index 0000000..6424f7d --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/Amount.html @@ -0,0 +1,295 @@ + + + + + + +public class Amount +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/CallbackParams.Resource.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/CallbackParams.Resource.html new file mode 100644 index 0000000..22e8b23 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/CallbackParams.Resource.html @@ -0,0 +1,331 @@ + + + + + + +public static class CallbackParams.Resource +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+algorithm |
+
private String |
+associatedData |
+
private String |
+ciphertext |
+
private String |
+nonce |
+
private String |
+originalType |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/CallbackParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/CallbackParams.html new file mode 100644 index 0000000..412a65d --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/CallbackParams.html @@ -0,0 +1,365 @@ + + + + + + +public class CallbackParams +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
static class |
+CallbackParams.Resource |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+createTime |
+
private String |
+eventType |
+
private String |
+id |
+
private CallbackParams.Resource |
+resource |
+
private String |
+resourceType |
+
private String |
+summary |
+
| 构造器和说明 | +
|---|
CallbackParams() |
+
private String id+
private String createTime+
private String eventType+
private String resourceType+
private String summary+
private CallbackParams.Resource resource+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/ConsumeInformation.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/ConsumeInformation.html new file mode 100644 index 0000000..bb451f7 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/ConsumeInformation.html @@ -0,0 +1,315 @@ + + + + + + +public class ConsumeInformation +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+consumeMchid |
+
private String |
+consumeTime |
+
private List<GoodsDetail> |
+goodsDetail |
+
private String |
+transactionId |
+
| 构造器和说明 | +
|---|
ConsumeInformation() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponAvailableTime.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponAvailableTime.html new file mode 100644 index 0000000..5e7fd29 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponAvailableTime.html @@ -0,0 +1,301 @@ + + + + + + +public class CouponAvailableTime +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+availableTimeAfterReceive |
+
private FixAvailableTime |
+fixAvailableTime |
+
private Boolean |
+secondDayAvailable |
+
| 构造器和说明 | +
|---|
CouponAvailableTime() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponConsumeData.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponConsumeData.html new file mode 100644 index 0000000..3709236 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponConsumeData.html @@ -0,0 +1,471 @@ + + + + + + +public class CouponConsumeData +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+availableBeginTime |
+
private String |
+availableEndTime |
+
private ConsumeInformation |
+consumeInformation |
+
private String |
+couponId |
+
private String |
+couponName |
+
private String |
+couponType |
+
private String |
+createTime |
+
private String |
+description |
+
private DiscountTo |
+discountTo |
+
private boolean |
+noCash |
+
private NormalCouponInformation |
+normalCouponInformation |
+
private boolean |
+singleitem |
+
private SingleitemDiscountOff |
+singleitemDiscountOff |
+
private String |
+status |
+
private String |
+stockCreatorMchid |
+
private String |
+stockId |
+
| 构造器和说明 | +
|---|
CouponConsumeData() |
+
private String availableBeginTime+
private String availableEndTime+
private ConsumeInformation consumeInformation+
private String couponId+
private String couponName+
private String couponType+
private String createTime+
private String description+
private DiscountTo discountTo+
private boolean noCash+
private NormalCouponInformation normalCouponInformation+
private boolean singleitem+
private SingleitemDiscountOff singleitemDiscountOff+
private String status+
private String stockCreatorMchid+
private String stockId+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponDetailsQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponDetailsQueryParams.html new file mode 100644 index 0000000..a60ebc5 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponDetailsQueryParams.html @@ -0,0 +1,305 @@ + + + + + + +public class CouponDetailsQueryParams +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponUseRule.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponUseRule.html new file mode 100644 index 0000000..9111e30 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/CouponUseRule.html @@ -0,0 +1,354 @@ + + + + + + +public class CouponUseRule +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private List<String> |
+availableItems |
+
private List<String> |
+availableMerchants |
+
private Boolean |
+combineUse |
+
private CouponAvailableTime |
+couponAvailableTime |
+
private FixedNormalCoupon |
+fixedNormalCoupon |
+
private List<String> |
+goodsTag |
+
private String |
+tradeType |
+
| 构造器和说明 | +
|---|
CouponUseRule() |
+
private Boolean combineUse+
private CouponAvailableTime couponAvailableTime+
private FixedNormalCoupon fixedNormalCoupon+
private String tradeType+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/Detail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/Detail.html new file mode 100644 index 0000000..eed4a80 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/Detail.html @@ -0,0 +1,316 @@ + + + + + + +public class Detail +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/DiscountTo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/DiscountTo.html new file mode 100644 index 0000000..1773bfd --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/DiscountTo.html @@ -0,0 +1,289 @@ + + + + + + +public class DiscountTo +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+cutToPrice |
+
private Long |
+maxPrice |
+
| 构造器和说明 | +
|---|
DiscountTo() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/FixAvailableTime.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/FixAvailableTime.html new file mode 100644 index 0000000..d81159f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/FixAvailableTime.html @@ -0,0 +1,301 @@ + + + + + + +public class FixAvailableTime +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private List<Long> |
+availableWeekDay |
+
private Long |
+beginTime |
+
private Long |
+endTime |
+
| 构造器和说明 | +
|---|
FixAvailableTime() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/FixedNormalCoupon.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/FixedNormalCoupon.html new file mode 100644 index 0000000..a04a29d --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/FixedNormalCoupon.html @@ -0,0 +1,297 @@ + + + + + + +public class FixedNormalCoupon +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+couponAmount
+面额,单位分
+ |
+
private Long |
+transactionMinimum
+门槛 满M元可用
+ |
+
| 构造器和说明 | +
|---|
FixedNormalCoupon() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/Goods.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/Goods.html new file mode 100644 index 0000000..bdd8b0e --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/Goods.html @@ -0,0 +1,348 @@ + + + + + + +public class Goods +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+goodsName
+商品名称
+ |
+
private String |
+merchantGoodsId
+商户侧商品编码
+ |
+
private int |
+quantity
+商品数量
+ |
+
private int |
+unitPrice
+商品单价
+ |
+
private String |
+wechatpayGoodsId
+微信侧商品编码
+ |
+
private String merchantGoodsId+
private String wechatpayGoodsId+
private String goodsName+
private int quantity+
private int unitPrice+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/GoodsDetail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/GoodsDetail.html new file mode 100644 index 0000000..0787052 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/GoodsDetail.html @@ -0,0 +1,315 @@ + + + + + + +public class GoodsDetail +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/H5Info.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/H5Info.html new file mode 100644 index 0000000..50ff3cb --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/H5Info.html @@ -0,0 +1,348 @@ + + + + + + +public class H5Info +extends Object+
private String type+
private String appName+
private String appUrl+
private String bundleId+
private String packageName+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/NormalCouponInformation.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/NormalCouponInformation.html new file mode 100644 index 0000000..83117db --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/NormalCouponInformation.html @@ -0,0 +1,289 @@ + + + + + + +public class NormalCouponInformation +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+couponAmount |
+
private Long |
+transactionMinimum |
+
| 构造器和说明 | +
|---|
NormalCouponInformation() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/PatternInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/PatternInfo.html new file mode 100644 index 0000000..8c706a8 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/PatternInfo.html @@ -0,0 +1,349 @@ + + + + + + +public class PatternInfo +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private CouponBgColor |
+backgroundColor
+背景色
+ |
+
private String |
+couponImage
+券详情图片
+ |
+
private String |
+description
+使用说明
+ |
+
private String |
+merchantLogo
+商户logo
+ |
+
private String |
+merchantName
+商户名称
+ |
+
| 构造器和说明 | +
|---|
PatternInfo() |
+
private CouponBgColor backgroundColor+
private String couponImage+
private String description+
private String merchantLogo+
private String merchantName+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/PayParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/PayParams.html new file mode 100644 index 0000000..a47fd3e --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/PayParams.html @@ -0,0 +1,458 @@ + + + + + + +public class PayParams +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Amount |
+amount
+支付金额
+ |
+
private String |
+appid |
+
private String |
+attach
+附加数据,在查询API和支付通知中原样返回,可作为自定义参数使用
+ |
+
private String |
+description
+商品描述
+ Image形象店-深圳腾大-QQ公仔
+ |
+
private Detail |
+detail
+优惠功能
+ |
+
private String |
+goodsTag
+订单优惠标记
+ |
+
private String |
+mchid |
+
private String |
+notifyUrl
+通知URL必须为直接可访问的URL,不允许携带查询串。
+ |
+
private String |
+outTradeNo
+商户系统内部订单号,只能是数字、大小写字母_-*且在同一个商户号下唯一,详见【商户订单号】。
+ |
+
private Payer |
+payer
+支付者 JSAPI/小程序下单 必传
+ |
+
private SceneInfo |
+sceneInfo
+场景信息
+ |
+
private String |
+timeExpire
+订单失效时间 YYYY-MM-DDTHH:mm:ss+TIMEZONE
+ |
+
private String appid+
private String mchid+
private String description+
private String outTradeNo+
private String timeExpire+
private String attach+
private String notifyUrl+
private String goodsTag+
private Amount amount+
private Payer payer+
private Detail detail+
private SceneInfo sceneInfo+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/Payer.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/Payer.html new file mode 100644 index 0000000..6848dd4 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/Payer.html @@ -0,0 +1,316 @@ + + + + + + +public class Payer +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/PromotionDetail.GoodsDetail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/PromotionDetail.GoodsDetail.html new file mode 100644 index 0000000..326e2ff --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/PromotionDetail.GoodsDetail.html @@ -0,0 +1,331 @@ + + + + + + +public static class PromotionDetail.GoodsDetail +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+discountAmount |
+
private String |
+goodsId |
+
private String |
+goodsRemark |
+
private Long |
+quantity |
+
private Long |
+unitPrice |
+
| 构造器和说明 | +
|---|
GoodsDetail() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/PromotionDetail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/PromotionDetail.html new file mode 100644 index 0000000..3a4b414 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/PromotionDetail.html @@ -0,0 +1,424 @@ + + + + + + +public class PromotionDetail +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
static class |
+PromotionDetail.GoodsDetail |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+amount |
+
private String |
+couponId |
+
private String |
+currency |
+
private List<PromotionDetail.GoodsDetail> |
+goodsDetail |
+
private Long |
+merchantContribute |
+
private String |
+name |
+
private Long |
+otherContribute |
+
private String |
+scope |
+
private String |
+stockId |
+
private String |
+type |
+
private Long |
+wechatpayContribute |
+
| 构造器和说明 | +
|---|
PromotionDetail() |
+
private Long amount+
private String couponId+
private String currency+
private List<PromotionDetail.GoodsDetail> goodsDetail+
private Long merchantContribute+
private String name+
private Long otherContribute+
private String scope+
private String stockId+
private String type+
private Long wechatpayContribute+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/ResponseSignVerifyParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/ResponseSignVerifyParams.html new file mode 100644 index 0000000..1f1337a --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/ResponseSignVerifyParams.html @@ -0,0 +1,351 @@ + + + + + + +public class ResponseSignVerifyParams +extends Object+
SignatureProvider.responseSignVerify(ResponseSignVerifyParams)| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+body
+response.body 微信服务器的响应体
+ |
+
private String |
+wechatpayNonce
+response.headers['Wechatpay-Nonce'] 微信服务器提供的随机串
+ |
+
private String |
+wechatpaySerial
+response.headers['Wechatpay-Serial'] 当前使用的微信平台证书序列号
+ |
+
private String |
+wechatpaySignature
+response.headers['Wechatpay-Signature'] 微信平台签名
+ |
+
private String |
+wechatpayTimestamp
+response.headers['Wechatpay-Timestamp'] 微信服务器的时间戳
+ |
+
| 构造器和说明 | +
|---|
ResponseSignVerifyParams() |
+
private String wechatpaySerial+
private String wechatpaySignature+
private String wechatpayTimestamp+
private String wechatpayNonce+
private String body+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/SceneInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/SceneInfo.html new file mode 100644 index 0000000..492178c --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/SceneInfo.html @@ -0,0 +1,332 @@ + + + + + + +public class SceneInfo +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/SettleInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/SettleInfo.html new file mode 100644 index 0000000..a77dcf8 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/SettleInfo.html @@ -0,0 +1,300 @@ + + + + + + +public class SettleInfo +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private boolean |
+profitSharing
+是否指定分账
+ |
+
private int |
+subsidyAmount
+补差金额
+ |
+
| 构造器和说明 | +
|---|
SettleInfo() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/SingleitemDiscountOff.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/SingleitemDiscountOff.html new file mode 100644 index 0000000..a0f230c --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/SingleitemDiscountOff.html @@ -0,0 +1,276 @@ + + + + + + +public class SingleitemDiscountOff +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+singlePriceMax |
+
| 构造器和说明 | +
|---|
SingleitemDiscountOff() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/StockUseRule.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/StockUseRule.html new file mode 100644 index 0000000..18cfe25 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/StockUseRule.html @@ -0,0 +1,366 @@ + + + + + + +public class StockUseRule +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private Long |
+maxAmount
+总消耗金额,单位:分。
+ |
+
private Long |
+maxAmountByDay
+单天最高消耗金额,单位:分
+ |
+
private Long |
+maxCoupons
+最大发券数
+ |
+
private Long |
+maxCouponsPerUser
+单个用户可领个数,每个用户最多60张券
+ |
+
private Boolean |
+naturalPersonLimit
+是否开启自然人限制
+ |
+
private Boolean |
+preventApiAbuse
+api发券防刷
+ |
+
| 构造器和说明 | +
|---|
StockUseRule() |
+
private Long maxAmount+
private Long maxAmountByDay+
private Long maxCoupons+
private Long maxCouponsPerUser+
private Boolean naturalPersonLimit+
private Boolean preventApiAbuse+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksCreateParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksCreateParams.html new file mode 100644 index 0000000..6dcb3b5 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksCreateParams.html @@ -0,0 +1,461 @@ + + + + + + +public class StocksCreateParams +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private OffsetDateTime |
+availableBeginTime
+批次开始时间 rfc 3339 yyyy-mm-ddthh:mm:ss.sss+timezone
+ |
+
private OffsetDateTime |
+availableEndTime
+批次结束时间 rfc 3339 YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE
+ |
+
private String |
+belongMerchant
+批次归属商户号
+ |
+
private String |
+comment
+仅配置商户可见,用于自定义信息
+ |
+
private CouponUseRule |
+couponUseRule
+核销规则
+ |
+
private String |
+ext_info
+扩展属性
+ |
+
private Boolean |
+noCash
+是否无资金流
+ |
+
private String |
+outRequestNo
+商户单据号
+ |
+
private PatternInfo |
+patternInfo
+代金券样式
+ |
+
private String |
+stockName
+批次名称
+ |
+
private String |
+stockType
+批次类型
+ |
+
private StockUseRule |
+stockUseRule
+批次使用规则
+ |
+
| 构造器和说明 | +
|---|
StocksCreateParams() |
+
private String stockName+
private String comment+
private String belongMerchant+
private OffsetDateTime availableBeginTime+
private OffsetDateTime availableEndTime+
private Boolean noCash+
private String stockType+
private String outRequestNo+
private String ext_info+
private StockUseRule stockUseRule+
private CouponUseRule couponUseRule+
private PatternInfo patternInfo+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksQueryParams.html new file mode 100644 index 0000000..a166ce8 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksQueryParams.html @@ -0,0 +1,399 @@ + + + + + + +public class StocksQueryParams +extends Object+
+ 条件查询批次列表API、查询代金券可用商户API、查询代金券可用单品API
| 限定符和类型 | +字段和说明 | +
|---|---|
private OffsetDateTime |
+createEndTime
+选填
+
+ 终止时间 最终满足格式
+yyyy-MM-dd'T'HH:mm:ss.SSSXXX |
+
private OffsetDateTime |
+createStartTime
+选填
+
+ 起始时间 最终满足格式
+yyyy-MM-dd'T'HH:mm:ss.SSSXXX |
+
private Integer |
+limit
+必填
+
+ 条件查询批次列表API 分页大小,最大10。
+ |
+
private Integer |
+offset
+必填
+
+ 条件查询批次列表API 页码从0开始,默认第0页,传递1可能出错。
+ |
+
private StockStatus |
+status
+根据API而定
+
+ 批次状态,只对条件查询批次列表API
+WechatMarketingFavorApi.queryStocksByMch(StocksQueryParams)有效。 |
+
private String |
+stockId
+根据API而定
+
+ 批次ID,对条件查询批次列表API
+WechatMarketingFavorApi.queryStocksByMch(StocksQueryParams)无效。 |
+
| 构造器和说明 | +
|---|
StocksQueryParams() |
+
private Integer offset+
+ 条件查询批次列表API 页码从0开始,默认第0页,传递1可能出错。 +
+ 查询代金券可用商户API 分页页码,最大1000。 +
+ 查询代金券可用单品API 最大500。
private Integer limit+
+ 条件查询批次列表API 分页大小,最大10。 +
+ 查询代金券可用商户API 最大50。 +
+ 查询代金券可用单品API 最大100。
private String stockId+
+ 批次ID,对条件查询批次列表APIWechatMarketingFavorApi.queryStocksByMch(StocksQueryParams)无效。
private OffsetDateTime createStartTime+
+ 起始时间 最终满足格式 yyyy-MM-dd'T'HH:mm:ss.SSSXXX
private OffsetDateTime createEndTime+
+ 终止时间 最终满足格式 yyyy-MM-dd'T'HH:mm:ss.SSSXXX
private StockStatus status+
+ 批次状态,只对条件查询批次列表APIWechatMarketingFavorApi.queryStocksByMch(StocksQueryParams)有效。
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksSendParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksSendParams.html new file mode 100644 index 0000000..65e7bfe --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/StocksSendParams.html @@ -0,0 +1,374 @@ + + + + + + +public class StocksSendParams +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+appid
+公众账号ID
+ |
+
private String |
+couponMinimum
+指定面额发券,券门槛
+ |
+
private String |
+couponValue
+指定面额发券,面额
+ |
+
private String |
+openid
+用户openid 该openid需要与接口传入中的appid有对应关系。
+ |
+
private String |
+outRequestNo
+商户单据号
+ |
+
private String |
+stockCreatorMchid
+创建批次的商户号
+ |
+
private String |
+stockId
+批次号 必须为代金券(全场券或单品券)批次号,不支持立减与折扣。
+ |
+
| 构造器和说明 | +
|---|
StocksSendParams() |
+
private String stockId+
private String openid+
private String outRequestNo+
private String appid+
private String stockCreatorMchid+
private String couponValue+
private String couponMinimum+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/StoreInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/StoreInfo.html new file mode 100644 index 0000000..6f13e03 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/StoreInfo.html @@ -0,0 +1,332 @@ + + + + + + +public class StoreInfo +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.Amount.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.Amount.html new file mode 100644 index 0000000..1bb7ea9 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.Amount.html @@ -0,0 +1,318 @@ + + + + + + +public static class TransactionConsumeData.Amount +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+currency |
+
private String |
+payerCurrency |
+
private int |
+payerTotal |
+
private int |
+total |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.Payer.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.Payer.html new file mode 100644 index 0000000..ab5ee46 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.Payer.html @@ -0,0 +1,279 @@ + + + + + + +public static class TransactionConsumeData.Payer +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.SceneInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.SceneInfo.html new file mode 100644 index 0000000..0998966 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.SceneInfo.html @@ -0,0 +1,279 @@ + + + + + + +public static class TransactionConsumeData.SceneInfo +extends Object+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.html new file mode 100644 index 0000000..a85f0d4 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionConsumeData.html @@ -0,0 +1,471 @@ + + + + + + +public class TransactionConsumeData +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
static class |
+TransactionConsumeData.Amount |
+
static class |
+TransactionConsumeData.Payer |
+
static class |
+TransactionConsumeData.SceneInfo |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private TransactionConsumeData.Amount |
+amount |
+
private String |
+appid |
+
private String |
+attach |
+
private String |
+bankType |
+
private String |
+mchid |
+
private String |
+outTradeNo |
+
private TransactionConsumeData.Payer |
+payer |
+
private List<PromotionDetail> |
+promotionDetail |
+
private TransactionConsumeData.SceneInfo |
+sceneInfo |
+
private String |
+successTime |
+
private String |
+tradeState |
+
private String |
+tradeStateDesc |
+
private String |
+tradeType |
+
private String |
+transactionId |
+
| 构造器和说明 | +
|---|
TransactionConsumeData() |
+
private TransactionConsumeData.Amount amount+
private String appid+
private String attach+
private String bankType+
private String mchid+
private String outTradeNo+
private TransactionConsumeData.Payer payer+
private List<PromotionDetail> promotionDetail+
private TransactionConsumeData.SceneInfo sceneInfo+
private String successTime+
private String tradeState+
private String tradeStateDesc+
private String tradeType+
private String transactionId+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionQueryParams.html new file mode 100644 index 0000000..a1f9100 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/TransactionQueryParams.html @@ -0,0 +1,294 @@ + + + + + + +public class TransactionQueryParams +extends Object+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+mchId |
+
private String |
+transactionIdOrOutTradeNo |
+
| 构造器和说明 | +
|---|
TransactionQueryParams() |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/UserCouponsQueryParams.Status.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/UserCouponsQueryParams.Status.html new file mode 100644 index 0000000..959eff4 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/UserCouponsQueryParams.Status.html @@ -0,0 +1,347 @@ + + + + + + +public static enum UserCouponsQueryParams.Status +extends Enum<UserCouponsQueryParams.Status>+
| 限定符和类型 | +方法和说明 | +
|---|---|
static UserCouponsQueryParams.Status |
+valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static UserCouponsQueryParams.Status[] |
+values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
public static final UserCouponsQueryParams.Status SENDED+
public static final UserCouponsQueryParams.Status USED+
public static UserCouponsQueryParams.Status[] values()+
+for (UserCouponsQueryParams.Status c : UserCouponsQueryParams.Status.values()) + System.out.println(c); +
public static UserCouponsQueryParams.Status valueOf(String name)+
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/UserCouponsQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/UserCouponsQueryParams.html new file mode 100644 index 0000000..41b36ea --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/UserCouponsQueryParams.html @@ -0,0 +1,431 @@ + + + + + + +public class UserCouponsQueryParams +extends Object+
| 限定符和类型 | +类和说明 | +
|---|---|
static class |
+UserCouponsQueryParams.Status |
+
| 限定符和类型 | +字段和说明 | +
|---|---|
private String |
+appId
+公众服务号ID
+ |
+
private String |
+availableMchId
+可用商户号
+ |
+
private String |
+creatorMchId
+创建批次的商户号
+ |
+
private Integer |
+limit
+分页大小
+ |
+
private Integer |
+offset
+分页页码
+ |
+
private String |
+openId
+用户公众号服务号标识
+ |
+
private String |
+senderMchId
+批次发放商户号
+ |
+
private UserCouponsQueryParams.Status |
+status
+券状态 null 不生效
+ |
+
private String |
+stockId
+批次号
+ |
+
| 构造器和说明 | +
|---|
UserCouponsQueryParams() |
+
private String openId+
private String appId+
private String stockId+
private UserCouponsQueryParams.Status status+
private String creatorMchId+
private String senderMchId+
private String availableMchId+
private Integer offset+
private Integer limit+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Amount.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Amount.html new file mode 100644 index 0000000..4cb158f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Amount.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private Amount |
+PayParams.amount
+支付金额
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CallbackParams.Resource.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CallbackParams.Resource.html new file mode 100644 index 0000000..77029c4 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CallbackParams.Resource.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private CallbackParams.Resource |
+CallbackParams.resource |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CallbackParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CallbackParams.html new file mode 100644 index 0000000..f1ca4e9 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CallbackParams.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/ConsumeInformation.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/ConsumeInformation.html new file mode 100644 index 0000000..4f5f663 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/ConsumeInformation.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private ConsumeInformation |
+CouponConsumeData.consumeInformation |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponAvailableTime.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponAvailableTime.html new file mode 100644 index 0000000..0846742 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponAvailableTime.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private CouponAvailableTime |
+CouponUseRule.couponAvailableTime |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponConsumeData.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponConsumeData.html new file mode 100644 index 0000000..24194f7 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponConsumeData.html @@ -0,0 +1,169 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
Map<String,?> |
+WechatPayCallback.couponCallback(ResponseSignVerifyParams params,
+ Consumer<CouponConsumeData> couponConsumeDataConsumer)
+微信支付代金券核销回调.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponDetailsQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponDetailsQueryParams.html new file mode 100644 index 0000000..bcc1c82 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponDetailsQueryParams.html @@ -0,0 +1,173 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.couponDetailFunction(WechatPayV3Type type,
+ CouponDetailsQueryParams params) |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryCouponDetails(CouponDetailsQueryParams params)
+查询代金券详情API
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponUseRule.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponUseRule.html new file mode 100644 index 0000000..43abb40 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/CouponUseRule.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private CouponUseRule |
+StocksCreateParams.couponUseRule
+核销规则
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Detail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Detail.html new file mode 100644 index 0000000..79fa068 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Detail.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private Detail |
+PayParams.detail
+优惠功能
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/DiscountTo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/DiscountTo.html new file mode 100644 index 0000000..a4e0493 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/DiscountTo.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private DiscountTo |
+CouponConsumeData.discountTo |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/FixAvailableTime.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/FixAvailableTime.html new file mode 100644 index 0000000..858882f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/FixAvailableTime.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private FixAvailableTime |
+CouponAvailableTime.fixAvailableTime |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/FixedNormalCoupon.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/FixedNormalCoupon.html new file mode 100644 index 0000000..54d29fc --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/FixedNormalCoupon.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private FixedNormalCoupon |
+CouponUseRule.fixedNormalCoupon |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Goods.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Goods.html new file mode 100644 index 0000000..202c3b2 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Goods.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private List<Goods> |
+Detail.goodsDetail
+单品列表
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/GoodsDetail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/GoodsDetail.html new file mode 100644 index 0000000..ce46964 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/GoodsDetail.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private List<GoodsDetail> |
+ConsumeInformation.goodsDetail |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/H5Info.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/H5Info.html new file mode 100644 index 0000000..9bda447 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/H5Info.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private H5Info |
+SceneInfo.h5Info
+H5 场景信息
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/NormalCouponInformation.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/NormalCouponInformation.html new file mode 100644 index 0000000..0768fab --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/NormalCouponInformation.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private NormalCouponInformation |
+CouponConsumeData.normalCouponInformation |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PatternInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PatternInfo.html new file mode 100644 index 0000000..eb0336c --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PatternInfo.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private PatternInfo |
+StocksCreateParams.patternInfo
+代金券样式
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PayParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PayParams.html new file mode 100644 index 0000000..fcead82 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PayParams.html @@ -0,0 +1,191 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.appPay(PayParams payParams)
+APP下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.h5Pay(PayParams payParams)
+H5下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.jsPay(PayParams payParams)
+JSAPI/小程序下单API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.nativePay(PayParams payParams)
+Native下单API
+ |
+
private org.springframework.http.RequestEntity<?> |
+WechatDirectPayApi.payFunction(WechatPayV3Type type,
+ PayParams payParams) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Payer.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Payer.html new file mode 100644 index 0000000..7aa0ea4 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/Payer.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private Payer |
+PayParams.payer
+支付者 JSAPI/小程序下单 必传
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PromotionDetail.GoodsDetail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PromotionDetail.GoodsDetail.html new file mode 100644 index 0000000..645179b --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PromotionDetail.GoodsDetail.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private List<PromotionDetail.GoodsDetail> |
+PromotionDetail.goodsDetail |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PromotionDetail.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PromotionDetail.html new file mode 100644 index 0000000..8bdad3a --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/PromotionDetail.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private List<PromotionDetail> |
+TransactionConsumeData.promotionDetail |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/ResponseSignVerifyParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/ResponseSignVerifyParams.html new file mode 100644 index 0000000..164aae9 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/ResponseSignVerifyParams.html @@ -0,0 +1,187 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
private String |
+WechatPayCallback.callback(ResponseSignVerifyParams params,
+ WechatPayCallback.EventType eventType) |
+
Map<String,?> |
+WechatPayCallback.couponCallback(ResponseSignVerifyParams params,
+ Consumer<CouponConsumeData> couponConsumeDataConsumer)
+微信支付代金券核销回调.
+ |
+
boolean |
+SignatureProvider.responseSignVerify(ResponseSignVerifyParams params)
+我方对响应验签,和应答签名做比较,使用微信平台证书.
+ |
+
Map<String,?> |
+WechatPayCallback.transactionCallback(ResponseSignVerifyParams params,
+ Consumer<TransactionConsumeData> couponConsumeDataConsumer)
+微信支付成功回调.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SceneInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SceneInfo.html new file mode 100644 index 0000000..4ce01ac --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SceneInfo.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private SceneInfo |
+PayParams.sceneInfo
+场景信息
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SettleInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SettleInfo.html new file mode 100644 index 0000000..fa96593 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SettleInfo.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SingleitemDiscountOff.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SingleitemDiscountOff.html new file mode 100644 index 0000000..b02e665 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/SingleitemDiscountOff.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private SingleitemDiscountOff |
+CouponConsumeData.singleitemDiscountOff |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StockUseRule.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StockUseRule.html new file mode 100644 index 0000000..8aaac9e --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StockUseRule.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private StockUseRule |
+StocksCreateParams.stockUseRule
+批次使用规则
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksCreateParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksCreateParams.html new file mode 100644 index 0000000..f85b5ea --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksCreateParams.html @@ -0,0 +1,173 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.createStock(StocksCreateParams params)
+创建代金券批次API
+ |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.createStocksFunction(WechatPayV3Type type,
+ StocksCreateParams params) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksQueryParams.html new file mode 100644 index 0000000..5edb59e --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksQueryParams.html @@ -0,0 +1,185 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryMerchantsByStockId(StocksQueryParams params)
+查询代金券可用商户API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryStockItems(StocksQueryParams params)
+查询代金券可用单品API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryStocksByMch(StocksQueryParams params)
+条件查询批次列表API
+ |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.queryStocksFunction(WechatPayV3Type type,
+ StocksQueryParams params) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksSendParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksSendParams.html new file mode 100644 index 0000000..84e8e48 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StocksSendParams.html @@ -0,0 +1,173 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.sendStock(StocksSendParams params)
+发放代金券API
+ |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.sendStocksFunction(WechatPayV3Type type,
+ StocksSendParams params) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StoreInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StoreInfo.html new file mode 100644 index 0000000..b27fbcb --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/StoreInfo.html @@ -0,0 +1,168 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private StoreInfo |
+SceneInfo.storeInfo
+商户门店信息
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.Amount.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.Amount.html new file mode 100644 index 0000000..4a6e6a2 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.Amount.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private TransactionConsumeData.Amount |
+TransactionConsumeData.amount |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.Payer.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.Payer.html new file mode 100644 index 0000000..853be69 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.Payer.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private TransactionConsumeData.Payer |
+TransactionConsumeData.payer |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.SceneInfo.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.SceneInfo.html new file mode 100644 index 0000000..c94c592 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.SceneInfo.html @@ -0,0 +1,166 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private TransactionConsumeData.SceneInfo |
+TransactionConsumeData.sceneInfo |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.html new file mode 100644 index 0000000..214cdfb --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionConsumeData.html @@ -0,0 +1,169 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
Map<String,?> |
+WechatPayCallback.transactionCallback(ResponseSignVerifyParams params,
+ Consumer<TransactionConsumeData> couponConsumeDataConsumer)
+微信支付成功回调.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionQueryParams.html new file mode 100644 index 0000000..bd0a738 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/TransactionQueryParams.html @@ -0,0 +1,179 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.queryTransactionById(TransactionQueryParams params)
+微信支付订单号查询API
+ |
+
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatDirectPayApi.queryTransactionByOutTradeNo(TransactionQueryParams params)
+商户订单号查询API
+ |
+
private org.springframework.http.RequestEntity<?> |
+WechatDirectPayApi.queryTransactionFunction(WechatPayV3Type type,
+ TransactionQueryParams params) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/UserCouponsQueryParams.Status.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/UserCouponsQueryParams.Status.html new file mode 100644 index 0000000..93c6cc5 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/UserCouponsQueryParams.Status.html @@ -0,0 +1,190 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3.model | ++ |
| 限定符和类型 | +字段和说明 | +
|---|---|
private UserCouponsQueryParams.Status |
+UserCouponsQueryParams.status
+券状态 null 不生效
+ |
+
| 限定符和类型 | +方法和说明 | +
|---|---|
static UserCouponsQueryParams.Status |
+UserCouponsQueryParams.Status.valueOf(String name)
+返回带有指定名称的该类型的枚举常量。
+ |
+
static UserCouponsQueryParams.Status[] |
+UserCouponsQueryParams.Status.values()
+按照声明该枚举类型的常量的顺序, 返回
+包含这些常量的数组。
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/UserCouponsQueryParams.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/UserCouponsQueryParams.html new file mode 100644 index 0000000..c53f641 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/class-use/UserCouponsQueryParams.html @@ -0,0 +1,173 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| 限定符和类型 | +方法和说明 | +
|---|---|
WechatResponseEntity<com.fasterxml.jackson.databind.node.ObjectNode> |
+WechatMarketingFavorApi.queryUserCouponsByMchId(UserCouponsQueryParams params)
+根据商户号查用户的券API
+ |
+
private org.springframework.http.RequestEntity<?> |
+WechatMarketingFavorApi.queryUserCouponsFunction(WechatPayV3Type type,
+ UserCouponsQueryParams params) |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/package-frame.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/package-frame.html new file mode 100644 index 0000000..2893976 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/package-frame.html @@ -0,0 +1,60 @@ + + + + + + +| 类 | +说明 | +
|---|---|
| Amount | +
+ 支付金额 货币单位【分】默认使用人民币标识CNY
+ |
+
| CallbackParams | ++ |
| CallbackParams.Resource | ++ |
| ConsumeInformation | +
+ 已实扣代金券信息
+ |
+
| CouponAvailableTime | ++ |
| CouponConsumeData | +
+ 微信代金券核销通知参数
+ |
+
| CouponDetailsQueryParams | +
+ 查询代金券详情API参数
+ |
+
| CouponUseRule | +
+ 核销规则.
+ |
+
| Detail | ++ |
| DiscountTo | +
+ 减至优惠限定字段,仅减至优惠场景有返回
+ |
+
| FixAvailableTime | ++ |
| FixedNormalCoupon | +
+ 固定面额满减券使用规则, stock_type为NORMAL时必填
+
+ 满transactionMinimum 减少 couponAmount
+ |
+
| Goods | ++ |
| GoodsDetail | +
+ 商户下单接口传的单品信息
+ |
+
| H5Info | ++ |
| NormalCouponInformation | +
+ 普通满减券面额、门槛信息
+ |
+
| PatternInfo | +
+ 优惠券样式
+ |
+
| Payer | ++ |
| PayParams | +
+ The type App pay model.
+ |
+
| PromotionDetail | ++ |
| PromotionDetail.GoodsDetail | ++ |
| ResponseSignVerifyParams | +
+ 微信的响应签名校验参数
+ |
+
| SceneInfo | ++ |
| SettleInfo | ++ |
| SingleitemDiscountOff | +
+ 单品优惠特定信息
+ |
+
| StocksCreateParams | +
+ 创建优惠券批次参数.
+ |
+
| StocksQueryParams | +
+ 查询参数,适用以下接口:
+
+ 条件查询批次列表API、查询代金券可用商户API、查询代金券可用单品API
+ |
+
| StocksSendParams | ++ |
| StockUseRule | +
+ 批次使用规则
+ |
+
| StoreInfo | ++ |
| TransactionConsumeData | ++ |
| TransactionConsumeData.Amount | ++ |
| TransactionConsumeData.Payer | ++ |
| TransactionConsumeData.SceneInfo | ++ |
| TransactionQueryParams | ++ |
| UserCouponsQueryParams | ++ |
| 枚举 | +说明 | +
|---|---|
| UserCouponsQueryParams.Status | ++ |
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/package-tree.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/package-tree.html new file mode 100644 index 0000000..5bdcbde --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/package-tree.html @@ -0,0 +1,186 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/model/package-use.html b/docs/apidocs/cn/felord/payment/wechat/v3/model/package-use.html new file mode 100644 index 0000000..0d64e7f --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/model/package-use.html @@ -0,0 +1,313 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat.v3 | ++ |
| cn.felord.payment.wechat.v3.model | ++ |
| 类和说明 | +
|---|
| CouponConsumeData
+ 微信代金券核销通知参数
+ |
+
| CouponDetailsQueryParams
+ 查询代金券详情API参数
+ |
+
| PayParams
+ The type App pay model.
+ |
+
| ResponseSignVerifyParams
+ 微信的响应签名校验参数
+ |
+
| StocksCreateParams
+ 创建优惠券批次参数.
+ |
+
| StocksQueryParams
+ 查询参数,适用以下接口:
+
+ 条件查询批次列表API、查询代金券可用商户API、查询代金券可用单品API
+ |
+
| StocksSendParams | +
| TransactionConsumeData | +
| TransactionQueryParams | +
| UserCouponsQueryParams | +
| 类和说明 | +
|---|
| Amount
+ 支付金额 货币单位【分】默认使用人民币标识CNY
+ |
+
| CallbackParams.Resource | +
| ConsumeInformation
+ 已实扣代金券信息
+ |
+
| CouponAvailableTime | +
| CouponUseRule
+ 核销规则.
+ |
+
| Detail | +
| DiscountTo
+ 减至优惠限定字段,仅减至优惠场景有返回
+ |
+
| FixAvailableTime | +
| FixedNormalCoupon
+ 固定面额满减券使用规则, stock_type为NORMAL时必填
+
+ 满transactionMinimum 减少 couponAmount
+ |
+
| Goods | +
| GoodsDetail
+ 商户下单接口传的单品信息
+ |
+
| H5Info | +
| NormalCouponInformation
+ 普通满减券面额、门槛信息
+ |
+
| PatternInfo
+ 优惠券样式
+ |
+
| Payer | +
| PromotionDetail | +
| PromotionDetail.GoodsDetail | +
| SceneInfo | +
| SingleitemDiscountOff
+ 单品优惠特定信息
+ |
+
| StockUseRule
+ 批次使用规则
+ |
+
| StoreInfo | +
| TransactionConsumeData.Amount | +
| TransactionConsumeData.Payer | +
| TransactionConsumeData.SceneInfo | +
| UserCouponsQueryParams.Status | +
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/package-frame.html b/docs/apidocs/cn/felord/payment/wechat/v3/package-frame.html new file mode 100644 index 0000000..8a6774a --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/package-frame.html @@ -0,0 +1,39 @@ + + + + + + +| 类 | +说明 | +
|---|---|
| AbstractApi | +
+ The type Abstract api.
+ |
+
| ExtensionFormHttpMessageConverter | +
+ 用于微信支付处理上传的自定义消息转换器.
+ |
+
| ExtensionFormHttpMessageConverter.MultipartHttpOutputMessage | +
+ The type Multipart http output message.
+ |
+
| KeyPairFactory | +
+ 证书工具
+ |
+
| SignatureProvider | +
+ 签名 加签 验签
+
+ 我方请求微信服务器时,需要根据我方的API证书对参数进行加签;微信服务器会根据我方签名验签以确定请求来自我方服务器;
+
+ 然后微信服务器响应我方请求并在响应报文中使用【微信平台证书】加签 我方需要根据规则验签是否响应来自微信支付服务器
+
+ 其中【微信平台证书】定期会进行更新,不受我方管控,我方需要适当的时候获取最新的证书列表。
+ |
+
| WechatApiProvider | +
+ 微信支付工具.
+ |
+
| WechatDirectPayApi | +
+ 普通支付-直连模式.
+ |
+
| WechatMarketingFavorApi | +
+ 微信支付营销代金券API
+ |
+
| WechatMetaBean | +
+ 微信支付元数据Bean.
+ |
+
| WechatMetaContainer | +
+ 配置容器
+ |
+
| WechatPayCallback | +
+ 微信支付回调工具.
+ |
+
| WechatPayClient | +
+ The type Wechat pay client.
+ |
+
| WechatPayClient.Executor<M> | +
+ The type Executor.
+ |
+
| WechatRequestEntity<T> | +
+ The type Wechat request entity.
+ |
+
| WechatResponseEntity<T> | +
+ The type Wechat response entity.
+ |
+
| 枚举 | +说明 | +
|---|---|
| WechatPayCallback.EventType | +
+ 事件类型用于处理回调.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/package-tree.html b/docs/apidocs/cn/felord/payment/wechat/v3/package-tree.html new file mode 100644 index 0000000..64b6cd0 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/package-tree.html @@ -0,0 +1,180 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/cn/felord/payment/wechat/v3/package-use.html b/docs/apidocs/cn/felord/payment/wechat/v3/package-use.html new file mode 100644 index 0000000..b73bf93 --- /dev/null +++ b/docs/apidocs/cn/felord/payment/wechat/v3/package-use.html @@ -0,0 +1,264 @@ + + + + + + +| 程序包 | +说明 | +
|---|---|
| cn.felord.payment.wechat | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| 类和说明 | +
|---|
| SignatureProvider
+ 签名 加签 验签
+
+ 我方请求微信服务器时,需要根据我方的API证书对参数进行加签;微信服务器会根据我方签名验签以确定请求来自我方服务器;
+
+ 然后微信服务器响应我方请求并在响应报文中使用【微信平台证书】加签 我方需要根据规则验签是否响应来自微信支付服务器
+
+ 其中【微信平台证书】定期会进行更新,不受我方管控,我方需要适当的时候获取最新的证书列表。
+ |
+
| WechatApiProvider
+ 微信支付工具.
+ |
+
| WechatMetaContainer
+ 配置容器
+ |
+
| WechatPayClient
+ The type Wechat pay client.
+ |
+
| 类和说明 | +
|---|
| AbstractApi
+ The type Abstract api.
+ |
+
| SignatureProvider
+ 签名 加签 验签
+
+ 我方请求微信服务器时,需要根据我方的API证书对参数进行加签;微信服务器会根据我方签名验签以确定请求来自我方服务器;
+
+ 然后微信服务器响应我方请求并在响应报文中使用【微信平台证书】加签 我方需要根据规则验签是否响应来自微信支付服务器
+
+ 其中【微信平台证书】定期会进行更新,不受我方管控,我方需要适当的时候获取最新的证书列表。
+ |
+
| WechatDirectPayApi
+ 普通支付-直连模式.
+ |
+
| WechatMarketingFavorApi
+ 微信支付营销代金券API
+ |
+
| WechatMetaBean
+ 微信支付元数据Bean.
+ |
+
| WechatMetaContainer
+ 配置容器
+ |
+
| WechatPayCallback
+ 微信支付回调工具.
+ |
+
| WechatPayCallback.EventType
+ 事件类型用于处理回调.
+ |
+
| WechatPayClient
+ The type Wechat pay client.
+ |
+
| WechatPayClient.Executor
+ The type Executor.
+ |
+
| WechatRequestEntity
+ The type Wechat request entity.
+ |
+
| WechatResponseEntity
+ The type Wechat response entity.
+ |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/constant-values.html b/docs/apidocs/constant-values.html new file mode 100644 index 0000000..ec85667 --- /dev/null +++ b/docs/apidocs/constant-values.html @@ -0,0 +1,202 @@ + + + + + + +| 限定符和类型 | +常量字段 | +值 | +
|---|---|---|
+
+private static final String |
+CERT_ALIAS |
+"Tenpay Certificate" |
+
| 限定符和类型 | +常量字段 | +值 | +
|---|---|---|
+
+private static final String |
+BOUNDARY |
+"boundary" |
+
| 限定符和类型 | +常量字段 | +值 | +
|---|---|---|
+
+private static final String |
+SCHEMA |
+"WECHATPAY2-SHA256-RSA2048 " |
+
+
+public static final String |
+TOKEN_PATTERN |
+"mchid=\"%s\",nonce_str=\"%s\",timestamp=\"%d\",serial_no=\"%s\",signature=\"%s\"" |
+
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/deprecated-list.html b/docs/apidocs/deprecated-list.html new file mode 100644 index 0000000..594d360 --- /dev/null +++ b/docs/apidocs/deprecated-list.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/help-doc.html b/docs/apidocs/help-doc.html new file mode 100644 index 0000000..c013f21 --- /dev/null +++ b/docs/apidocs/help-doc.html @@ -0,0 +1,231 @@ + + + + + + +概览 页面是此 API 文档的首页, 提供了所有程序包的列表及其概要。此页面也可能包含这些程序包的总体说明。
+每个程序包都有一个页面, 其中包含它的类和接口的列表及其概要。此页面可以包含六个类别:
+每个类, 接口, 嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分 (类/接口说明, 概要表, 以及详细的成员说明) 组成:
+每个概要条目都包含该项目的详细说明的第一句。概要条目按字母顺序排列, 而详细说明则按其在源代码中出现的顺序排列。这样保持了程序员所建立的逻辑分组。
+每个注释类型都有各自的页面, 其中包含以下部分:
+每个枚举都有各自的页面, 其中包含以下部分:
+每个已文档化的程序包, 类和接口都有各自的“使用”页面。此页面介绍了使用给定类或程序包的任何部分的程序包, 类, 方法, 构造器和字段。对于给定的类或接口 A, 其“使用”页面包含 A 的子类, 声明为 A 的字段, 返回 A 的方法, 以及带有类型为 A 的参数的方法和构造器。访问此页面的方法是: 首先转至程序包, 类或接口, 然后单击导航栏中的 "使用" 链接。
+对于所有程序包, 有一个类分层结构页面, 以及每个程序包的分层结构。每个分层结构页面都包含类的列表和接口的列表。从java.lang.Object开始, 按继承结构对类进行排列。接口不从java.lang.Object继承。
已过时的 API 页面列出了所有已过时的 API。一般由于进行了改进并且通常提供了替代的 API, 所以建议不要使用已过时的 API。在将来的实现过程中, 可能会删除已过时的 API。
+索引 包含按字母顺序排列的所有类, 接口, 构造器, 方法和字段的列表。
+这些链接使您可以转至下一个或上一个类, 接口, 程序包或相关页面。
+这些链接用于显示和隐藏 HTML 框架。所有页面均具有有框架和无框架两种显示方式。
+所有类链接显示所有类和接口 (除了非静态嵌套类型)。
+每个可序列化或可外部化的类都有其序列化字段和方法的说明。此信息对重新实现者有用, 而对使用 API 的开发者则没有什么用处。尽管导航栏中没有链接, 但您可以通过下列方式获取此信息: 转至任何序列化类, 然后单击类说明的 "另请参阅" 部分中的 "序列化表格"。
+常量字段值页面列出了静态最终字段及其值。
+Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/index-all.html b/docs/apidocs/index-all.html new file mode 100644 index 0000000..bf7c736 --- /dev/null +++ b/docs/apidocs/index-all.html @@ -0,0 +1,1980 @@ + + + + + + +ResponseEntity to WechatResponseEntity.yyyy-MM-dd'T'HH:mm:ss.SSSXXXyyyy-MM-dd'T'HH:mm:ss.SSSXXXWechatMarketingFavorApi.queryStocksByMch(StocksQueryParams)有效。WechatMarketingFavorApi.queryStocksByMch(StocksQueryParams)无效。Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/index.html b/docs/apidocs/index.html new file mode 100644 index 0000000..dfd728f --- /dev/null +++ b/docs/apidocs/index.html @@ -0,0 +1,76 @@ + + + + + + ++ + diff --git a/docs/apidocs/overview-summary.html b/docs/apidocs/overview-summary.html new file mode 100644 index 0000000..5e150d6 --- /dev/null +++ b/docs/apidocs/overview-summary.html @@ -0,0 +1,164 @@ + + + + + + +
| 程序包 | +说明 | +
|---|---|
| cn.felord.payment | ++ |
| cn.felord.payment.alipay | ++ |
| cn.felord.payment.autoconfigure | ++ |
| cn.felord.payment.wechat | ++ |
| cn.felord.payment.wechat.enumeration | ++ |
| cn.felord.payment.wechat.v3 | ++ |
| cn.felord.payment.wechat.v3.model | ++ |
Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/overview-tree.html b/docs/apidocs/overview-tree.html new file mode 100644 index 0000000..d499b7e --- /dev/null +++ b/docs/apidocs/overview-tree.html @@ -0,0 +1,260 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/package-list b/docs/apidocs/package-list new file mode 100644 index 0000000..1d481b1 --- /dev/null +++ b/docs/apidocs/package-list @@ -0,0 +1,7 @@ +cn.felord.payment +cn.felord.payment.alipay +cn.felord.payment.autoconfigure +cn.felord.payment.wechat +cn.felord.payment.wechat.enumeration +cn.felord.payment.wechat.v3 +cn.felord.payment.wechat.v3.model diff --git a/docs/apidocs/script.js b/docs/apidocs/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/docs/apidocs/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/docs/apidocs/serialized-form.html b/docs/apidocs/serialized-form.html new file mode 100644 index 0000000..ea95338 --- /dev/null +++ b/docs/apidocs/serialized-form.html @@ -0,0 +1,139 @@ + + + + + + +Copyright © 2020. All rights reserved.
+ + diff --git a/docs/apidocs/stylesheet.css b/docs/apidocs/stylesheet.css new file mode 100644 index 0000000..98055b2 --- /dev/null +++ b/docs/apidocs/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/docs/wechat_v3_api.md b/docs/wechat_v3_api.md index 5fac845..96f3b9f 100644 --- a/docs/wechat_v3_api.md +++ b/docs/wechat_v3_api.md @@ -27,6 +27,7 @@ `WechatResponseEntity* 参考发券 */ private String openId; diff --git a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksCreateParams.java b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksCreateParams.java index 71e3198..0d4643e 100644 --- a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksCreateParams.java +++ b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksCreateParams.java @@ -1,7 +1,10 @@ package cn.felord.payment.wechat.v3.model; +import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; +import java.time.OffsetDateTime; + /** * 创建优惠券批次参数. * @@ -23,13 +26,15 @@ public class StocksCreateParams { */ private String belongMerchant; /** - * 批次开始时间 rfc 3339 YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE + * 批次开始时间 rfc 3339 yyyy-mm-ddthh:mm:ss.sss+timezone */ - private String availableBeginTime; + @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", timezone = "GMT+8") + private OffsetDateTime availableBeginTime; /** * 批次结束时间 rfc 3339 YYYY-MM-DDTHH:mm:ss.sss+TIMEZONE */ - private String availableEndTime; + @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX", timezone = "GMT+8") + private OffsetDateTime availableEndTime; /** * 是否无资金流 */ diff --git a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksQueryParams.java b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksQueryParams.java index b2b59e0..3c12b4d 100644 --- a/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksQueryParams.java +++ b/payment-spring-boot-autoconfigure/src/main/java/cn/felord/payment/wechat/v3/model/StocksQueryParams.java @@ -1,21 +1,63 @@ package cn.felord.payment.wechat.v3.model; import cn.felord.payment.wechat.enumeration.StockStatus; +import cn.felord.payment.wechat.v3.WechatMarketingFavorApi; import lombok.Data; -import java.time.LocalDateTime; +import java.time.OffsetDateTime; /** + * 查询参数,适用以下接口: + *
+ * 条件查询批次列表API、查询代金券可用商户API、查询代金券可用单品API + * * @author Dax - * @since 15:16 + * @since 15 :16 */ @Data public class StocksQueryParams { - private Integer offset =0; + /** + * 必填 + *
+ * 条件查询批次列表API 页码从0开始,默认第0页,传递1可能出错。 + *
+ * 查询代金券可用商户API 分页页码,最大1000。 + *
+ * 查询代金券可用单品API 最大500。 + */ + private Integer offset = 0; + /** + * 必填 + *
+ * 条件查询批次列表API 分页大小,最大10。 + *
+ * 查询代金券可用商户API 最大50。 + *
+ * 查询代金券可用单品API 最大100。 + */ private Integer limit = 10; + /** + * 根据API而定 + *
+ * 批次ID,对条件查询批次列表API{@link WechatMarketingFavorApi#queryStocksByMch(StocksQueryParams)}无效。 + */ private String stockId; - private LocalDateTime createStartTime; - private LocalDateTime createEndTime; + /** + * 选填 + *
+ * 起始时间 最终满足格式 {@code yyyy-MM-dd'T'HH:mm:ss.SSSXXX} + */ + private OffsetDateTime createStartTime; + /** + * 选填 + *
+ * 终止时间 最终满足格式 {@code yyyy-MM-dd'T'HH:mm:ss.SSSXXX} + */ + private OffsetDateTime createEndTime; + /** + * 根据API而定 + *
+ * 批次状态,只对条件查询批次列表API{@link WechatMarketingFavorApi#queryStocksByMch(StocksQueryParams)}有效。
+ */
private StockStatus status;
-
}
diff --git a/payment-spring-boot-starter/pom.xml b/payment-spring-boot-starter/pom.xml
index 14c21cf..be0220e 100644
--- a/payment-spring-boot-starter/pom.xml
+++ b/payment-spring-boot-starter/pom.xml
@@ -38,10 +38,6 @@