public override bool CalculateCosts(IOrderAllocation transaction, IFeeFactory feeFactory, IGLLookupRecords lookups) { checkCostCalculater(transaction, feeFactory); Commission commDetails = feeFactory.CalculateCommission(transaction); if (commDetails != null) transaction.setCommission(lookups, commDetails.Amount); return true; }
public NotaTransaction(IOrderAllocation underlyingTx) : base(underlyingTx) { }
public override bool CalculateCosts(IOrderAllocation transaction, IFeeFactory feeFactory, IGLLookupRecords lookups) { throw new ApplicationException("The method is mot supported for a corpa."); }
public override bool CalculateCosts(IOrderAllocation transaction, IFeeFactory feeFactory, IGLLookupRecords lookups) { return true; }