diff --git a/src/accounts/account.ts b/src/accounts/account.ts new file mode 100644 index 0000000..73bc800 --- /dev/null +++ b/src/accounts/account.ts @@ -0,0 +1,11 @@ +// vim: set tw=80 ts=2 sw=2 sts=2 : + +import { AccountBalances } from './accountBalances'; + +export class Account { + id: number; + name: string; + authorized_overdraft: number; + + balances: AccountBalances; +} diff --git a/src/accounts/accountBalances.ts b/src/accounts/accountBalances.ts new file mode 100644 index 0000000..23a0059 --- /dev/null +++ b/src/accounts/accountBalances.ts @@ -0,0 +1,5 @@ +export class AccountBalances { + current: number; + pointed: number; + future: number; +}