Inttegro.Customers.OrderCustomer (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Customers.OrderCustomer{
  billing_address: Inttegro.Orders.OrderAddress.t() | nil,
  email_address: String.t() | nil,
  guest: boolean(),
  id: String.t(),
  name: String.t(),
  phone_number: String.t() | nil,
  shipping_address: Inttegro.Orders.OrderAddress.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()