public void AddDebit(CommercialFee objFee, WalletPayment objPayment) { List <WalletPayment> feeList; this.Balance = decimal.Subtract(this.Balance, objPayment.Amount); if (!this.PastDebits.TryGetValue(objFee.Name, out feeList)) { feeList = new List <WalletPayment>(); this.PastDebits[objFee.Name] = feeList; } feeList.Insert(0, objPayment); }
public WalletPayment ComputePayment(TradingHistory history) { WalletPayment ComputePayment = null; return(ComputePayment); }