Class

Group

Group()

This class defines a Group of Accounts.

Accounts can be grouped by different meaning, like Expenses, Revenue, Assets, Liabilities and so on.
Its useful to keep Accounts organized and for high level analysis.

Constructor

new Group()

Methods

getAccounts() → {Array.<Account>}

All Accounts this Group is has.
Array.<Account>

getId() → {number}

The id of this Group
number

getName() → {string}

The name of this Group
string

hasAccounts() → {boolean}

Check if this group has accounts
boolean