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

:charge :: ExOAPI.Stripe.Schemas.Charge

The charge that created this object.

:payment_method_details :: ExOAPI.Stripe.Schemas.CardGeneratedFromPaymentMethodDetails

Transaction-specific details of the payment method used in the payment.

:setup_attempt :: ExOAPI.Stripe.Schemas.SetupAttempt | :string

The ID of the SetupAttempt that generated this PaymentMethod, if any.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PaymentMethodCardGeneratedCard{
  charge: String.t() | nil,
  payment_method_details: ExOAPI.EctoTypes.AnyOf.t() | nil,
  setup_attempt: ExOAPI.EctoTypes.AnyOf.t() | nil
}

Link to this section Functions

Link to this function

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

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