Inttegro.Payments.NextActionConfirmAttempt (inttegro v0.2.0)

Copy Markdown View Source

Represents Next Action Confirm Attempt data in the Payments API.

Inttegro decodes API responses into this struct. Required fields are always present; optional fields are nil when they do not apply or were not returned. Follow the linked types in t/0 for nested domain values.

Payment state, attempts, confirmations, and next actions attached to orders.

Summary

Types

t()

The decoded next action confirm attempt value.

Functions

Builds a Inttegro.Payments.NextActionConfirmAttempt and raises KeyError when a required field is missing.

Types

t()

@type t() :: %Inttegro.Payments.NextActionConfirmAttempt{
  confirmed: boolean() | nil,
  created_at: String.t() | nil,
  executed_at: String.t() | nil,
  reason: String.t() | nil,
  status: String.t() | nil,
  token: String.t() | nil
}

The decoded next action confirm attempt value.

Functions

new!(attrs \\ %{})

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

Builds a Inttegro.Payments.NextActionConfirmAttempt and raises KeyError when a required field is missing.