org.yes.tools.pay.service.PayService Maven / Gradle / Ivy
package org.yes.tools.pay.service;
import org.yes.tools.pay.module.request.*;
import org.yes.tools.pay.module.result.*;
public interface PayService {
WxAppletPayResult wxAppLetPay(WxAppletPayRequest request) throws Exception;
AliPayResult aliAppPay(AppPayRequest request) throws Exception;
H5PayResult aliH5Pay(PayRequest request) throws Exception;
/**
* 云闪付支付
*
* @return
*/
UacResult uacAppPay(PayRequest request);
CToBPayResult cTOBPay(CToBPayRequest request) throws Exception;
Result closeQrcode(CloseQrcodeRequest request);
PayNotifyResult parseOrderNotifyResult(String body);
Result appletRefund(RefundRequest request) throws Exception;
Result cToBRefund(CToBRefundRequest request) throws Exception;
Result appletRefundQuery(RefundQueryRequest request) throws Exception;
Result refund(RefundRequest request) throws Exception;
Result refundQuery(RefundQueryRequest request) throws Exception;
BTOCResult bTOCPay(BToCPayRequest request) throws Exception;
BTOCQueryOrderResult bTOCPayOrderQuery(BTOCPayOrderQueryRequest request) throws Exception;
Result bTOCRefund(BTOCRefundRequest request) throws Exception;
}