| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- package com.cyksj.service.order;
- import com.alipay.api.AlipayApiException;
- import com.alipay.api.AlipayResponse;
- import com.alipay.api.response.AlipayFundTransCommonQueryResponse;
- import com.alipay.api.response.AlipayTradeFastpayRefundQueryResponse;
- import com.alipay.api.response.AlipayTradeQueryResponse;
- import com.baomidou.mybatisplus.extension.service.IService;
- import com.cyksj.dto.Result;
- import com.cyksj.model.dto.AliPayParams;
- import com.cyksj.model.dto.H5JsPayParams;
- import com.cyksj.model.entity.OrderDon;
- import com.cyksj.model.entity.RealGoodsInterestUser;
- import com.cyksj.model.manage.views.OrderDonView;
- import com.cyksj.model.request.OrderPayRequest;
- import com.cyksj.model.request.TransferAccountsReq;
- import com.cyksj.model.request.WxOrderRefundReq;
- import com.cyksj.model.request.ZfbOrderRefundReq;
- import java.util.Date;
- import java.util.List;
- import java.util.Map;
- /**
- * @author chan
- * @date 2021/10/11 下午4:07
- */
- public interface OrderDonService extends IService<OrderDon> {
- OrderDon submit(OrderPayRequest request) throws Exception;
- /**
- * 订单支付
- */
- H5JsPayParams pay(Long orderId, String tradeType) throws Exception;
- /**
- * 微信pc端支付
- */
- H5JsPayParams wxPcWebPay(Long orderId, String tradeType) throws Exception;
- /**
- * 微信支付回调
- */
- void prepayNotify(Map<String, String> map) throws Exception;
- /**
- * 关闭订单
- */
- void closeOrder(Long orderId);
- OrderDon renewal(OrderPayRequest request) throws Exception;
- OrderDonView getDetail(Long orderId, Long userId);
- List<OrderDon> getAppleOneOrderDons(List<Long> skuIds, List<String> noOrderStatus, Date yesZeroDate, Date thisZeroDate);
- /**
- * 支付宝预支付
- */
- AliPayParams aliPay(Long orderId, String returnUrl, String productCode, String qrPayMode) throws Exception;
- /**
- * 支付宝回调
- */
- void aliPayNotify(Map<String, String> paramsMap) throws Exception;
- /**
- * 微信退款
- */
- Result<String> wxRefund(WxOrderRefundReq wxOrderRefundReq) throws Exception;
- /**
- * 微信退款回调
- */
- void wxRefundNotify(Map<String, String> map) throws Exception;
- /**
- * 支付宝退款
- */
- Result<String> zfbRefund(ZfbOrderRefundReq zfbOrderRefundReq) throws Exception;
- List<RealGoodsInterestUser> selectNoPaymentRealGoods();
- Integer updateHasPaymentInterestRealGoods();
- void updateHasPaymentInterestRealGoodsPayTime();
- void saveTransport(Long addressId, Long orderId);
- /**
- * 支付宝红包转账
- */
- AlipayResponse transferAccounts(TransferAccountsReq transferAccountsReq) throws Exception;
- /**
- * 查询支付宝转账状态
- */
- AlipayFundTransCommonQueryResponse getTransFerStatusByTid(String translationId) throws Exception;
- /**
- * 支付宝订单详情
- */
- AlipayTradeQueryResponse getZfbOrderDetail(String shopId, String orderNo) throws AlipayApiException;
- /**
- * 支付宝退款订单详情
- */
- AlipayTradeFastpayRefundQueryResponse getZfbRefundDetail(String shopId, String orderNo) throws AlipayApiException;
- }
|