Inttegro.Orders.OrderFeeLineItemFee (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Orders.OrderFeeLineItemFee{
  amount: Inttegro.Money.Amount.t(),
  description: String.t() | nil,
  id: String.t(),
  label: String.t(),
  tax_code: String.t() | nil
}

Functions

from_map(map)

@spec from_map(map()) :: t()

new!(attrs \\ %{})

@spec new!(map() | keyword()) :: t()

to_map(value)

@spec to_map(t()) :: map()