using System.Collections.Generic;

namespace XYY.Service.Standard.ChannelApi.Base
{
    public class UploadResult
    {
        /// <summary>
        /// 执行毫秒数
        /// </summary>
        public int ExecutionTime
        {
            get; set;
        }


        public int ChannelId
        {
            get; set;
        }

        public string OrderJosn
        {
            get; set;
        }

        public string OrderGoodsJosn
        {
            get; set;
        }

        /// <summary>
        /// 跟踪号
        /// </summary>
        public string TrackingNumber { get; set; }
        /// <summary>
        /// 服务提供商的订单编号
        /// </summary>
        public string ServiceOrderNumber { get; set; }
        /// <summary>
        /// 转运单号
        /// </summary>
        public string TransferNumner { get; set; }
        /// <summary>
        /// API响应的内容
        /// </summary>
        public string ResponseContent { get; set; }
        /// <summary>
        /// 是否成功
        /// </summary>
        public bool IsSuccess { get; set; }

        public bool IsTransfer { get; set; }

        public byte[] LabelData
        {
            get; set;
        }

        /// <summary>
        /// 错误内容
        /// </summary>
        public string Error { get; set; }
        public string ServiceOrderNumber2 { get; set; }
        public string ServiceOrderNumber3 { get; set; }
        public string DownloadUrl { get; set; }
        public decimal ServierFee { get; set; }

        public string destinationCode { get; set; }

        public bool LazyDownloadLabel { get; set; }

        /// <summary>
        /// 以客户箱号，返回运单的字典
        /// </summary>
        public Dictionary<string, string> MPSTrackings { get; set; }
        /// <summary>
        /// 多个base64码 返回
        /// 德国dpd需要
        /// </summary>
        public List<string> DownloadUrls { get; set; }
    }
}
