Tai.Venues.FeeStore (tai v0.0.75)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Types

Link to this type

credential_id()

Specs

credential_id() :: Tai.Venue.credential_id()

Specs

fee_info() :: Tai.Venues.FeeInfo.t()
Link to this type

product_symbol()

Specs

product_symbol() :: Tai.Venues.Product.symbol()

Specs

venue_id() :: Tai.Venue.id()

Link to this section Functions

Specs

all() :: []
Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

clear() :: :ok

Specs

count() :: number()

Specs

find_by(
  venue_id: venue_id(),
  credential_id: credential_id(),
  symbol: product_symbol()
) ::
  {:ok, fee_info()} | {:error, :not_found}

Callback implementation for GenServer.init/1.

Link to this function

upsert(fee_info)

Specs

upsert(fee_info()) :: :ok