Current section
Files
Jump to
Current section
Files
lib/merchant/model/address_v2.ex
defmodule Merchant.AddressV2 do
@moduledoc """
Provides struct and type for a AddressV2
"""
use TypedStruct
typedstruct do
field(:city, String.t() | nil)
field(:country_code, String.t())
field(:postcode, String.t())
field(:region, String.t() | nil)
field(:street_line_1, String.t() | nil)
field(:street_line_2, String.t() | nil)
end
end