Inttegro.PurchaseIntents.PurchaseIntentVariantAxis (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.PurchaseIntents.PurchaseIntentVariantAxis{
  key: String.t(),
  label: String.t(),
  position: integer()
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()