Client: Bank of
Developer: CyberSystems.com
Author: Keith Richards
The Simple ATM allows account holders to make deposits to and withdraw funds from any accounts held at any branch of the Bank of Antarctica.
Detailed requirements can be found in the functional specification document.
interface CashDispenser {
void dispense(Money amount) throws InsufficientFunds;
}
interface CardReader {
int getPIN();
Bank getBank();
void ejectCard();
}
interface Terminal {
void display(String message);
String getCommand();
}
interface DepositSlot {
void activate();
}
interface BankGateway {
void debit(Account account, Money
amount) throws Exception;
void credit(Account account, Money
amount) throws Exception;
}
No entities in this model!
Revision |
Revised by |
Date |
1.0 |
Richards |
7/30/2009 |
1.1 |
Jagger |
8/8/2009 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|