package org.dromara.zhishu.service;

import org.dromara.common.core.domain.R;
import org.dromara.zhishu.domain.vo.FastMailVo;

import java.util.Map;

public interface IOrderExternalGoodsService {


    /**
     * 获取韵达快递单的pdf
     * @return
     */
    R<Map> getYundaPdf(FastMailVo fastMailVo, String erpOrderId, String printTemplateData, String type, String deliveryMode, String orderSn);


    /**
     * 获取中通快递单PDF
     * @param fastMailVo
     * @param erpOrderId
     * @param printTemplateData
     * @param type
     * @param deliveryMode
     * @param orderSn
     * @return
     */
    R<Map> getZtoPdf(FastMailVo fastMailVo, String erpOrderId, String printTemplateData, String type, String deliveryMode, String orderSn);


    /**
     * 创建快递单并获取快递单信息
     * @param fastMailVo
     * @param erpOrderId
     * @param printTemplateData
     * @param type
     * @param deliveryMode
     * @param orderS
     * @return
     */
    R<Map> orderCreate(FastMailVo fastMailVo, String erpOrderId, String printTemplateData, String type, String deliveryMode, String orderSn);
}
