package com.hzs.third.pay;

import com.hzs.common.core.domain.R;
import com.hzs.common.core.enums.EApprovalBusiness;
import com.hzs.system.sys.dto.ApprovalBusinessResultDTO;

/**
 * @Description: 在线支付等dubbo服务api
 * @Author: jiang chao
 * @Time: 2023/4/7 18:08
 * @Classname: IOnlineAgentServiceApi
 * @PackageName: com.hzs.third.pay
 */
public interface IOnlineServiceApi {

    /**
     * 三方服务信息处理回调
     *
     * @param approvalBusinessResultDTO
     * @return
     */
    R<Boolean> approvalCallback(ApprovalBusinessResultDTO approvalBusinessResultDTO);

    /**
     * 三方服务信息签呈查询
     *
     * @param eApprovalBusiness 业务类型
     * @param businessCode      业务单号
     * @return
     */
    R queryApprovalData(EApprovalBusiness eApprovalBusiness, String businessCode);

}
