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