Inttegro.PurchaseIntentVariantSet (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.PurchaseIntentVariantSet{
  active: boolean(),
  default_product_id: String.t() | nil,
  description: String.t() | nil,
  id: String.t(),
  name: String.t(),
  reference: String.t() | nil,
  variant_axes: [Inttegro.PurchaseIntentVariantAxis.t()],
  variants: [Inttegro.PurchaseIntentVariant.t()]
}

Functions

from_map(map)

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

new!(attrs \\ %{})

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

to_map(value)

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