0% found this document useful (0 votes)
28 views4 pages

ATM Info: Withdraw/Deposit

The document describes a class diagram for a banking system. It shows the relationships between various classes like Bank, Customer, ATM, Debit Card, Account, Transactions. The Bank class manages ATM information and customers. The Customer class identifies debit cards and accounts. The Debit Card class provides access to accounts. The Account class represents different types of accounts like current and savings that allow depositing and withdrawing funds. The Transaction classes modify details of different transactions.

Uploaded by

Jatin Rathod
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views4 pages

ATM Info: Withdraw/Deposit

The document describes a class diagram for a banking system. It shows the relationships between various classes like Bank, Customer, ATM, Debit Card, Account, Transactions. The Bank class manages ATM information and customers. The Customer class identifies debit cards and accounts. The Debit Card class provides access to accounts. The Account class represents different types of accounts like current and savings that allow depositing and withdrawing funds. The Transaction classes modify details of different transactions.

Uploaded by

Jatin Rathod
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Bank

Bank Id: char Location: char

Maintains

ATM Info.
Location: char

has

Customer
Id: char Name: char Address: char Transaction()

Manages()

Identifies

Manages
owns

Debit Card
Card No: char Own By: char Access() Provide access to

Account
Type: char Own By: char Branch Loc.: char
Withdraw/Deposit()

ATM Trans.
Modifies Trans.ID: char Date: Date Amount: Int Modify()

Check Bal.
Trans. Id: char Date: date Amount: Int Modify()

Current Acc.
Acc No.: char Balance: float

Saving Acc.
Acc. No.: char Balance: float

Transfer
Amount: int Acc. No: char

Withdraw
Amount: int Withdraw()

Change Pin
Old Pin: int New Pin: int Change pin()

Transfer()

Start Enter name

Check account number


Valid account number Check given account number is valid or not Account number is invalid

Amount Stop

Fig. Activity diagram for Deposit Money

1: Insert card 6: Enter amount to deposite 9: Enter amount to withdraw

: Client

4:Eject card 5:Request amount 1: Close transaction

: ATM

11:Inform client if balance is insufficient

3: Invalid Pin 2: Verify Pin

7: Deposit amount 8: Update account 10: Withdraw if balance is sufficient

: Insert

: Database

You might also like