33import com .github .binarywang .wxpay .bean .profitsharing .*;
44import com .github .binarywang .wxpay .exception .WxPayException ;
55
6- import com .github .binarywang .wxpay .bean .profitsharing .ProfitSharingResult ;
7- import com .github .binarywang .wxpay .bean .profitsharing .ProfitSharingRequest ;
8-
96/**
107 * 注意:微信最高分账比例为30%
118 * 可多次分账到同一个人,但是依然不能超过30%
@@ -22,11 +19,11 @@ public interface ProfitSharingService {
2219 * 接口链接:https://api.mch.weixin.qq.com/secapi/pay/profitsharing
2320 * </pre>
2421 *
25- * @param profitsharingRequest
26- * @return
22+ * @param request .
23+ * @return .
2724 * @throws WxPayException the wx pay exception
2825 */
29- ProfitSharingResult profitsharing (ProfitSharingRequest profitsharingRequest ) throws WxPayException ;
26+ ProfitSharingResult profitSharing (ProfitSharingRequest request ) throws WxPayException ;
3027
3128 /**
3229 * <pre>
@@ -38,11 +35,11 @@ public interface ProfitSharingService {
3835 * 文档详见: https://pay.weixin.qq.com/wiki/doc/api/allocation_sl.php?chapter=25_6&index=2
3936 * 接口链接:https://api.mch.weixin.qq.com/secapi/pay/multiprofitsharing
4037 *
41- * @param profitsharingRequest
42- * @return
38+ * @param request .
39+ * @return .
4340 * @throws WxPayException the wx pay exception
4441 */
45- ProfitSharingResult multiprofitsharing (ProfitSharingRequest profitsharingRequest ) throws WxPayException ;
42+ ProfitSharingResult multiProfitSharing (ProfitSharingRequest request ) throws WxPayException ;
4643
4744 /**
4845 * <pre>
@@ -54,11 +51,11 @@ public interface ProfitSharingService {
5451 * 接口链接:https://api.mch.weixin.qq.com/secapi/pay/profitsharingfinish
5552 * </pre>
5653 *
57- * @param profitSharingFinishRequest
58- * @return
54+ * @param request .
55+ * @return .
5956 * @throws WxPayException the wx pay exception
6057 */
61- ProfitSharingResult profitsharingfinish (ProfitSharingFinishRequest profitSharingFinishRequest ) throws WxPayException ;
58+ ProfitSharingResult profitSharingFinish (ProfitSharingFinishRequest request ) throws WxPayException ;
6259
6360 /**
6461 * <pre>
@@ -67,11 +64,11 @@ public interface ProfitSharingService {
6764 * 接口链接:https://api.mch.weixin.qq.com/pay/profitsharingaddreceiver
6865 * </pre>
6966 *
70- * @param profitSharingReceiverRequest
71- * @return
72- * @throws WxPayException
67+ * @param request .
68+ * @return .
69+ * @throws WxPayException .
7370 */
74- ProfitSharingReceiverResult addReceiver (ProfitSharingReceiverRequest profitSharingReceiverRequest ) throws WxPayException ;
71+ ProfitSharingReceiverResult addReceiver (ProfitSharingReceiverRequest request ) throws WxPayException ;
7572
7673 /**
7774 * <pre>
@@ -80,11 +77,11 @@ public interface ProfitSharingService {
8077 * 接口链接:https://api.mch.weixin.qq.com/pay/profitsharingremovereceiver
8178 * </pre>
8279 *
83- * @param profitSharingReceiverRequest
84- * @return
85- * @throws WxPayException
80+ * @param request .
81+ * @return .
82+ * @throws WxPayException .
8683 */
87- ProfitSharingReceiverResult removeReceiver (ProfitSharingReceiverRequest profitSharingReceiverRequest ) throws WxPayException ;
84+ ProfitSharingReceiverResult removeReceiver (ProfitSharingReceiverRequest request ) throws WxPayException ;
8885
8986 /**
9087 * TODO:微信返回签名失败
@@ -93,11 +90,11 @@ public interface ProfitSharingService {
9390 * 接口频率:80QPS
9491 * </pre>
9592 *
96- * @param profitSharingReceiverRequest
97- * @return
98- * @throws WxPayException
93+ * @param request .
94+ * @return .
95+ * @throws WxPayException .
9996 */
100- ProfitSharingQueryResult profitsharingQuery (ProfitSharingQueryRequest profitSharingReceiverRequest ) throws WxPayException ;
97+ ProfitSharingQueryResult profitSharingQuery (ProfitSharingQueryRequest request ) throws WxPayException ;
10198
10299 /**
103100 * TODO:这个接口用真实的数据返回【参数不正确】,我对比官方文档除了缺少sub_mch_id,和sub_appid之外其他相同,当我随便填了一个商户id的时候,提示【回退方没有开通分账回退功能】
@@ -111,11 +108,11 @@ public interface ProfitSharingService {
111108 * 接口链接:https://api.mch.weixin.qq.com/secapi/pay/profitsharingreturn
112109 * </pre>
113110 *
114- * @param profitSharingReturnRequest
115- * @return
116- * @throws WxPayException
111+ * @param returnRequest .
112+ * @return .
113+ * @throws WxPayException .
117114 */
118- ProfitSharingReturnResult profitsharingReturn (ProfitSharingReturnRequest profitSharingReturnRequest ) throws WxPayException ;
115+ ProfitSharingReturnResult profitSharingReturn (ProfitSharingReturnRequest returnRequest ) throws WxPayException ;
119116
120117 /**
121118 * TODO:因profitsharingReturn接口无法使用,没有办法对这里进行真实的测试,模拟数据这里返回【记录不存在】
@@ -127,10 +124,11 @@ public interface ProfitSharingService {
127124 * 接口链接:https://api.mch.weixin.qq.com/pay/profitsharingreturnquery
128125 * </pre>
129126 *
130- * @param profitSharingReturnQueryRequest
131- * @return
132- * @throws WxPayException
127+ * @param queryRequest .
128+ * @return .
129+ * @throws WxPayException .
133130 */
134- ProfitSharingReturnResult profitsharingReturnQuery (ProfitSharingReturnQueryRequest profitSharingReturnQueryRequest ) throws WxPayException ;
131+ ProfitSharingReturnResult profitSharingReturnQuery (ProfitSharingReturnQueryRequest queryRequest )
132+ throws WxPayException ;
135133
136134}
0 commit comments