public static bool LoadFromFile(string fileName, out USInvoiceLineOGAIndicators obj)
 {
     Exception exception = null;
     return LoadFromFile(fileName, out obj, out exception);
 }
 public static bool LoadFromFile(string fileName, out USInvoiceLineOGAIndicators obj, out Exception exception)
 {
     return LoadFromFile(fileName, Encoding.UTF8, out obj, out exception);
 }
 /// <summary>
 /// Deserializes xml markup from file into an USInvoiceLineOGAIndicators object
 /// </summary>
 /// <param name="fileName">string xml file to load and deserialize</param>
 /// <param name="obj">Output USInvoiceLineOGAIndicators 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, System.Text.Encoding encoding, out USInvoiceLineOGAIndicators obj, out Exception exception)
 {
     exception = null;
     obj = default(USInvoiceLineOGAIndicators);
     try
     {
         obj = LoadFromFile(fileName, encoding);
         return true;
     }
     catch (Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 public static bool Deserialize(string input, out USInvoiceLineOGAIndicators obj)
 {
     Exception exception = null;
     return Deserialize(input, out obj, out exception);
 }
 /// <summary>
 /// Deserializes workflow markup into an USInvoiceLineOGAIndicators object
 /// </summary>
 /// <param name="input">string workflow markup to deserialize</param>
 /// <param name="obj">Output USInvoiceLineOGAIndicators 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 USInvoiceLineOGAIndicators obj, out Exception exception)
 {
     exception = null;
     obj = default(USInvoiceLineOGAIndicators);
     try
     {
         obj = Deserialize(input);
         return true;
     }
     catch (Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 /// <summary>
 /// USInvoiceLine class constructor
 /// </summary>
 public USInvoiceLine()
 {
     Supplementary = new USInvoiceLineSupplementary();
     VehicleDetails = new USInvoiceLineVehicleDetails();
     DDTCDetails = new USDDTCDetailsType();
     ExportLicense = new USLicenseType();
     LaceyActDetails = new List<USLaceyAct>();
     OGAIndicators = new USInvoiceLineOGAIndicators();
     DOTs = new List<USDOT>();
     FCCs = new List<USFCC>();
     FDAs = new List<USFDA>();
     PackagingUnits = new List<USInvoiceLinePackagingUnit>();
     RegistrationNumbers = new List<TypeNumber>();
     TSCA = new USInvoiceLineTSCA();
     Fees = new List<USInvoiceLineFee>();
     ThirdQty = new DimensionValue();
     SecondQty = new DimensionValue();
     FTZ = new USInvoiceLineFTZ();
     UltimateConsignee = new USInvoiceLineUltimateConsignee();
     Manufacturer = new ManufacturerType();
     SoftwoodLumber = new SoftwoodLumberType();
     BasisUnit = new USInvoiceLineBasisUnit();
     DispatchedInvoiceQty = new USInvoiceLineDispatchedInvoiceQty();
     HazardousMaterial = new USInvoiceLineHazardousMaterial();
     Textile = new USInvoiceLineTextile();
     PIRPRuling = new PIRPRulingType();
     PermitAndLicence = new PermitAndLicenceType();
     Countervailing = new USInvoiceLineCountervailing();
     AntiDumping = new USInvoiceLineAntiDumping();
     ArticleNo = new USInvoiceLineArticleNo();
 }