package com.jeequan.jeepay.core.interfaces.paychannel;

import com.jeequan.jeepay.core.model.rqrs.msg.ChannelRetMsg;

import javax.servlet.http.HttpServletRequest;

/**
 * 特约商户 门店入驻回调
 *
 * @author xiaoyu
 *
 * @date 2022/3/25 16:35
 */
public interface IIsvmchStoreApplymentNotifyService {
    /** 通知类型 **/
    enum NoticeTypeEnum {
        DO_RETURN, //同步跳转
        DO_NOTIFY //异步回调
    }

    /** 获取到接口code **/
    String getIfCode();

    /** 返回需要更新的订单状态 和响应数据 **/
    ChannelRetMsg doNotice(HttpServletRequest request, String storeNo, String isvNo, IIsvmchStoreApplymentNotifyService.NoticeTypeEnum noticeTypeEnum);

}
