eleme.openapi.h5.sdk.pay.service.CallbackService Maven / Gradle / Ivy
package eleme.openapi.h5.sdk.pay.service;
import eleme.openapi.h5.sdk.pay.model.request.PayCallbackRequest;
import eleme.openapi.h5.sdk.pay.model.request.RefundCallbackRequest;
/**
* 回调服务
*/
public interface CallbackService {
/**
* 支付回调
* @param request 请求信息
* @param notifyUrl 通知地址
* @return 回调结果
* @throws Exception 异常信息
*/
boolean payCallback(PayCallbackRequest request, String notifyUrl) throws Exception;
/**
* 退款回调
* @param request 请求信息
* @param notifyUrl 通知地址
* @return 回调结果
* @throws Exception 异常信息
*/
boolean refundCallback(RefundCallbackRequest request, String notifyUrl) throws Exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy