A B C D E G M T W

A

account - Variable in class Customer
account for this customer

B

BankAccount - class BankAccount.
This class models a bank account.
BankAccount(Customer, double) - Constructor for class BankAccount
Constructor that takes a customer and balance

C

Customer - class Customer.
Class that describes a customer of a bank
Customer(String, String, double) - Constructor for class Customer
Constructor to create a new customer and create an account for this customer

D

deposit(double) - Method in class BankAccount
Method to deposit money to an account

E

equals(Object) - Method in class Customer
Method to check if two customer objects are equal (have the same id)

G

getAccount() - Method in class Customer
Method to get the account
getCustomer() - Method in class BankAccount
Method to get the customer
getId() - Method in class Customer
Method to get the id for this customer
getName() - Method in class Customer
Method to get the customer name

M

main(String[]) - Static method in class Customer
Method to test

T

toString() - Method in class BankAccount
Method to return information about this bank account in the form of a string

W

withdraw(Customer, double) - Method in class BankAccount
Method to withdraw money from the account for the given customer

A B C D E G M T W