using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XYY.Service.Standard.ChannelApi.myDHL
{
    //如果好用，请收藏地址，帮忙分享。
    public class ResultPackagesItem
    {
        /// <summary>
        /// 
        /// </summary>
        public int referenceNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackingNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackingUrl { get; set; }
    }

    public class DocumentsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string imageFormat { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string content { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string typeCode { get; set; }
    }

    public class LabelResult
    {
        /// <summary>
        /// 
        /// </summary>
        public string shipmentTrackingNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackingUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ResultPackagesItem> packages { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<DocumentsItem> documents { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<string> warnings { get; set; }
    }
}
