public void AddWithdrawal(int amount) { var today = _clock.TodayAsString(); var transaction = new Transaction(today, amount); _transactions.Add(transaction); }
public StatementLine(Transaction transaction, int balance) { _transaction = transaction; _balance = balance; }