//----------------------------------------------------------------------------------------------------- public InvoiceHeader() { this._references = new List<InvoiceReference>(); this._routings = new List<PlannedLeg>(); this._countryPayload = new InvoiceHeaderCountryPayload(); this._invoiceLines = new List<InvoiceLine>(); this._invoiceCharges = new List<InvoiceCharge>(); this._addCustomsDetails = new List<AdditionalCustomsInformation>(); this._weight = new DimensionValue(); this._volume = new DimensionValue(); this._consignee = new Organisation(); this._consignor = new Organisation(); this._packingDetails = new PackingDetails(); this._invoiceAmount = new FinancialValue(); }
//----------------------------------------------------------------------------------------------------- public InvoiceCharge() { this._chargeValue = new FinancialValue(); }
//----------------------------------------------------------------------------------------------------- public InvoiceLineSummary() { this._transportAndInsurance = new FinancialValue(); this._gST = new FinancialValue(); this._duty = new FinancialValue(); this._cIFInLocalCurr = new MonetaryAmount(); this._cIF = new FinancialValue(); this._insuranceInLocalCurr = new MonetaryAmount(); this._insurance = new FinancialValue(); this._freightInLocalCurr = new MonetaryAmount(); this._freight = new FinancialValue(); this._fOBInLocalCurr = new MonetaryAmount(); this._fOB = new FinancialValue(); }
//----------------------------------------------------------------------------------------------------- public LandedCostingInfo() { this._specialTax = new List<SpecialTax>(); this._entryFees = new FinancialValue(); this._excise = new FinancialValue(); this._otherDuty = new FinancialValue(); this._lCMisc = new FinancialValue(); this._lCGroupCharges = new List<LandedCostGroupCharge>(); this._sellDetails = new List<LandedCostSellDetails>(); this._totalCostPerUnit = new FinancialValue(); this._landingCostPerUnit = new FinancialValue(); this._dutiesAndTaxesPerUnit = new FinancialValue(); this._unitPriceInLocalCurrency = new FinancialValue(); }
//----------------------------------------------------------------------------------------------------- public InvoiceLine() { this._countryPayload = new InvoiceLineCountryPayload(); this._landedCosting = new LandedCostingInfo(); this._summary = new InvoiceLineSummary(); this._charges = new List<InvoiceCharge>(); this._containerNumbers = new List<string>(); this._netWeight = new DimensionValue(); this._weight = new DimensionValue(); this._volume = new DimensionValue(); this._lineClassification = new InvoiceLineLineClassification(); this._customsInvoiceQty = new DimensionValue(); this._linePrice = new FinancialValue(); this._invoiceQty = new DimensionValue(); }
//----------------------------------------------------------------------------------------------------- public LandedCostGroupCharge() { this._chargesAmount = new FinancialValue(); }
//----------------------------------------------------------------------------------------------------- public LandedCostSellDetails() { this._sellPriceIncGST = new FinancialValue(); this._sellPriceExGST = new FinancialValue(); }
//----------------------------------------------------------------------------------------------------- public static bool LoadFromFile(string fileName, out FinancialValue obj) { System.Exception exception = null; return LoadFromFile(fileName, out obj, out exception); }
//----------------------------------------------------------------------------------------------------- /// <summary> /// Deserializes xml markup from file into an FinancialValue object /// </summary> /// <param name="fileName">string xml file to load and deserialize</param> /// <param name="obj">Output FinancialValue 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 FinancialValue obj, out System.Exception exception) { exception = null; obj = default(FinancialValue); try { obj = LoadFromFile(fileName); return true; } catch (System.Exception ex) { exception = ex; return false; } }
//----------------------------------------------------------------------------------------------------- public static bool Deserialize(string input, out FinancialValue obj) { System.Exception exception = null; return Deserialize(input, out obj, out exception); }
//----------------------------------------------------------------------------------------------------- /// <summary> /// Deserializes workflow markup into an FinancialValue object /// </summary> /// <param name="input">string workflow markup to deserialize</param> /// <param name="obj">Output FinancialValue 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 FinancialValue obj, out System.Exception exception) { exception = null; obj = default(FinancialValue); try { obj = Deserialize(input); return true; } catch (System.Exception ex) { exception = ex; return false; } }
//----------------------------------------------------------------------------------------------------- public SpecialTax() { this._taxAmount = new FinancialValue(); }