View Source ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceReaderAction (exoapi_stripe v0.1.4)

description: Represents an action performed by the reader

:failure_code :: :string

Failure code, only set if status is failed.

:failure_message :: :string

Detailed failure message, only set if status is failed.

:process_payment_intent :: ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceProcessPaymentIntentAction

:process_setup_intent :: ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceProcessSetupIntentAction

:set_reader_display :: ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceSetReaderDisplayAction

:status :: :string

Status of the action performed by the reader.

:type :: :string

Type of action performed by the reader.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceReaderAction{
  failure_code: String.t() | nil,
  failure_message: String.t() | nil,
  process_payment_intent:
    ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceProcessPaymentIntentAction.t()
    | nil,
  process_setup_intent:
    ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceProcessSetupIntentAction.t()
    | nil,
  set_reader_display:
    ExOAPI.Stripe.Schemas.TerminalReaderReaderResourceSetReaderDisplayAction.t()
    | nil,
  status: (:succeeded | :in_progress | :failed) | nil,
  type:
    (:set_reader_display | :process_setup_intent | :process_payment_intent)
    | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()