Example #1
0
 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;
 }
Example #2
0
 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.");
 }
Example #4
0
 public override bool CalculateCosts(IOrderAllocation transaction, IFeeFactory feeFactory, IGLLookupRecords lookups)
 {
     return true;
 }