12
12
* </pre>
13
13
*
14
14
* @author cloudX
15
- * @date 2020/08/17
15
+ * @date 2020 /08/17
16
16
*/
17
17
public interface EcommerceService {
18
18
/**
@@ -63,8 +63,9 @@ public interface EcommerceService {
63
63
* </pre>
64
64
*
65
65
* @param tradeType 支付方式
66
- * @param request 请求对象
67
- * @return 微信合单支付返回
66
+ * @param request 请求对象
67
+ * @return 微信合单支付返回 transactions result
68
+ * @throws WxPayException the wx pay exception
68
69
*/
69
70
TransactionsResult combine (TradeTypeEnum tradeType , CombineTransactionsRequest request ) throws WxPayException ;
70
71
@@ -75,9 +76,11 @@ public interface EcommerceService {
75
76
* 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/e-combine.shtml
76
77
* </pre>
77
78
*
79
+ * @param <T> the type parameter
78
80
* @param tradeType 支付方式
79
- * @param request 请求对象
80
- * @return 调起支付需要的参数
81
+ * @param request 请求对象
82
+ * @return 调起支付需要的参数 t
83
+ * @throws WxPayException the wx pay exception
81
84
*/
82
85
<T > T combineTransactions (TradeTypeEnum tradeType , CombineTransactionsRequest request ) throws WxPayException ;
83
86
@@ -88,32 +91,38 @@ public interface EcommerceService {
88
91
* </pre>
89
92
*
90
93
* @param notifyData 通知数据
91
- * @param header 通知头部数据,不传则表示不校验头
92
- * @return 解密后通知数据
94
+ * @param header 通知头部数据,不传则表示不校验头
95
+ * @return 解密后通知数据 combine transactions notify result
96
+ * @throws WxPayException the wx pay exception
93
97
*/
94
98
CombineTransactionsNotifyResult parseCombineNotifyResult (String notifyData , SignatureHeader header ) throws WxPayException ;
95
99
96
100
/**
97
- * <pre>
101
+ * <pre>
98
102
* 服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
99
103
* 请求URL:https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi
100
104
* 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/transactions_sl.shtml
101
105
* </pre>
106
+ *
102
107
* @param tradeType 支付方式
103
- * @param request 请求对象
104
- * @return 调起支付需要的参数
108
+ * @param request 请求对象
109
+ * @return 调起支付需要的参数 transactions result
110
+ * @throws WxPayException the wx pay exception
105
111
*/
106
112
TransactionsResult partner (TradeTypeEnum tradeType , PartnerTransactionsRequest request ) throws WxPayException ;
107
113
108
114
/**
109
- * <pre>
115
+ * <pre>
110
116
* 服务商模式普通支付API(APP支付、JSAPI支付、H5支付、NATIVE支付).
111
117
* 请求URL:https://api.mch.weixin.qq.com/v3/pay/partner/transactions/jsapi
112
118
* 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pages/transactions_sl.shtml
113
119
* </pre>
120
+ *
121
+ * @param <T> the type parameter
114
122
* @param tradeType 支付方式
115
- * @param request 请求对象
116
- * @return 调起支付需要的参数
123
+ * @param request 请求对象
124
+ * @return 调起支付需要的参数 t
125
+ * @throws WxPayException the wx pay exception
117
126
*/
118
127
<T > T partnerTransactions (TradeTypeEnum tradeType , PartnerTransactionsRequest request ) throws WxPayException ;
119
128
@@ -124,8 +133,9 @@ public interface EcommerceService {
124
133
* </pre>
125
134
*
126
135
* @param notifyData 通知数据
127
- * @param header 通知头部数据,不传则表示不校验头
128
- * @return 解密后通知数据
136
+ * @param header 通知头部数据,不传则表示不校验头
137
+ * @return 解密后通知数据 partner transactions notify result
138
+ * @throws WxPayException the wx pay exception
129
139
*/
130
140
PartnerTransactionsNotifyResult parsePartnerNotifyResult (String notifyData , SignatureHeader header ) throws WxPayException ;
131
141
@@ -136,7 +146,8 @@ public interface EcommerceService {
136
146
* </pre>
137
147
*
138
148
* @param accountType 服务商账户类型
139
- * @return 返回数据
149
+ * @return 返回数据 fund balance result
150
+ * @throws WxPayException the wx pay exception
140
151
*/
141
152
FundBalanceResult spNowBalance (SpAccountTypeEnum accountType ) throws WxPayException ;
142
153
@@ -147,8 +158,9 @@ public interface EcommerceService {
147
158
* </pre>
148
159
*
149
160
* @param accountType 服务商账户类型
150
- * @param date 查询日期 2020-09-11
151
- * @return 返回数据
161
+ * @param date 查询日期 2020-09-11
162
+ * @return 返回数据 fund balance result
163
+ * @throws WxPayException the wx pay exception
152
164
*/
153
165
FundBalanceResult spDayEndBalance (SpAccountTypeEnum accountType , String date ) throws WxPayException ;
154
166
@@ -159,7 +171,8 @@ public interface EcommerceService {
159
171
* </pre>
160
172
*
161
173
* @param subMchid 二级商户号
162
- * @return 返回数据
174
+ * @return 返回数据 fund balance result
175
+ * @throws WxPayException the wx pay exception
163
176
*/
164
177
FundBalanceResult subNowBalance (String subMchid ) throws WxPayException ;
165
178
@@ -170,8 +183,9 @@ public interface EcommerceService {
170
183
* </pre>
171
184
*
172
185
* @param subMchid 二级商户号
173
- * @param date 查询日期 2020-09-11
174
- * @return 返回数据
186
+ * @param date 查询日期 2020-09-11
187
+ * @return 返回数据 fund balance result
188
+ * @throws WxPayException the wx pay exception
175
189
*/
176
190
FundBalanceResult subDayEndBalance (String subMchid , String date ) throws WxPayException ;
177
191
@@ -182,7 +196,8 @@ public interface EcommerceService {
182
196
* </pre>
183
197
*
184
198
* @param request 分账请求
185
- * @return 返回数据
199
+ * @return 返回数据 profit sharing result
200
+ * @throws WxPayException the wx pay exception
186
201
*/
187
202
ProfitSharingResult profitSharing (ProfitSharingRequest request ) throws WxPayException ;
188
203
0 commit comments