10 : Enter amount to withdraw() 8 : Enter amount to deposit() 3 : Pin entered() 1 : Iinsert card() Customer 2 : Request pin() 7 : Eject card()
15 : Collect cash() ATM 5 : Card verification()
4 : Verify pin() 16 : Inform if balance is insufficient() 6 : Invalid pin() 14 : withdraw if balance is sufficient() Bank 9 : Deposit amount() 11 : Update amount() 13 : Perform transaction() 12 : Check validity() Database
Fig:- Collaboration diagram for an ATM system