@@ -130,4 +130,61 @@ public WxChannelBaseResponse merchantUpdateAfterSale(AfterSaleMerchantUpdatePara
130130 return ResponseUtils .decode (resJson , WxChannelBaseResponse .class );
131131 }
132132
133+ @ Override
134+ public AfterSaleCreateResponse genAfterSaleOrder (AfterSaleGenAfterSaleOrderParam param ) throws WxErrorException {
135+ String resJson = shopService .post (AFTER_SALE_GEN_AFTER_SALE_ORDER_URL , param );
136+ return ResponseUtils .decode (resJson , AfterSaleCreateResponse .class );
137+ }
138+
139+ @ Override
140+ public AfterSaleCreateResponse refundPriceDiff (AfterSaleRefundPriceDiffParam param ) throws WxErrorException {
141+ String resJson = shopService .post (AFTER_SALE_REFUND_PRICE_DIFF_URL , param );
142+ return ResponseUtils .decode (resJson , AfterSaleCreateResponse .class );
143+ }
144+
145+ @ Override
146+ public AfterSaleVirtualTelNumResponse applyVirtualTelNum (String afterSaleOrderId ) throws WxErrorException {
147+ AfterSaleIdParam param = new AfterSaleIdParam (afterSaleOrderId );
148+ String resJson = shopService .post (AFTER_SALE_APPLY_VIRTUAL_TEL_NUM_URL , param );
149+ return ResponseUtils .decode (resJson , AfterSaleVirtualTelNumResponse .class );
150+ }
151+
152+ @ Override
153+ public WxChannelBaseResponse handleFastExchangeReceipt (AfterSaleHandleFastExchangeReceiptParam param ) throws WxErrorException {
154+ String resJson = shopService .post (AFTER_SALE_HANDLE_FAST_EXCHANGE_RECEIPT_URL , param );
155+ return ResponseUtils .decode (resJson , WxChannelBaseResponse .class );
156+ }
157+
158+ @ Override
159+ public GuaranteeOrderResponse getGuaranteeOrder (String guaranteeOrderId ) throws WxErrorException {
160+ GuaranteeOrderIdParam param = new GuaranteeOrderIdParam (guaranteeOrderId );
161+ String resJson = shopService .post (AFTER_SALE_GET_GUARANTEE_ORDER_URL , param );
162+ return ResponseUtils .decode (resJson , GuaranteeOrderResponse .class );
163+ }
164+
165+ @ Override
166+ public WxChannelBaseResponse merchantAcceptGuarantee (String guaranteeOrderId ) throws WxErrorException {
167+ GuaranteeOrderIdParam param = new GuaranteeOrderIdParam (guaranteeOrderId );
168+ String resJson = shopService .post (AFTER_SALE_MERCHANT_ACCEPT_GUARANTEE_URL , param );
169+ return ResponseUtils .decode (resJson , WxChannelBaseResponse .class );
170+ }
171+
172+ @ Override
173+ public WxChannelBaseResponse merchantModifyGuarantee (GuaranteeMerchantModifyParam param ) throws WxErrorException {
174+ String resJson = shopService .post (AFTER_SALE_MERCHANT_MODIFY_GUARANTEE_URL , param );
175+ return ResponseUtils .decode (resJson , WxChannelBaseResponse .class );
176+ }
177+
178+ @ Override
179+ public WxChannelBaseResponse merchantProofGuarantee (GuaranteeMerchantProofParam param ) throws WxErrorException {
180+ String resJson = shopService .post (AFTER_SALE_MERCHANT_PROOF_GUARANTEE_URL , param );
181+ return ResponseUtils .decode (resJson , WxChannelBaseResponse .class );
182+ }
183+
184+ @ Override
185+ public WxChannelBaseResponse syncWorkOrder (SyncWorkOrderParam param ) throws WxErrorException {
186+ String resJson = shopService .post (AFTER_SALE_SYNC_WORK_ORDER_URL , param );
187+ return ResponseUtils .decode (resJson , WxChannelBaseResponse .class );
188+ }
189+
133190}
0 commit comments