3
3
import com .github .binarywang .wxpay .bean .profitsharing .*;
4
4
import com .github .binarywang .wxpay .exception .WxPayException ;
5
5
6
- import com .github .binarywang .wxpay .bean .profitsharing .ProfitSharingResult ;
7
- import com .github .binarywang .wxpay .bean .profitsharing .ProfitSharingRequest ;
8
-
9
6
/**
10
7
* 注意:微信最高分账比例为30%
11
8
* 可多次分账到同一个人,但是依然不能超过30%
@@ -22,11 +19,11 @@ public interface ProfitSharingService {
22
19
* 接口链接:https://api.mch.weixin.qq.com/secapi/pay/profitsharing
23
20
* </pre>
24
21
*
25
- * @param profitsharingRequest
26
- * @return
22
+ * @param request .
23
+ * @return .
27
24
* @throws WxPayException the wx pay exception
28
25
*/
29
- ProfitSharingResult profitsharing (ProfitSharingRequest profitsharingRequest ) throws WxPayException ;
26
+ ProfitSharingResult profitSharing (ProfitSharingRequest request ) throws WxPayException ;
30
27
31
28
/**
32
29
* <pre>
@@ -38,11 +35,11 @@ public interface ProfitSharingService {
38
35
* 文档详见: https://pay.weixin.qq.com/wiki/doc/api/allocation_sl.php?chapter=25_6&index=2
39
36
* 接口链接:https://api.mch.weixin.qq.com/secapi/pay/multiprofitsharing
40
37
*
41
- * @param profitsharingRequest
42
- * @return
38
+ * @param request .
39
+ * @return .
43
40
* @throws WxPayException the wx pay exception
44
41
*/
45
- ProfitSharingResult multiprofitsharing (ProfitSharingRequest profitsharingRequest ) throws WxPayException ;
42
+ ProfitSharingResult multiProfitSharing (ProfitSharingRequest request ) throws WxPayException ;
46
43
47
44
/**
48
45
* <pre>
@@ -54,11 +51,11 @@ public interface ProfitSharingService {
54
51
* 接口链接:https://api.mch.weixin.qq.com/secapi/pay/profitsharingfinish
55
52
* </pre>
56
53
*
57
- * @param profitSharingFinishRequest
58
- * @return
54
+ * @param request .
55
+ * @return .
59
56
* @throws WxPayException the wx pay exception
60
57
*/
61
- ProfitSharingResult profitsharingfinish (ProfitSharingFinishRequest profitSharingFinishRequest ) throws WxPayException ;
58
+ ProfitSharingResult profitSharingFinish (ProfitSharingFinishRequest request ) throws WxPayException ;
62
59
63
60
/**
64
61
* <pre>
@@ -67,11 +64,11 @@ public interface ProfitSharingService {
67
64
* 接口链接:https://api.mch.weixin.qq.com/pay/profitsharingaddreceiver
68
65
* </pre>
69
66
*
70
- * @param profitSharingReceiverRequest
71
- * @return
72
- * @throws WxPayException
67
+ * @param request .
68
+ * @return .
69
+ * @throws WxPayException .
73
70
*/
74
- ProfitSharingReceiverResult addReceiver (ProfitSharingReceiverRequest profitSharingReceiverRequest ) throws WxPayException ;
71
+ ProfitSharingReceiverResult addReceiver (ProfitSharingReceiverRequest request ) throws WxPayException ;
75
72
76
73
/**
77
74
* <pre>
@@ -80,11 +77,11 @@ public interface ProfitSharingService {
80
77
* 接口链接:https://api.mch.weixin.qq.com/pay/profitsharingremovereceiver
81
78
* </pre>
82
79
*
83
- * @param profitSharingReceiverRequest
84
- * @return
85
- * @throws WxPayException
80
+ * @param request .
81
+ * @return .
82
+ * @throws WxPayException .
86
83
*/
87
- ProfitSharingReceiverResult removeReceiver (ProfitSharingReceiverRequest profitSharingReceiverRequest ) throws WxPayException ;
84
+ ProfitSharingReceiverResult removeReceiver (ProfitSharingReceiverRequest request ) throws WxPayException ;
88
85
89
86
/**
90
87
* TODO:微信返回签名失败
@@ -93,11 +90,11 @@ public interface ProfitSharingService {
93
90
* 接口频率:80QPS
94
91
* </pre>
95
92
*
96
- * @param profitSharingReceiverRequest
97
- * @return
98
- * @throws WxPayException
93
+ * @param request .
94
+ * @return .
95
+ * @throws WxPayException .
99
96
*/
100
- ProfitSharingQueryResult profitsharingQuery (ProfitSharingQueryRequest profitSharingReceiverRequest ) throws WxPayException ;
97
+ ProfitSharingQueryResult profitSharingQuery (ProfitSharingQueryRequest request ) throws WxPayException ;
101
98
102
99
/**
103
100
* TODO:这个接口用真实的数据返回【参数不正确】,我对比官方文档除了缺少sub_mch_id,和sub_appid之外其他相同,当我随便填了一个商户id的时候,提示【回退方没有开通分账回退功能】
@@ -111,11 +108,11 @@ public interface ProfitSharingService {
111
108
* 接口链接:https://api.mch.weixin.qq.com/secapi/pay/profitsharingreturn
112
109
* </pre>
113
110
*
114
- * @param profitSharingReturnRequest
115
- * @return
116
- * @throws WxPayException
111
+ * @param returnRequest .
112
+ * @return .
113
+ * @throws WxPayException .
117
114
*/
118
- ProfitSharingReturnResult profitsharingReturn (ProfitSharingReturnRequest profitSharingReturnRequest ) throws WxPayException ;
115
+ ProfitSharingReturnResult profitSharingReturn (ProfitSharingReturnRequest returnRequest ) throws WxPayException ;
119
116
120
117
/**
121
118
* TODO:因profitsharingReturn接口无法使用,没有办法对这里进行真实的测试,模拟数据这里返回【记录不存在】
@@ -127,10 +124,11 @@ public interface ProfitSharingService {
127
124
* 接口链接:https://api.mch.weixin.qq.com/pay/profitsharingreturnquery
128
125
* </pre>
129
126
*
130
- * @param profitSharingReturnQueryRequest
131
- * @return
132
- * @throws WxPayException
127
+ * @param queryRequest .
128
+ * @return .
129
+ * @throws WxPayException .
133
130
*/
134
- ProfitSharingReturnResult profitsharingReturnQuery (ProfitSharingReturnQueryRequest profitSharingReturnQueryRequest ) throws WxPayException ;
131
+ ProfitSharingReturnResult profitSharingReturnQuery (ProfitSharingReturnQueryRequest queryRequest )
132
+ throws WxPayException ;
135
133
136
134
}
0 commit comments