accounting v0.7.0 Accounting.Adapter behaviour
Link to this section Summary
Link to this section Callbacks
Link to this callback
fetch_accounts(list, timeout)
fetch_accounts([Accounting.Account.no], timeout) :: {:ok, %{optional(Accounting.Account.no) => Accounting.Account.t}} | {:error, term}
Link to this callback
record_entry(arg0, arg1, list, timeout)
record_entry(String.t, Date.t, [Accounting.LineItem.t], timeout) :: :ok | {:error, term}
Link to this callback
register_account(arg0, arg1, timeout)
register_account(Accounting.Account.no, String.t, timeout) :: :ok | {:error, term}
Link to this callback
register_categories(list, timeout)
register_categories([atom], timeout) :: :ok | {:error, term}