Академический Документы
Профессиональный Документы
Культура Документы
withdrawal
1. Use case begins when the ATM displays a prompt informing the customer to insert the atm card.
11. The use case ends when the ATM card is ejected.
Exceptions
2a The ATM card is invalid, the system ejects the card and the use case ends
5a The pin non is invalid and the system prompts the user to retype the pin no.
9a The amount is more than the daily withdrawal limit, an error message is shown and the user
case ends.
9b The amount is more than the account balance, an error message is shown and the user case
ends
Deposit
1. Use case begins when the ATM displays a prompt informing the customer to insert the atm card.
9. The system issues an envelope and prompts the user to insert money
10. The user inserts cash in the envelope and inserts the money
12. The use case ends when the ATM card is ejected.
Exceptions
3a The ATM card is invalid, the system ejects the card and the use case ends
5a The pin non is invalid and the system prompts the user to retype the pin no.
Demonstrates how an include can be used to reduce the complexity of a use case
Validate
1. Use case begins when the ATM displays a prompt informing the customer to insert the atm card.
Exceptions
3a The ATM card is invalid, the system ejects the card and the use case ends
5a The pin non is invalid and the system prompts the user to retype the pin no.
__________________________________________________________________
withdrawal
Exceptions
5a The amount is more than the daily withdrawal limit, an error message is shown and the user
case ends.
5b The amount is more than the account balance, an error message is shown and the user case
ends