All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eleme.openapi.h5.sdk.pay.service.CallbackService Maven / Gradle / Ivy

There is a newer version: 1.0.11-RELEASE
Show newest version
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