Inttegro.AddressInput (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro request parameters.

Summary

Types

t()

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