page1
Customer
- Card: ATMCard[ ]
+ requestAtm ()
+ changePin (int pin)
ATMCard
- pin: Int
- Account: Account[ ]
- block: Boolean
+ addAccount (Account)
+ changePin (int pint)
+ requestAtm ()
Account
- balance: Double
- type: String
+ balance (int amount): Boolean
+ transfer (int amount, Account a): Boolean
+ withdraw (int amount): Boolean
Bank
- Card: ATMCard[ ]
+ block (int pin)
+ reactivate (int pin)
+ cancel (int pin)
ChequeAccount
- odlimit: Double
+ transfer (int amount, Account a): Boolean
+ withdraw (int amount): Boolean
SavingsAccount
+ transfer (int amount, Account a): Boolean
+ withdraw (int amount): Boolean