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

namespace XYY.Service.Standard.ChannelApi.PPX
{
    public class CreateOrderParam
    {
        public string reference_no { get; set; }
        public string shipping_code { get; set; }
        public string remark { get; set; }
        public int sender_address_id { get; set; }
        public string shipping_address_id { get; set; }
        public string consignee { get; set; }
        public string company { get; set; }
        public string street1 { get; set; }
        public string street2 { get; set; }
        public string city { get; set; }
        public string province { get; set; }
        public string postcode { get; set; }
        public string country { get; set; }
        public string tel { get; set; }
        public List<Package> packages { get; set; }
        public List<Products> products { get; set; }
    }

    public class Package
    {
        public decimal weight { get; set; }
        public decimal length { get; set; }
        public decimal width { get; set; }
        public decimal height { get; set; }
        public string package_number { get; set; }
        public string remark { get; set; }
    }
    public class Products
    {
        public string sku { get; set; }
        public string dec_cn_name { get; set; }
        public string dec_en_name { get; set; }
        public decimal dec_value { get; set; }
        public string hs_code { get; set; }
        public decimal dec_weight { get; set; }
        public int quantity { get; set; }
        public string package_number { get; set; }
    }
}
