accounting v0.4.0 Accounting
Summary
Functions
fetch_account_transactions(account_number, timeout \\ 5000)
fetch_account_transactions(String.t, timeout) :: {:ok, [Accounting.AccountTransaction.t]} | {:error, any}
fetch_balance(account_number, timeout \\ 5000)
fetch_balance(String.t, timeout) :: {:ok, integer} | {:error, any}
receive_money(from, date, line_items, timeout \\ 5000)
receive_money(String.t, Date.t, [Accounting.LineItem.t], timeout) :: :ok | {:error, any}
register_categories(categories, timeout \\ 5000)
register_categories([atom], timeout) :: :ok | {:error, any}
spend_money(to, date, line_items, timeout \\ 5000)
spend_money(String.t, Date.t, [Accounting.LineItem.t], timeout) :: :ok | {:error, any}