LatticeStripe.SetupAttempt.SetupError (LatticeStripe v1.7.10)

Copy Markdown View Source

Represents the historical setup_error nested object on a Stripe SetupAttempt.

Unknown fields from the Stripe API response are preserved in :extra for forward compatibility.

Summary

Types

t()

@type t() :: %LatticeStripe.SetupAttempt.SetupError{
  advice_code: String.t() | nil,
  code: String.t() | nil,
  decline_code: String.t() | nil,
  doc_url: String.t() | nil,
  extra: map(),
  message: String.t() | nil,
  network_advice_code: String.t() | nil,
  network_decline_code: String.t() | nil,
  param: String.t() | nil,
  payment_method: LatticeStripe.PaymentMethod.t() | String.t() | map() | nil,
  type: String.t() | nil
}

Functions

from_map(map)

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