Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- typedef sequence <Account> accounts;
- struct Account
- {
- long accountId;
- double balance;
- string name;
- };
- interface Customer
- {
- boolean payIn(double amount, long accountId);
- account getAccount(string name);
- };
- interface Administrator
- {
- string createAccount(double balance , string name);
- boolean deleteAccount(long accountId);
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement