Keypad |
|
|
|
Get Value from User |
Customer |
|
|
|
Get Account | |
match customer number and PIN |
Bank |
|
|
|
Read customer list from file | |
Find Customer | Customer |
BankAccount |
|
|
|
Get current balance | |
Deposit funds | |
Withdraw funds |
ATM |
|
|
|
Set state | |
Select Customer | Bank, Keypad |
Select Account | Customer, BankAccount, KeyPad |
Do Withdrawal | BankAccount, KeyPad |
Do Deposit | BankAccount, KeyPad |