Inttegro.Prices.PricePageItem (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Prices.PricePageItem{
  about: String.t() | nil,
  active: boolean(),
  archived_at: String.t() | nil,
  created_at: String.t(),
  id: String.t(),
  label: String.t() | nil,
  nominal: Inttegro.Money.Amount.t(),
  product: Inttegro.Prices.PriceEmbeddedProduct.t() | nil,
  product_id: String.t() | nil,
  updated_at: String.t() | nil
}

Functions

from_map(map)

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

new!(attrs \\ %{})

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

to_map(value)

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