accounting v0.8.0 Accounting.Adapter behaviour
Link to this section Summary
Link to this section Callbacks
Link to this callback
fetch_accounts(arg0, list, timeout)
fetch_accounts(Accounting.Journal.id, [account_number], timeout) :: {:ok, Accounting.Journal.accounts} | {:error, term}
Link to this callback
record_entry(arg0, arg1, arg2, list, timeout)
record_entry(Accounting.Journal.id, String.t, Date.t, [Accounting.LineItem.t], timeout) :: :ok | {:error, term}
Link to this callback
register_account(arg0, account_number, arg2, timeout)
register_account(Accounting.Journal.id, account_number, String.t, timeout) :: :ok | {:error, term}
Link to this callback
register_categories(arg0, list, timeout)
register_categories(Accounting.Journal.id, [atom], timeout) :: :ok | {:error, term}