//-----------------------------------------------------------------------------------------------------
 public PackageProduct()
 {
     this._productQuantity = new DimensionValue();
 }
 //-----------------------------------------------------------------------------------------------------
 public PackageBase()
 {
     this._volume = new DimensionValue();
     this._height = new DimensionValue();
     this._width = new DimensionValue();
     this._length = new DimensionValue();
     this._weight = new DimensionValue();
 }
 //-----------------------------------------------------------------------------------------------------
 public HazardousGoods()
 {
     this._volume = new DimensionValue();
     this._weight = new DimensionValue();
     this._contact = new ContactReference();
 }
 //-----------------------------------------------------------------------------------------------------
 public USInvoiceLineSupplementary()
 {
     this._quantity3 = new DimensionValue();
     this._quantity2 = new DimensionValue();
     this._quantity1 = new DimensionValue();
 }
 //-----------------------------------------------------------------------------------------------------
 public InvoiceHeader()
 {
     this._references = new List<InvoiceReference>();
     this._routings = new List<PlannedLeg>();
     this._countryPayload = new InvoiceHeaderCountryPayload();
     this._invoiceLines = new List<InvoiceLine>();
     this._invoiceCharges = new List<InvoiceCharge>();
     this._addCustomsDetails = new List<AdditionalCustomsInformation>();
     this._weight = new DimensionValue();
     this._volume = new DimensionValue();
     this._consignee = new Organisation();
     this._consignor = new Organisation();
     this._packingDetails = new PackingDetails();
     this._invoiceAmount = new FinancialValue();
 }
 //-----------------------------------------------------------------------------------------------------
 public USInvoiceLine()
 {
     this._supplementary = new USInvoiceLineSupplementary();
     this._vehicleDetails = new USInvoiceLineVehicleDetails();
     this._dDTCDetails = new USDDTCDetailsType();
     this._exportLicense = new USLicenseType();
     this._laceyActDetails = new List<USLaceyAct>();
     this._oGAIndicators = new USInvoiceLineOGAIndicators();
     this._dOTs = new List<USDOT>();
     this._fCCs = new List<USFCC>();
     this._fDAs = new List<USFDA>();
     this._packagingUnits = new List<USInvoiceLinePackagingUnit>();
     this._registrationNumbers = new List<TypeNumber>();
     this._tSCA = new USInvoiceLineTSCA();
     this._fees = new List<USInvoiceLineFee>();
     this._thirdQty = new DimensionValue();
     this._secondQty = new DimensionValue();
     this._fTZ = new USInvoiceLineFTZ();
     this._ultimateConsignee = new USInvoiceLineUltimateConsignee();
     this._manufacturer = new ManufacturerType();
     this._softwoodLumber = new SoftwoodLumberType();
     this._basisUnit = new USInvoiceLineBasisUnit();
     this._dispatchedInvoiceQty = new USInvoiceLineDispatchedInvoiceQty();
     this._hazardousMaterial = new USInvoiceLineHazardousMaterial();
     this._textile = new USInvoiceLineTextile();
     this._pIRPRuling = new PIRPRulingType();
     this._permitAndLicence = new PermitAndLicenceType();
     this._countervailing = new USInvoiceLineCountervailing();
     this._antiDumping = new USInvoiceLineAntiDumping();
     this._articleNo = new USInvoiceLineArticleNo();
 }
 //-----------------------------------------------------------------------------------------------------
 public USInvoiceLineDispatchedInvoiceQty()
 {
     this._quantity = new DimensionValue();
 }
 //-----------------------------------------------------------------------------------------------------
 public USFDAQuantities()
 {
     this._quantity6 = new DimensionValue();
     this._quantity5 = new DimensionValue();
     this._quantity4 = new DimensionValue();
     this._quantity3 = new DimensionValue();
     this._quantity2 = new DimensionValue();
     this._quantity1 = new DimensionValue();
 }
 //-----------------------------------------------------------------------------------------------------
 public InvoiceLine()
 {
     this._countryPayload = new InvoiceLineCountryPayload();
     this._landedCosting = new LandedCostingInfo();
     this._summary = new InvoiceLineSummary();
     this._charges = new List<InvoiceCharge>();
     this._containerNumbers = new List<string>();
     this._netWeight = new DimensionValue();
     this._weight = new DimensionValue();
     this._volume = new DimensionValue();
     this._lineClassification = new InvoiceLineLineClassification();
     this._customsInvoiceQty = new DimensionValue();
     this._linePrice = new FinancialValue();
     this._invoiceQty = new DimensionValue();
 }
 //-----------------------------------------------------------------------------------------------------
 public static bool LoadFromFile(string fileName, out DimensionValue obj)
 {
     System.Exception exception = null;
     return LoadFromFile(fileName, out obj, out exception);
 }
 //-----------------------------------------------------------------------------------------------------
 /// <summary>
 /// Deserializes xml markup from file into an DimensionValue object
 /// </summary>
 /// <param name="fileName">string xml file to load and deserialize</param>
 /// <param name="obj">Output DimensionValue object</param>
 /// <param name="exception">output Exception value if deserialize failed</param>
 /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns>
 public static bool LoadFromFile(string fileName, out DimensionValue obj, out System.Exception exception)
 {
     exception = null;
     obj = default(DimensionValue);
     try
     {
         obj = LoadFromFile(fileName);
         return true;
     }
     catch (System.Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 //-----------------------------------------------------------------------------------------------------
 public static bool Deserialize(string input, out DimensionValue obj)
 {
     System.Exception exception = null;
     return Deserialize(input, out obj, out exception);
 }
 //-----------------------------------------------------------------------------------------------------
 /// <summary>
 /// Deserializes workflow markup into an DimensionValue object
 /// </summary>
 /// <param name="input">string workflow markup to deserialize</param>
 /// <param name="obj">Output DimensionValue object</param>
 /// <param name="exception">output Exception value if deserialize failed</param>
 /// <returns>true if this Serializer can deserialize the object; otherwise, false</returns>
 public static bool Deserialize(string input, out DimensionValue obj, out System.Exception exception)
 {
     exception = null;
     obj = default(DimensionValue);
     try
     {
         obj = Deserialize(input);
         return true;
     }
     catch (System.Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 //-----------------------------------------------------------------------------------------------------
 public USDDTCDetailsType()
 {
     this._quantity = new DimensionValue();
 }