Inttegro.Customers.CustomerAddress (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Customers.CustomerAddress{
  city: String.t() | nil,
  country: String.t(),
  line1: String.t() | nil,
  line2: String.t() | nil,
  name: String.t() | nil,
  phone_number: String.t() | nil,
  post_code: String.t() | nil,
  region: 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()