2. Background
• System’s Requirements
1. The client must be able to deposit and
withdraw amount using ViaNet Bank Atm.
2. The date, time, transaction type, amount,
account balance must be recorded for each
transaction.
3. Two types of accounts are present.
i) Checking Account
II) Saving Account
4. We can Access the ViaNet Bank account
using a PIN code.
3. Contd….
4. Negative balance is not allowed for both
the accounts.
5. If the withdrawal amount is more than
the balance in the checking account then
the system automatically withdraws from
the saving account.
6. If the balance on the saving account is
less than the withdrawal amount then the
transaction will stop.
4. Identifying actors and usecases
The following usecases are created by using
system requirements, examination of existing
systems, interviews and asking questions,
observation.
2. Bank ATM Transaction
The steps in ATM transaction usecase are
Insert ATM card
Perform Approval Process
Ask type of Transaction
Enter the type of Transaction
Perform transaction
Eject card
Request take card
Take card
5.
6. Usecase’s Description
2. Approval Process
The Client enter the pin no, if it is valid, client’s
account become active.
The steps are
a) Request Pin no
b) Enter Pin no
c) Verify Pin no
3. Invalid Pin
If the pin no is not valid then appropriate msg is
displayed to client. This extends the approval
process.
7. Contd….
4. Deposit Amount
After the approval process, the client
requests to deposit money to an account.
The steps are
Request Account type
Request Deposit amount
Enter deposit amount
Put the cheque or cash in envelop and insert into
ATM
8. Contd..
5. Deposit Savings
The client selects the saving account type for
deposit, all the steps are same to the previous
one.
It extends the deposit amount Usecase
6. Deposit Checking
The client selects the checking account type for
deposit, all the steps are same to the previous
one.
It extends the deposit amount Usecase
9. Contd…
7. Withdraw Amount
After the approval process, the client
requests to withdraw money from account.
The steps are
Request Account type
Request Withdrawal amount
Enter Withdrawal amount
Verify sufficient funds
Eject cash
10. Contd…
8. Withdraw Checking
• The client tries to withdraw amount from his
checking account.
• When the amount is less than or equal to the
balance the transaction is performed.
• It extends the withdraw money usecase.
9. Withdraw more from Checking
The client tries to withdraw amount from his
checking account.
When the amount is more than the balance the
insufficient amount is withdrawn from the related
savings account.
It extends the withdraw money usecase
11. Insert card
Enter
password
Password rejected
Password accepted
Select type
of
transaction
more transaction
Perform
transaction
No more transaction
Take the
card
12. Bank ATM
<<uses>>. Approval process
Transaction
<<extends>>.
<<extends>>.
Checking
Invalid pin
transaction
history
<<extends>>.
<<extends>>.
<<extends>>.
Saving
Withdraw amount
transaction Deposit amount
history
13. Approval
Bank ATM <<uses>>.
process
Transaction
<<extends>>.
<<extends>>.
Checking
transaction Invalid pin
history
<<extends>>.
<<extends>>.
<<extends>>.
Saving Withdraw
transaction Deposit amount
history amount
<<extends>>.
<<extends>>.
<<extends>>.
Deposit checking
withdraw checking
Withdraw more
<<uses>>.
from checking
Withdraw saving