View Source Shared.Data.Strategy (Market Manager v2.1.8)

A strategy for selling a product.

Summary

Types

t()

Strategy details

Types

@type strategy() ::
  %{
    required(name :: String.t()) => String.t(),
    required(id :: String.t()) => atom(),
    required(description :: String.t()) => String.t()
  }
  | [name: String.t(), id: atom(), description: String.t()]
@type t() :: %Shared.Data.Strategy{
  description: String.t(),
  id: atom(),
  name: String.t()
}

Strategy details

Functions

@spec new(strategy()) :: t()