| Modifier and Type | Method and Description |
|---|---|
Screen |
Transaction.getScreen()
Returns a reference to the output screen.
|
| Constructor and Description |
|---|
BalanceInquiry(int accountNumber,
Screen screen,
BankDatabase bankDatabase)
Calls superclass Transaction to initialize the account number, screen and
bank database objects for this transaction.
|
Deposit(int accountNumber,
Screen screen,
BankDatabase bankDatabase,
Keypad keypad,
DepositSlot depositSlot)
Calls superclass Transaction to initialize the account number, screen and
bank database objects for this transaction and then sets the keypad and
cash dispenser objects to the values from the parameters.
|
Transaction(int accountNumber,
Screen screen,
BankDatabase bankDatabase) |
Withdrawal(int accountNumber,
Screen screen,
BankDatabase bankDatabase,
Keypad keypad,
CashDispenser cashDispenser)
Calls superclass Transaction to initialize the account number, screen and
bank database objects for this transaction and then sets the keypad and
cash dispenser objects to the values from the parameters.
|