//----------------------------------------------------------------------------------------------------- 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 USInvoiceOrganisations() { this._intermediateConsignee = new USOrganisationWithContactDetails(); this._ultimateConsignee = new USOrganisationWithContactDetails(); this._supplierContactDetails = new USOrgContactDetails(); this._manufacturer = new ManufacturerType(); this._invoicer = new USInvoiceOrganisationsInvoicer(); this._sellingAgent = new Organisation(); this._seller = new Organisation(); this._exporter = new Organisation(); this._buyingAgent = new Organisation(); this._buyer = new Organisation(); }
//----------------------------------------------------------------------------------------------------- public static bool LoadFromFile(string fileName, out ManufacturerType obj) { System.Exception exception = null; return LoadFromFile(fileName, 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, out ManufacturerType obj, out System.Exception exception) { exception = null; obj = default(ManufacturerType); try { obj = LoadFromFile(fileName); return true; } catch (System.Exception ex) { exception = ex; return false; } }
//----------------------------------------------------------------------------------------------------- public static bool Deserialize(string input, out ManufacturerType obj) { System.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 System.Exception exception) { exception = null; obj = default(ManufacturerType); try { obj = Deserialize(input); return true; } catch (System.Exception ex) { exception = ex; return false; } }
//----------------------------------------------------------------------------------------------------- public USFDA() { this._containers = new List<USOGAContainer>(); this._bills = new List<USFDABill>(); this._affirmationCodes = new List<USAffirmationCode>(); this._quantities = new USFDAQuantities(); this._innermostContainer = new USFDAInnermostContainer(); this._establismentID = new USFDAEstablismentID(); this._manufacturerProducerData = new USFDAManufacturerProducerData(); this._shipper = new ManufacturerType(); this._manufacturer = new ManufacturerType(); }