Inttegro.ProductShipment (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.ProductShipment{
  delivery: %{optional(String.t()) => term()} | nil,
  download: %{optional(String.t()) => term()} | nil,
  render: %{optional(String.t()) => term()} | nil,
  service: %{optional(String.t()) => term()} | nil,
  stream: %{optional(String.t()) => term()} | nil,
  type: Inttegro.ProductShipmentType.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()