Introduction
To understand it you need a basic understanding of ledgers. A ledger consists of a list of transactions.
Each transaction has a credit and a debit book (or account) as well as an amount. This means each transaction affects
one account negatively and one account positively.
To view the balance of a book you simply add up all the credit amounts and deduct all the debit amounts.
API Overview
The API currently consists of 3 main classes:
Implementing classes extend the abstract class Ledger. Book and Transaction are final as are several items in the
Ledger class.
LedgerFactory
The LedgerFactory is used to create new Ledgers.
Ledger
The LedgerFactory is used to create new Ledgers.
Books
The LedgerFactory is used to create new Ledgers.
Transactions
The LedgerFactory is used to create new Ledgers.