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