0% found this document useful (0 votes)
0 views

ATM System

The document outlines the functionality and structure of an ATM system, detailing customer interactions such as checking balances and withdrawing cash. It includes various diagrams such as use case, class, collaboration, activity, sequence, state chart, CRC, and object diagrams to illustrate the system's components and processes. The ATM verifies the customer's PIN, manages transactions, and communicates with the bank database to maintain records and account balances.

Uploaded by

gera766
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

ATM System

The document outlines the functionality and structure of an ATM system, detailing customer interactions such as checking balances and withdrawing cash. It includes various diagrams such as use case, class, collaboration, activity, sequence, state chart, CRC, and object diagrams to illustrate the system's components and processes. The ATM verifies the customer's PIN, manages transactions, and communicates with the bank database to maintain records and account balances.

Uploaded by

gera766
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Case Study

Customer uses bank ATM to Check Balances of his/her bank accounts


& Withdraw Cash. When Customer enter his/her pin, ATM Machine Verify it.
Bank database will monitor all the activity of Customer. After transaction the
ATM will Eject the card and the bank will send a transaction successful message
to the customer. The bank will also keep the transaction record to its database.
Use Case Diagram For ATM System

Login <<include>> Verify


Pin

Withdraw Dispatch
amount Card

ATM
Update
Details
Customer
Cancel
Transaction
Bank

Send Transaction
Check
Message
Balance
Class Diagram For ATM System

Customer ATM
-id: int
-atmID: string
-name: string
-location: string
-accountNo: string
-balance: double 1..* 1 -verifyPin()
-Withdraw()
-login()
-DispatchCard()
-insertCard()
-RecordTransaction()
-WithdrawMoney()
1..*

BankDB
-name: string
-updateAccount()
-saveTransaction()
Collaboration Diagram For ATM System
2: VerifyPin()
4: ShowBalance()
8: DispatchMoney()
9: DispatchCard()
Customer ATM

1: InsertCard()
3: CheckBalance()
5: WithdrawMoney()

6: VerifyBalance() 7: Balance Available

Bank
Activity Diagram For ATM System

Customer ATM Machine Bank

Insert Card

Enter Pin Authorize

[Valid Pin] [Invalid Pin]

Check Account
Enter Amount
Balance

[Balance < Amount]

[Balance >= Amount]

Take Money From


Debit Account
Slot

Show Balance

Take Card Eject Card


Phase
Sequence Diagram For ATM System

Bank Bank
Customer ATM
Service Account
Insert Card

Verify Card

alt

[condition] Vald Card

Enter Pin

[Else]
Invalid Card

Eject Card

Entered Pin

Verify Pin

alt

[condition]
Valid Pin

Enter Amount

[Else]
Invalid Pin

Eject Card

Entered Amount

Check balance

Verify Balance

alt Sufficient Fund

[condition] Transaction Successful

Dispatch Amount

[Else]
Insufficient Fund

Transaction Unsuccessful

Eject Card
State Chart Diagram For ATM System

Insert Card

Enter Pin

Transaction Menu

Withdraw Money
Invalid Pin

Dispatch Money
Not Available
Balance

Eject Card
CRC Card For ATM System

Customer ATM
Responsibility Colaboration Responsibility Colaboration
Login ATM Machine VerifyPin
InsertCard Withdraw
WithdrawMoney DispatchCard Customer
RecordTransaction BankDB

BankDB
Responsibility Colaboration
UpdateAccount
SaveTransaction ATM
Object Diagram For ATM System

c : Customer a : ATM
id= 201901
atmID= AT2003
name= Mr Junayed
location= Mirpur 10
accountNo= 162536958
balance= 350000.00 -verifyPin()
-Withdraw()
-login()
-DispatchCard()
-insertCard()
-RecordTransaction()
-WithdrawMoney()

b : BankDB
name= DBBL
-updateAccount()
-saveTransaction()

You might also like