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