package com.yc.ship.module.trade.service.ota;



import com.yc.ship.module.ota.api.dto.DistributorRespDTO;

import java.util.Map;

/**
 * 分销商Service
 */
public interface OtaService {
    String xieCheng = "xieChengService";
    String meiTuan = "meiTuanService";
    String tongCheng = "tongChengService";
    String tiktokLife = "tiktokLifeService";
    String tiktokCalendar = "tiktokCalendarService";

    String zshl = "zshlService";


    /**
     * @description 退票结果异步通知分销商
     * @param distributor 分销商信息
     * @param map       参数
     * @return boolean
     */
    boolean refundNotice(DistributorRespDTO distributor, Map<String, Object> map);

    /**
     * @param distributorRespDTO 分销商信息
     * @param map       参数
     * @return boolean
     * @description 核销通知
    //     */
    boolean consumeNotice(DistributorRespDTO distributorRespDTO, Map<String, Object> map);

}
