public override void ReadFragmentFrom(IMwsReader reader) { _feeType = reader.Read <string>("FeeType"); _feeAmount = reader.Read <MoneyType>("FeeAmount"); _feePromotion = reader.Read <MoneyType>("FeePromotion"); _taxAmount = reader.Read <MoneyType>("TaxAmount"); _finalFee = reader.Read <MoneyType>("FinalFee"); _includedFeeDetailList = reader.Read <FeeDetailList>("IncludedFeeDetailList"); }
public override void ReadFragmentFrom(IMwsReader reader) { _timeOfFeesEstimation = reader.Read <DateTime?>("TimeOfFeesEstimation"); _totalFeesEstimate = reader.Read <MoneyType>("TotalFeesEstimate"); _feeDetailList = reader.Read <FeeDetailList>("FeeDetailList"); }
/// <summary> /// Sets the FeeDetailList property. /// </summary> /// <param name="feeDetailList">FeeDetailList property.</param> /// <returns>this instance.</returns> public FeesEstimate WithFeeDetailList(FeeDetailList feeDetailList) { this._feeDetailList = feeDetailList; return(this); }
/// <summary> /// Sets the IncludedFeeDetailList property. /// </summary> /// <param name="includedFeeDetailList">IncludedFeeDetailList property.</param> /// <returns>this instance.</returns> public FeeDetail WithIncludedFeeDetailList(FeeDetailList includedFeeDetailList) { this._includedFeeDetailList = includedFeeDetailList; return(this); }