/// <summary>
 /// USInvoiceOrganisations class constructor
 /// </summary>
 public USInvoiceOrganisations()
 {
     IntermediateConsignee = new USOrganisationWithContactDetails();
     UltimateConsignee = new USOrganisationWithContactDetails();
     SupplierContactDetails = new USOrgContactDetails();
     Manufacturer = new ManufacturerType();
     Invoicer = new USInvoiceOrganisationsInvoicer();
     SellingAgent = new Organisation();
     Seller = new Organisation();
     Exporter = new Organisation();
     BuyingAgent = new Organisation();
     Buyer = new Organisation();
 }
 public static bool LoadFromFile(string fileName, out ManufacturerType obj)
 {
     Exception exception = null;
     return LoadFromFile(fileName, out obj, out exception);
 }
 /// <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();
 }
 public static bool LoadFromFile(string fileName, out ManufacturerType obj, out Exception exception)
 {
     return LoadFromFile(fileName, Encoding.UTF8, out obj, out exception);
 }
 /// <summary>
 /// Deserializes xml markup from file into an ManufacturerType object
 /// </summary>
 /// <param name="fileName">string xml file to load and deserialize</param>
 /// <param name="obj">Output ManufacturerType 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 ManufacturerType obj, out Exception exception)
 {
     exception = null;
     obj = default(ManufacturerType);
     try
     {
         obj = LoadFromFile(fileName, encoding);
         return true;
     }
     catch (Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 public static bool Deserialize(string input, out ManufacturerType obj)
 {
     Exception exception = null;
     return Deserialize(input, out obj, out exception);
 }
 /// <summary>
 /// Deserializes workflow markup into an ManufacturerType object
 /// </summary>
 /// <param name="input">string workflow markup to deserialize</param>
 /// <param name="obj">Output ManufacturerType 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 ManufacturerType obj, out Exception exception)
 {
     exception = null;
     obj = default(ManufacturerType);
     try
     {
         obj = Deserialize(input);
         return true;
     }
     catch (Exception ex)
     {
         exception = ex;
         return false;
     }
 }
 /// <summary>
 /// USFDA class constructor
 /// </summary>
 public USFDA()
 {
     Containers = new List<USOGAContainer>();
     Bills = new List<USFDABill>();
     AffirmationCodes = new List<USAffirmationCode>();
     Quantities = new USFDAQuantities();
     InnermostContainer = new USFDAInnermostContainer();
     EstablismentID = new USFDAEstablismentID();
     ManufacturerProducerData = new USFDAManufacturerProducerData();
     Shipper = new ManufacturerType();
     Manufacturer = new ManufacturerType();
 }