You are on page 1of 4

Lesson 02 - Research Assignment

Withdraw Cash use case for an Automated Teller Machine Date: 9-7-2014
1 Brief Description
This use case descries how a an! customer uses the ATM to withdraw mone" from
his#her an!in$ account%
2 Actor Brief Descriptions
&an! of America customer
3 Preconditions
i% There has to e an acti'e networ! connection to the &an!%
ii% The ATM has cash a'ailale%
4 Basic Flow of !ents
1% The use case e$ins when &an! Customer inserts their &an! Card%
2% (se Case: )alidate (ser *in numer is *erformed%
+% The ATM dis*la"s the different alternati'es that are a'ailale on this unit% ,n this case
the &an!in$ Customer selects -Withdraw Cash-%
4% The ATM *rom*ts for an account to use% ,n this case Chec!in$ or .a'in$s
/% The &an! Customer selects an account%
0% The ATM *rom*ts for an amount%
7% The &an! Customer enters an amount%
1% Card ,D2 3,42 amount and account is sent to &an! as a transaction% The &an!
Consortium re*lies with a $o#no $o re*l" tellin$ if the transaction is o!%
9% Then mone" is dis*ensed%
10% The &an! Card is returned%
11% The recei*t is *rinted%
12% The use case ends successfull"%
" Alternati!e Flows
"#1 $n!alid %ser
,f in ste* 2 of the asic flow &an! Customer the use case: )alidate (ser does not
com*lete this successfull"2 then
3a$e 1 of 4
Lesson 02 - Research Assignment
Withdraw Cash use case for an Automated Teller Machine Date: 9-7-2014
1% The use case ends with a failure condition%
"#2 &rong acco'nt
,f in ste* 1 of the asic flow the account selected " the &an! Customer is not associated
with this an! card2 then
1% The ATM shall dis*la" the messa$e -,n'alid Account 5 *lease tr" a$ain-%
2% The use case resumes at ste* 4%
"#3 &rong amo'nt
,f in ste* 7 in the asic flow2 the &an! Customer enters an amount that can6t e 6created6
with the !ind of in the ATM 7.ee .*ecial 8e9uirement WC-1 for 'alid amounts:2 then
1% The ATM shall dis*la" a the messa$e indicatin$ that the amount must e a multi*le of
the ills on hand2 and as! the &an! Customer to reenter the amount%
2% The use case resumes at ste* 7%
"#4 Amo'nt (ceeds &ithdrawal Limit
,f in ste* 7 in the asic flow2 the &an! Customer enters an amount that e;ceeds the
withdrawal limit 7.ee .*ecial 8e9uirement WC-2 for ma;imum amount:2 then
1% the ATM shall dis*la" a warnin$ messa$e2 and as! the &an! Customer to reenter the
amount
2% The use case resumes at ste* 7
"#" Amo'nt (ceeds Dail) &ithdrawal Limit
,f in ste* 1 in the asic flow2 the &an! res*onse indicates the dail" withdrawal limit has
een e;ceeded 7this is determined " the &an! and de*ends u*on the s*ecific account:2
then
1% The ATM shall dis*la" a warnin$ messa$e2 and as! the &an! Customer to reenter the
amount%
2% The use case resumes at ste* 7%
3a$e 2 of 4
Lesson 02 - Research Assignment
Withdraw Cash use case for an Automated Teller Machine Date: 9-7-2014
"#* $ns'fficient +ash
,f in ste* 7 in the asic flow2 the &an! Customer enters an amount that e;ceeds the
amount of cash a'ailale in the ATM2 then
1% The ATM will dis*la" a warnin$ messa$e2 and as! the &an! Customer to reenter the
amount%
2% The use case resumes at ste* 7%
"#, -o Response from Ban.
,f in ste* 1 of the asic there is no res*onse from the &an! within + seconds2 then
1% The ATM will re-tr"2 u* to three times%
2% ,f there is still no res*onse from the &an!2 the ATM shall dis*la" the messa$e
-4etwor! una'ailale 5 tr" a$ain later-%
+% The ATM shall return the card%
4% The ATM shall indicate that it is -Closed-%
/% The use case ends with a failure condition%
"#/ 0one) -ot Remo!ed
,f in ste* 9 of the asic flow the mone" is not remo'ed from the machine within 1/
seconds2 then
1% the ATM shall issue a warnin$ sound and dis*la" the messa$e -3lease remo'e cash-%
2% ,f there is still no res*onse from the &an! Customer within 1/ seconds the ATM will
re-tract the mone" and note the failure in the lo$%
+% the use case end with a failure condition%
"#1 2'it
,f at *oint *rior to ste* 1 in the asic flow the &an! Customer selects <uit2 then
1% The ATM shall *rint a recei*t indicatin$ the transaction was cancelled%
2% The ATM shall return the card%
3a$e + of 4
Lesson 02 - Research Assignment
Withdraw Cash use case for an Automated Teller Machine Date: 9-7-2014
+% The use case ends%
* 3e) 4cenarios
0%1 4o 8es*onse from &an!
, Post-conditions
,#1 4'ccessf'l +ompletion
The user has recei'ed their cash and the internal lo$s ha'e een u*dated%
,#2 Fail're +ondition
The lo$s ha'e een u*dated accordin$l"%
/ 4pecial Re5'irements
8.1 The ATM shall dispense cash in multiples of $20.
8.2 The maximum individual withdrawal is $500.
8.3 The ATM shall eep a lo!" includin! date and time" of all complete and incomplete
transactions with the #an.
3a$e 4 of 4

You might also like