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

namespace XYY.Service.Standard.ChannelApi.SSD_USPS
{
    public class Consignee
    {
        /// <summary>
        /// 
        /// </summary>
        public string consignee_street { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string consignee_street2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string consignee_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string consignee_telephone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string consignee_postcode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string consignee_province { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string consignee_city { get; set; }
    }

    public class Shipper
    {
        /// <summary>
        /// 
        /// </summary>
        public string shipper_countrycode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipper_province { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipper_city { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipper_street { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipper_postcode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipper_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipper_telephone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipper_mobile { get; set; }
    }

    public class ItemArrItem
    {
        /// <summary>
        /// 甲油胶
        /// </summary>
        public string invoice_cnname { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string invoice_enname { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string invoice_weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string invoice_quantity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string invoice_unitcharge { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hs_code { get; set; }
        /// <summary>
        /// 服装
        /// </summary>
        public string invoice_brand { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sku { get; set; }
    }

    public class VolumeItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string length { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string width { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string height { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string box_number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string child_number { get; set; }
    }

    public class CreateOrderParam
    {
        /// <summary>
        /// 
        /// </summary>
        public string reference_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipping_method { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string country_code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string order_weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int order_pieces { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string reference_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shipment_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string POANumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Consignee Consignee { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Shipper Shipper { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ItemArrItem> ItemArr { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<VolumeItem> Volume { get; set; }
    }


    public class GetLabelParam
    {
        /// <summary>
        /// 
        /// </summary>
        public string reference_no { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int label_type { get; set; }

        public int label_content_type { get; set; }
        public int type { get; set; }
    }

    

    public class TrackDetail
    {
        /// <summary>
        /// 
        /// </summary>
        public string Occur_date { get; set; }
        /// <summary>
        /// 快件到达深圳仓库 Arrived AT Sort Facility SHENZHEN - CHINA, PEOPLES REPUBLIC
        /// </summary>
        public string Comment { get; set; }
        /// <summary>
        /// 安道尔 test1 test1
        /// </summary>
        public string track_area { get; set; }
        public string track_code { get; set; }
    }

    public class TrackDataItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Country_code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string New_date { get; set; }
        /// <summary>
        /// 快件到达深圳仓库 Arrived AT Sort Facility SHENZHEN - CHINA, PEOPLES REPUBLIC
        /// </summary>
        public string New_Comment { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<TrackDetail> Detail { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string CreateBy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string WaybillNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string TrackingNumber { get; set; }
    }


    public class GetTrackNumberRequest
    {
        public List<string> reference_no { get; set; }
    }


   
}
