Description: The customer logs into an ATM machine and withdraws a desired amount of cash.

Size: px
Start display at page:

Download "Description: The customer logs into an ATM machine and withdraws a desired amount of cash."

Transcription

1 UC1: Withdraw Cash Description: The customer logs into an ATM machine and withdraws a desired amount of cash. Primary Actor: Customer Stakeholders and Interests: - Customer: Wants quick, accurate withdrawal of cash - Bank: Wants to give fast, accurate and reliable service to the customer - Bank that owns ATM: (If not the same as the customer s bank): Wants to charge the customer the correct amount of surcharge on the withdrawal. - ATM Administrator: Wants to ensure that the ATM always has sufficient cash for a predicted number of withdrawals per day. - Government: Wants to deduct tax if applicable on the customer s updated account balance. Pre-conditions: The customer must have a valid ATM card and PIN. Post-conditions: The customer receives the cash amount that he wanted to withdraw, with a receipt, if indicated. The customer s account balance is updated in the system. Assumptions: - The withdrawal limit for a single transaction is known as SINGLE_TRANSACTION_LIMIT. - The amount of cash to be withdrawn must be entered in multiples of The withdrawal limit for a single day is known as SINGLE_DAY_TRANSACTION_LIMIT. - The customer can make an unlimited number of transactions at any given time, given that the total amount of the all transactions is within the SINGLE_DAY_TRANSACTION_LIMIT. - The total number of incorrect tries that a customer is allowed for a PIN code is three, after which the ATM card will be captured by the ATM machine. Main Success Scenario: 1. The customer inserts his or her ATM card into the ATM machine. 2. The system validates the ATM card and prompts the customer to enter PIN code. 3. The customer enters the PIN and selects the Submit option on the Login Screen. 4. The system validates the PIN entered and displays the Options Menu Screen. 5. The customer selects the Cash Withdrawal option from the Options Menu. 6. The system prompts the customer to enter the amount of cash that he or she wants to withdraw. 7. The customer enters a cash amount and selects the Submit option on the Cash Withdrawal Screen. 1

2 8. The system validates the amount entered; checks account balance and that the machine has enough cash for the transaction, and asks the customer if he or she wants a receipt for the transaction. 9. The customer selects Yes on the Receipts Screen. 10. The system ejects the ATM card, provides the cash, prints the receipt and updates the account balance of the customer in the system. Alternate Scenarios: (Note: Besides these alternate scenarios, there are a number of power related failure alternate cases but we are not dealing with these cases here). *a. If the customer presses the Cancel button on the ATM machine at any time, the system cancels the transaction and returns the ATM card to the customer. 2. a. System detects that the ATM card is not compatible with the ATM machine, or has been damaged. 1. The system rejects the ATM card and displays an error message indicating the reason why the customer s ATM card was unacceptable. 4. a. The PIN that the customer has entered is not valid. 1. The system prompts the customer to enter a valid PIN. 2. The customer enters his or her PIN and selects the Submit option. 3. The system validates the PIN, displays the Options menu, and continues from step 5 (Main Success Scenario). 3. a. The entered PIN is incorrect a second time. 1. The system repeats steps 1-3 of 4a. 1 a. If the PIN is still incorrect, the system captures the ATM card and displays an error message to the customer indicating that the PIN was entered incorrectly thrice. 4. b. The issuer link is down and the ATM machine is unable to connect to the issuer system to validate the customer. 1. The system displays an error message indicating that the issuer link is down, and returns the ATM card to the customer. 5. a. The customer selects the Fast Cash option. 1. The system displays the cash amount options available in Fast Cash. 2. The customer selects a cash amount indicated on the Fast Cash Screen. 3. The system continues from step 8 (Main Success Scenario). 8. a. The customer has not entered an amount for withdrawal. 1. The system displays an error message indicating that the customer has not entered any amount to be withdrawn and continues from step 6 (Main Success Scenario). 2

3 8. b. The customer has entered an amount that exceeds the withdrawal limit for a single transaction (SINGLE_TRANSACTION_LIMIT). 1. The system displays an error message indicating that the customer can withdraw a maximum amount up to the single transaction withdrawal limit, and continues from step 6 (Main Success Scenario). 8. c. The customer does not have enough balance in his or her account to complete the withdrawal. 1. The system displays an error message indicating that the customer does not have sufficient account balance, and asks the customer whether he or she would like to enter another amount to be withdrawn. 2. The customer selects Yes. 2. a. The customer selects No. 1. The system cancels the transaction and returns the ATM card to the customer. 3. The system continues from step 6 (Main Success Scenario). 8 d. The amount entered is not in multiples of The system displays an error message indicating that the amount to be withdrawn must be entered in multiples of 100, and continues from step 6 (Main Success Scenario). 8. e. The customer has entered an amount that exceeds the withdrawal limit for a single day (SINGLE_DAY_TRANSACTION_LIMIT). 1. The system displays an error message indicating that the customer can withdraw a maximum amount up to the single day withdrawal limit, and continues from step 6 (Main Success Scenario). 8. f. The ATM machine does not have sufficient cash to complete the transaction. 1. The system displays an error message indicating that the ATM machine is out of cash, asks the customer to try a different amount by continuing from step 6 (Main Success Scenario). 9. a. The customer selects No on the Receipts Screen. 1. The system returns the ATM card to the customer, provides the cash, and updates the account balance of the customer in the system. 10. a. The ATM machine does not have enough paper to print the receipt. 1. The system displays an error message indicating the unavailability of receipts at the present time, returns the ATM card to the customer, provides the cash, and updates the account balance of the customer in the system. 3

4 Screenshots: (Please note: These are very basic screen shots. For your projects, you are expected to make much more elaborate and more extensively designed screen shots. Also, note that references have been made to these screen shots in the use case itself). Login Screen: Please enter your PIN code: Submit Cancel Options Menu: Options Menu Please select what you would like to do: >> Cash Withdrawal >> Balance Transfer >> Fast Cash >> Cheque Deposit >> Check Balance >> Change PIN 4

5 Cash Withdrawal Screen: Cash Withdrawal Please enter the amount of cash to be withdrawn, in multiples of 100: Submit Cancel Fast Cash Screen: Fast Cash Please select the amount of cash to be withdrawn: >> 500 >>1000 >>2000 >>5000 >>7500 >>10, 000 5

6 Receipts Screen: Would you like to print a receipt for your transaction? Yes No 6