Inttegro.Orders.RefundLineItem (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Orders.RefundLineItem{
  id: String.t(),
  order_line_item_id: String.t(),
  original_amount_paid: Inttegro.Money.Amount.t(),
  reason: Inttegro.Refunds.RefundReason.t() | nil,
  reason_details: String.t() | nil,
  refund_amount: Inttegro.Money.Amount.t()
}

Functions

from_map(map)

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

new!(attrs \\ %{})

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

to_map(value)

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