linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package org.springblade.modules.pay.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import org.springblade.modules.pay.entity.WxPayInfo;
 
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.security.GeneralSecurityException;
import java.util.Map;
 
public interface IWxPayService extends IService<WxPayInfo> {
 
 
    void processOrder(Map<String, Object> bodyMap) throws GeneralSecurityException;
 
    void cancelOrder(String orderNo) throws Exception;
 
    String queryOrder(String orderNo) throws Exception;
 
    void checkOrderStatus(String orderNo) throws Exception;
 
    void refund(String orderNo, String reason) throws Exception;
 
    String queryRefund(String orderNo) throws Exception;
 
    void checkRefundStatus(String refundNo) throws Exception;
 
    void processRefund(Map<String, Object> bodyMap) throws Exception;
 
    Map<String, String> jsapiPay(Long productId) throws IOException;
 
    String refundsNotify(HttpServletRequest request, HttpServletResponse response);
 
    String nativeNotify(HttpServletRequest request, HttpServletResponse response);
}