Inttegro.PaymentAttempt (inttegro v0.1.0)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.PaymentAttempt{
  initiated_at: String.t() | nil,
  payment_method_id: String.t() | nil,
  payment_method_type: String.t() | nil,
  reference: String.t() | nil,
  status: Inttegro.PaymentAttemptStatus.t() | nil,
  succeeded_at: 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()