mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
44 lines
1.2 KiB
Java
44 lines
1.2 KiB
Java
package com.jsowell.pile.service;
|
|
|
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
|
import com.jsowell.pile.dto.WeixinPayDTO;
|
|
import com.jsowell.wxpay.response.WechatPayNotifyParameter;
|
|
import com.jsowell.wxpay.response.WechatPayRefundRequest;
|
|
import com.jsowell.wxpay.response.WechatPayRefundResponse;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import java.util.Map;
|
|
|
|
public interface WechatPayService {
|
|
/**
|
|
* 获取微信支付参数
|
|
* @param dto
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
Map<String, Object> weixinPayV3(WeixinPayDTO dto) throws Exception;
|
|
|
|
/**
|
|
* 获取微信支付回调信息
|
|
* @param request
|
|
* @param body
|
|
* @return
|
|
* @throws Exception
|
|
*/
|
|
Map<String, Object> wechatPayCallbackInfo(HttpServletRequest request, WechatPayNotifyParameter body) throws Exception;
|
|
|
|
/**
|
|
* 微信退款接口
|
|
* ApplyForARefund
|
|
*/
|
|
WechatPayRefundResponse ApplyForWechatPayRefundV3(WechatPayRefundRequest request) throws JsonProcessingException;
|
|
|
|
/**
|
|
* 获取微信退款回调信息
|
|
* @param request
|
|
* @param body
|
|
* @return
|
|
*/
|
|
Map<String, Object> wechatPayRefundCallbackInfo(HttpServletRequest request, WechatPayNotifyParameter body) throws Exception;
|
|
}
|