| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- package com.zanxiang.sdk.service;
- import com.zanxiang.common.domain.ResultMap;
- import com.zanxiang.sdk.domain.bo.ProductPayParamBO;
- import javax.servlet.http.HttpServletRequest;
- import javax.servlet.http.HttpServletResponse;
- import java.io.IOException;
- /**
- * @author xufeng
- * @date 2022/6/8 15:31
- */
- public interface OrderPayService {
- /**
- * 订单支付
- *
- * @param product : 商品信息
- * @return : 返回接过参数
- */
- ResultMap payCreate(ProductPayParamBO product);
- /**
- * 支付异步回调
- *
- * @param request : 请求参数
- * @param response : 接过
- * @param payType : 支付类型
- * @return : 返回接过
- * @throws IOException : 异常
- */
- String notify(HttpServletRequest request, HttpServletResponse response, Integer payType) throws IOException;
- /**
- * 异步回调
- *
- * @param request : 请求参数
- * @param payType : 支付类型
- * @return : 回调结果
- */
- ResultMap synNotify(HttpServletRequest request, Integer payType);
- }
|