|
2 | 2 |
|
3 | 3 |
|
4 | 4 | import java.util.List; |
5 | | -import me.chanjar.weixin.channel.bean.after.AfterSaleInfoResponse; |
6 | | -import me.chanjar.weixin.channel.bean.after.AfterSaleListParam; |
7 | | -import me.chanjar.weixin.channel.bean.after.AfterSaleListResponse; |
8 | | -import me.chanjar.weixin.channel.bean.after.AfterSaleReasonResponse; |
9 | | -import me.chanjar.weixin.channel.bean.after.AfterSaleRejectReasonResponse; |
| 5 | + |
| 6 | +import me.chanjar.weixin.channel.bean.after.*; |
10 | 7 | import me.chanjar.weixin.channel.bean.base.WxChannelBaseResponse; |
11 | 8 | import me.chanjar.weixin.channel.bean.complaint.ComplaintOrderResponse; |
12 | 9 | import me.chanjar.weixin.common.error.WxErrorException; |
@@ -149,4 +146,41 @@ WxChannelBaseResponse addComplaintEvidence(String complaintId, String content, L |
149 | 146 | * @throws WxErrorException 异常 |
150 | 147 | */ |
151 | 148 | AfterSaleRejectReasonResponse getRejectReason() throws WxErrorException; |
| 149 | + |
| 150 | + /** |
| 151 | + * 换货发货 |
| 152 | + * 文档地址:https://developers.weixin.qq.com/doc/store/shop/API/channels-shop-aftersale/api_acceptexchangereship.html |
| 153 | + * |
| 154 | + * @param afterSaleOrderId 售后单号 |
| 155 | + * @param waybillId 快递单号 |
| 156 | + * @param deliveryId 快递公司id |
| 157 | + * @return BaseResponse |
| 158 | + * |
| 159 | + * @throws WxErrorException 异常 |
| 160 | + */ |
| 161 | + WxChannelBaseResponse acceptExchangeReship(String afterSaleOrderId, String waybillId, String deliveryId) throws WxErrorException; |
| 162 | + |
| 163 | + /** |
| 164 | + * 换货拒绝发货 |
| 165 | + * 文档地址:https://developers.weixin.qq.com/doc/store/shop/API/channels-shop-aftersale/api_rejectexchangereship.html |
| 166 | + * |
| 167 | + * @param afterSaleOrderId 售后单号 |
| 168 | + * @param rejectReason 拒绝原因具体描述 ,可使用默认描述,也可以自定义描述 |
| 169 | + * @param rejectReasonType 拒绝原因枚举值 |
| 170 | + * @param rejectCertificates 退款凭证,可使用图片上传接口获取media_id(数据类型填0) |
| 171 | + * @return BaseResponse |
| 172 | + * |
| 173 | + * @throws WxErrorException 异常 |
| 174 | + */ |
| 175 | + WxChannelBaseResponse rejectExchangeReship(String afterSaleOrderId, String rejectReason, Integer rejectReasonType, List<String> rejectCertificates) throws WxErrorException; |
| 176 | + |
| 177 | + /** |
| 178 | + * 商家协商 |
| 179 | + * 文档地址:https://developers.weixin.qq.com/doc/store/shop/API/channels-shop-aftersale/api_merchantupdateaftersale.html |
| 180 | + * @param param 参数 |
| 181 | + * @return BaseResponse |
| 182 | + * |
| 183 | + * @throws WxErrorException 异常 |
| 184 | + */ |
| 185 | + WxChannelBaseResponse merchantUpdateAfterSale(AfterSaleMerchantUpdateParam param) throws WxErrorException; |
152 | 186 | } |
0 commit comments