Contents:
Balance
Bases: object
object
Very simple class that holds the balance, liability and recievable values for an account at a point in time
available
Return the available balance (balance - liability)
balance
Return the balance
from_data
Construct a balance from the passed json-deserialised object
is_overdrawn
Return whether or not this balance is overdrawn
liability
Return the liability
receivable
Return the receivable
to_data
Return this balance as a JSON-serialisable object
total
Return the sum of the passed balances