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

namespace XYY.Service.Standard.ChannelApi.IMG
{
    public class DetailList
    {
        /// <summary>
        /// 小手机
        /// </summary>
        public string goodsName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string goodsUnitPrice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string goodsSum { get; set; }
        /// <summary>
        /// 此字段用于在面单上展示商品 SKU， goodsRemark 字段,中将所有sku拼接，另外此字段可以展示50个字符左右
        /// </summary>
        public string goodsRemark { get; set; }
    }

    public class SalesOrder
    {
        /// <summary>
        /// 
        /// </summary>
        public string buyerCountries { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string poZipCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerProvince { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerCity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerAddress { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerAddress2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerCompany { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerPhone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string buyerCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string packageLength { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string packageWidth { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string packageHeight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string packageWeight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string carrierCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cusDocumentNo { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string returnAddress1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string returnAddress2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string needPushManifest { get; set; } = "Y";
        /// <summary>
        /// 
        /// </summary>
        public string fromCity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fromCompany { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fromName { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fromPhone { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fromPostalCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string fromState { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<DetailList> detailList { get; set; }
    }

    public class OrderData
    {
        /// <summary>
        /// 
        /// </summary>
        public SalesOrder salesOrder { get; set; }
    }

    public class CreateOrderParameter
    {
        /// <summary>
        /// 
        /// </summary>
        public string businessType { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string zrsupplyShipToken { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string callingTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string appToken { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OrderData data { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string verification { get; set; }
    }



    public class PicNumbers
    {
        /// <summary>
        /// 
        /// </summary>
        public List<string> picNumber { get; set; }
    }

    public class ConfirmOrderRequest
    {
        /// <summary>
        /// 
        /// </summary>
        public string appToken { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string zrsupplyShipToken { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public PicNumbers picNumbers { get; set; }
    }


}
