Class: AccountBalanceReport

AccountBalanceReport

A AccountBalanceReport stores accounts balances.

new AccountBalanceReport()

Methods

getBalances()

Returns:
the account balances

getCumulativeBalance(format) → {number}

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

getName() → {string}

Returns:
the account name
Type
string

getPeriodBalance(format) → {number}

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

isCredit() → {boolean}

Returns:
Check if account is credit
Type
boolean