コード例 #1
0
        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);
        }
コード例 #2
0
        public WalletPayment ComputePayment(TradingHistory history)
        {
            WalletPayment ComputePayment = null;

            return(ComputePayment);
        }