/// <summary> /// Container class constructor /// </summary> public Container() { Custom = new ContainerCustom(); ExportProcess = new ContainerExportProcess(); ImportProcess = new ContainerImportProcess(); NetWeight = new DimensionValue(); GrossWeight = new DimensionValue(); ContainerType = new ContainerType(); ContainerCount = 1; }
/// <summary> /// HazardousGoods class constructor /// </summary> public HazardousGoods() { Volume = new DimensionValue(); Weight = new DimensionValue(); Contact = new ContactReference(); }
/// <summary> /// PackageProduct class constructor /// </summary> public PackageProduct() { ProductQuantity = new DimensionValue(); }
/// <summary> /// InvoiceHeader class constructor /// </summary> public InvoiceHeader() { References = new List<InvoiceReference>(); Routings = new List<PlannedLeg>(); CountryPayload = new InvoiceHeaderCountryPayload(); InvoiceLines = new List<InvoiceLine>(); InvoiceCharges = new List<InvoiceCharge>(); AddCustomsDetails = new List<AdditionalCustomsInformation>(); Weight = new DimensionValue(); Volume = new DimensionValue(); Consignee = new Organisation(); Consignor = new Organisation(); PackingDetails = new PackingDetails(); InvoiceAmount = new FinancialValue(); }
/// <summary> /// PackageBase class constructor /// </summary> public PackageBase() { Volume = new DimensionValue(); Height = new DimensionValue(); Width = new DimensionValue(); Length = new DimensionValue(); Weight = new DimensionValue(); }
/// <summary> /// USInvoiceLineDispatchedInvoiceQty class constructor /// </summary> public USInvoiceLineDispatchedInvoiceQty() { Quantity = new DimensionValue(); }
/// <summary> /// USInvoiceLineSupplementary class constructor /// </summary> public USInvoiceLineSupplementary() { Quantity3 = new DimensionValue(); Quantity2 = new DimensionValue(); Quantity1 = new DimensionValue(); }
/// <summary> /// InvoiceLine class constructor /// </summary> public InvoiceLine() { CountryPayload = new InvoiceLineCountryPayload(); LandedCosting = new LandedCostingInfo(); Summary = new InvoiceLineSummary(); Charges = new List<InvoiceCharge>(); NetWeight = new DimensionValue(); Weight = new DimensionValue(); Volume = new DimensionValue(); LineClassification = new InvoiceLineLineClassification(); CustomsInvoiceQty = new DimensionValue(); LinePrice = new FinancialValue(); InvoiceQty = new DimensionValue(); }
/// <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 DimensionValue obj) { Exception exception = null; return LoadFromFile(fileName, out obj, out exception); }
/// <summary> /// USFDAQuantities class constructor /// </summary> public USFDAQuantities() { Quantity6 = new DimensionValue(); Quantity5 = new DimensionValue(); Quantity4 = new DimensionValue(); Quantity3 = new DimensionValue(); Quantity2 = new DimensionValue(); Quantity1 = new DimensionValue(); }
public static bool LoadFromFile(string fileName, out DimensionValue obj, out Exception exception) { return LoadFromFile(fileName, Encoding.UTF8, out obj, out exception); }
/// <summary> /// Deserializes xml markup from file into an DimensionValue object /// </summary> /// <param name="fileName">string xml file to load and deserialize</param> /// <param name="obj">Output DimensionValue 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 DimensionValue obj, out Exception exception) { exception = null; obj = default(DimensionValue); try { obj = LoadFromFile(fileName, encoding); return true; } catch (Exception ex) { exception = ex; return false; } }
public static bool Deserialize(string input, out DimensionValue obj) { Exception exception = null; return Deserialize(input, out obj, out exception); }
/// <summary> /// Deserializes workflow markup into an DimensionValue object /// </summary> /// <param name="input">string workflow markup to deserialize</param> /// <param name="obj">Output DimensionValue 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 DimensionValue obj, out Exception exception) { exception = null; obj = default(DimensionValue); try { obj = Deserialize(input); return true; } catch (Exception ex) { exception = ex; return false; } }
/// <summary> /// USDDTCDetailsType class constructor /// </summary> public USDDTCDetailsType() { Quantity = new DimensionValue(); }