Inttegro.Payments.PaymentNextAction (inttegro v0.1.1)

Copy Markdown View Source

Typed Inttegro domain value.

Summary

Types

t()

@type t() :: %Inttegro.Payments.PaymentNextAction{
  authorize: Inttegro.Payments.PaymentNextActionAuthorize.t() | nil,
  confirm_payment: Inttegro.Payments.PaymentNextActionConfirmPayment.t() | nil,
  execute: %{optional(String.t()) => term()} | nil,
  redirect: Inttegro.Payments.PaymentNextActionRedirect.t() | nil,
  type: Inttegro.Payments.PaymentNextActionType.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()