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

namespace XYY.Service.Standard.ChannelApi.JiTu
{
    public class Sender
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string postcode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mailbox { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prov { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string area { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string address { get; set; }
    }

    public class Receiver
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string postcode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string countrycode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mobile { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string address { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string prov { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string city { get; set; } 
    }

    public class ItemsItem
    {
        /// <summary>
        /// 
        /// </summary>
        public string pricecurrency { get; set; }
        /// <summary>
        /// 手机壳
        /// </summary>
        public string itemname { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string englishName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string itemvalue { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string weight { get; set; }

        public string hsCode
        {
            get; set;
        }
    }

    public class CreateOrderRequest
    {
        public string weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string customerid { get; set; } 
        /// <summary>
        /// 
        /// </summary>
        public string txlogisticid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string ordertype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string servicetype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Sender sender { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Receiver receiver { get; set; }
        /// <summary>
        /// 空运
        /// </summary>
        public string transport { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string routeid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string goodstype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string paytype { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string createordertime { get; set; } 
        /// <summary>
        /// 
        /// </summary>
        public List<ItemsItem> items { get; set; }
    }
}
