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

namespace XYY.Service.Standard.ChannelApi.Sengi
{
    public class ContentListItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string eName { get; set; }
        /// <summary>
        /// 键盘
        /// </summary>
        public string origName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string hsCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int quantity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal unitPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string unitPriceCurrency { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal unitWeight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string productUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sku { get; set; }
    }

    public class Receiver
    {
        /// <summary>
        /// 
        /// </summary>
        public string countryCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string firstName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lastName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string street { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string zipCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phoneAreaCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string houseNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string receiverCode { get; set; }
    }

    public class Sender
    {
        /// <summary>
        /// 
        /// </summary>
        public string countryCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string firstName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string lastName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string street { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string zipCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phoneAreaCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string houseNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string senderCode { get; set; }
    }

    public class Parcel
    {
        /// <summary>
        /// 
        /// </summary>
        public int length { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int width { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int height { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string labelAccess { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string markNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<ContentListItem> contentList { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Receiver receiver { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Sender sender { get; set; }
    }

    public class RootParam
    {
        /// <summary>
        /// 
        /// </summary>
        public string customerOrderNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prodCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int declareTypeCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int insuranceCoverage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string insuranceCurrency { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string iossNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int codValue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string codValueCurrency { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string dutyTerm { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal shippingFee { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string shippingFeeCurrency { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string depot { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Parcel parcel { get; set; }
    }


    public class Item
    {
        /// <summary>
        /// 
        /// </summary>
        public string customerOrderNumber { get; set; }
        public string errorMessage { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string labelUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackingNumber { get; set; }
    }

    public class RootResponse
    {
        /// <summary>
        /// 
        /// </summary>
        public int code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Item item { get; set; }
        /// <summary>
        /// 提交成功
        /// </summary>
        public string message { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string timeStamp { get; set; }
    }


}
