2023-03-04 16:29:55 +08:00
|
|
|
package com.jsowell.pile.service;
|
|
|
|
|
|
|
|
|
|
public interface WechatPayService {
|
|
|
|
|
/**
|
|
|
|
|
* 获取微信支付参数
|
|
|
|
|
* @param dto
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
2024-08-13 14:05:48 +08:00
|
|
|
// Map<String, Object> weixinPayV3(WeixinPayDTO dto) throws Exception;
|
2023-03-04 16:29:55 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取微信支付回调信息
|
|
|
|
|
* @param request
|
|
|
|
|
* @param body
|
|
|
|
|
* @return
|
|
|
|
|
* @throws Exception
|
|
|
|
|
*/
|
2024-08-13 14:05:48 +08:00
|
|
|
// Map<String, Object> wechatPayCallbackInfo(HttpServletRequest request, WechatPayNotifyParameter body) throws Exception;
|
2023-03-04 16:29:55 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 微信退款接口
|
|
|
|
|
* ApplyForARefund
|
|
|
|
|
*/
|
2024-08-13 14:05:48 +08:00
|
|
|
// WechatPayRefundResponse ApplyForWechatPayRefundV3(WechatPayRefundRequest request) throws JsonProcessingException;
|
2023-03-04 16:29:55 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取微信退款回调信息
|
|
|
|
|
* @param request
|
|
|
|
|
* @param body
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
2024-08-13 14:05:48 +08:00
|
|
|
// Map<String, Object> wechatPayRefundCallbackInfo(HttpServletRequest request, WechatPayNotifyParameter body) throws Exception;
|
2023-03-04 16:29:55 +08:00
|
|
|
}
|