//-----------------------------------------------------------------------------------------------------
 public static bool LoadFromFile(string fileName, out USInvoiceLineTextile obj)
 {
     System.Exception exception = null;
     return LoadFromFile(fileName, out obj, out exception);
 }
 //-----------------------------------------------------------------------------------------------------
 /// <summary>
 /// Deserializes xml markup from file into an USInvoiceLineTextile object
 /// </summary>
 /// <param name="fileName">string xml file to load and deserialize</param>
 /// <param name="obj">Output USInvoiceLineTextile 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 USInvoiceLineTextile obj, out System.Exception exception)
 {
     exception = null;
     obj = default(USInvoiceLineTextile);
     try
     {
         obj = LoadFromFile(fileName);
         return true;
     }
     catch (System.Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 //-----------------------------------------------------------------------------------------------------
 /// <summary>
 /// Deserializes workflow markup into an USInvoiceLineTextile object
 /// </summary>
 /// <param name="input">string workflow markup to deserialize</param>
 /// <param name="obj">Output USInvoiceLineTextile 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 USInvoiceLineTextile obj, out System.Exception exception)
 {
     exception = null;
     obj = default(USInvoiceLineTextile);
     try
     {
         obj = Deserialize(input);
         return true;
     }
     catch (System.Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 //-----------------------------------------------------------------------------------------------------
 public static bool Deserialize(string input, out USInvoiceLineTextile obj)
 {
     System.Exception exception = null;
     return Deserialize(input, out obj, out exception);
 }
 //-----------------------------------------------------------------------------------------------------
 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();
 }