accounting v0.1.2 Accounting.Adapter behaviour

Summary

Callbacks

create_account(binary)
create_account(binary) :: :ok | {:error, any}
fetch_account_transactions(binary)
fetch_account_transactions(binary) ::
  {:ok, [Accounting.AccountTransaction.t]} |
  {:error, any}
receive_money(binary, arg1, list)
receive_money(binary, Date.t, [Accounting.LineItem.t]) ::
  :ok |
  {:error, any}
register_categories(list)
register_categories([atom]) :: :ok | {:error, any}
start_link()
start_link() :: Supervisor.on_start