Current section
Files
Jump to
Current section
Files
lib/merchant/model/shipment.ex
defmodule Merchant.Shipment do
@moduledoc """
Provides struct and type for a Shipment
"""
use TypedStruct
typedstruct do
field(:estimated_delivery_date, DateTime.t() | nil)
field(:shipping_company_name, String.t())
field(:tracking_number, String.t())
field(:tracking_url, String.t() | nil)
end
end