예제 #1
0
        public void AddWithdrawal(int amount)
        {
            var today = _clock.TodayAsString();

            var transaction = new Transaction(today, amount);

            _transactions.Add(transaction);
        }
예제 #2
0
 public StatementLine(Transaction transaction, int balance)
 {
     _transaction = transaction;
     _balance = balance;
 }