CRC Card Sample - ATM Machine: User Menu
CRC Card Sample - ATM Machine: User Menu
CRC Card Sample - ATM Machine: User Menu
User Menu
Responsibilities Collaborators
Display main menu
Ask user for PIN
Send PIN to BankSystem for validation BankSystem
Display validation errors
Ask BankSystem for balance BankSystem
Print Balance Printer
Display Fast Cash menu
Debit Account BankSystem
Dispense Money MoneyDispenser
Print Receipt Printer
Eject card CardReader
Bank System
Responsibilities Collaborators
Validate PIN
Get Balance
Card Reader
Responsibilities Collaborators
Detect card inserted
Tell UserMenu to ask for PIN UserMenu
Eject card
Printer
Responsibilities Collaborators
Print Balance
Print Receipt
Money Dispenser
Responsibilities Collaborators
Dispense Money