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