Current section
Files
Jump to
Current section
Files
lib/polarex/schemas/payment_method_setup_failed.ex
defmodule Polarex.PaymentMethodSetupFailed do
@moduledoc """
Provides struct and type for a PaymentMethodSetupFailed
"""
@type t :: %__MODULE__{detail: String.t(), error: String.t()}
defstruct [:detail, :error]
@doc false
@spec __fields__(atom) :: keyword
def __fields__(type \\ :t)
def __fields__(:t) do
[detail: :string, error: {:const, "PaymentMethodSetupFailed"}]
end
end