using System.Collections.Generic;

namespace CreateLabel_ML
{
   public class AddressFrom
   {
      public string province { get; set; }
      public string city { get; set; }
      public string name { get; set; }
      public string zip { get; set; }
      public string country { get; set; }
      public string address1 { get; set; }
      public string company { get; set; }
      public string address2 { get; set; }
      public string phone { get; set; }
      public string email { get; set; }
   }

   public class Parcel
   {
      public int weight { get; set; }
      public string distance_unit { get; set; }
      public string mass_unit { get; set; }
      public int height { get; set; }
      public int width { get; set; }
      public int length { get; set; }
   }

   public class AddressTo
   {
      public string province { get; set; }
      public string city { get; set; }
      public string name { get; set; }
      public string zip { get; set; }
      public string country { get; set; }
      public string address1 { get; set; }
      public string company { get; set; }
      public string address2 { get; set; }
      public string phone { get; set; }
      public string email { get; set; }
      public string reference { get; set; }
      public string contents { get; set; }
   }

   public class clsSrEnvios
   {
      public AddressFrom address_from { get; set; }
      public List<Parcel> parcels { get; set; }
      public AddressTo address_to { get; set; }
      public string consignment_note_class_code { get; set; }

    }
}
