Current section

Files

Jump to
merchant lib merchant model crypto_transaction.ex
Raw

lib/merchant/model/crypto_transaction.ex

defmodule Merchant.CryptoTransaction do
@moduledoc """
Provides struct and type for a CryptoTransaction
"""
use TypedStruct
typedstruct do
field(:id, String.t())
field(:status, String.t())
field(:recipient_user_id, String.t() | nil)
field(:recipient_wallet_id, String.t() | nil)
end
end