Class

AccountBalanceReport

AccountBalanceReport()

A AccountBalanceReport stores accounts balances.

Constructor

new AccountBalanceReport()

Methods

getBalances()

the account balances

getCumulativeBalance(formatopt) → {number}

Parameters:
Name Type Attributes Description
format boolean <optional>
If true, balance will be formatted based on decimal separator of book.
the account cumulative balance
number

getName() → {string}

the account name
string

getPeriodBalance(formatopt) → {number}

Parameters:
Name Type Attributes Description
format boolean <optional>
If true, balance will be formatted based on decimal separator of book.
the account period balance
number

isCredit() → {boolean}

Check if account is credit
boolean