CRC Card Sample - ATM Machine: User Menu

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

CRC Card Sample - ATM Machine

Basic user stories: Implemented?


1. User checks balance
2. User logs into the machine
3. User get "Fast Cash"
4. User makes a deposit
5. User withdraws from checking
6. User withdraws from savings

Note: These are not fully documented user stories. More


is needed, but these should give you an idea.
NOTE: Only back of card is shown… front of card is missing!

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

You might also like