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

namespace XYY.Service.Standard.ChannelApi.FTL
{
    public class InRecipient
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phoneNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string street1 { get; set; }
        public string street2 { get; set; }
        public string street3 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        public string zipcode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string country { get; set; }
    }

    public class CreateOrderParam
    {
        /// <summary>
        /// 
        /// </summary>
        public string client { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string transporter { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string reference { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public InRecipient recipient { get; set; }
    }

    public class OutRecipient
    {
        /// <summary>
        /// 
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string phoneNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string zipcode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string city { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string country { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string company { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string mobileNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string province { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string street1 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string street2 { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string street3 { get; set; }
    }

    public class CreateOrderResponse
    {

        public String labelUrl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string createdBy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string createdAt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string updatedBy { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string updatedAt { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string client { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string reference { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string transporter { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string trackingNumber { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int parcelQuantity { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double weight { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public OutRecipient recipient { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public bool trash { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string sortCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double createAging { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string clientReference { get; set; }
    }



}
