/// <summary> /// Creates a new customer, which holds account and transaction information. /// </summary> /// <param name="accounts">The accounts for this customer.</param> public Customer(BankAccountCollection accounts) { this.accounts = accounts; this.transactionHistory = new TransactionCollection(); }
public Customer() { accounts = new BankAccountCollection(); transactions = new TransactionCollection(); }