Represents Next Action 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
Functions
Builds a Inttegro.Payments.NextAction and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.Payments.NextAction{ authorize: Inttegro.Payments.NextActionAuthorize.t() | nil, confirm_payment: Inttegro.Payments.NextActionConfirm.t() | nil, execute: %{optional(String.t()) => term()} | nil, redirect: Inttegro.Payments.NextActionRedirect.t() | nil, type: Inttegro.Payments.NextActionType.t() }
The decoded next action value.
Functions
Builds a Inttegro.Payments.NextAction and raises KeyError when a required field is missing.