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

:acss_debit :: ExOAPI.Stripe.Schemas.InvoicePaymentMethodOptionsAcssDebit

If paying by acss_debit, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.

:bancontact :: ExOAPI.Stripe.Schemas.InvoicePaymentMethodOptionsBancontact

If paying by bancontact, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.

:card :: ExOAPI.Stripe.Schemas.InvoicePaymentMethodOptionsCard

If paying by card, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.

:customer_balance :: ExOAPI.Stripe.Schemas.InvoicePaymentMethodOptionsCustomerBalance

If paying by customer_balance, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.

:konbini :: :map

If paying by konbini, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.

:us_bank_account :: ExOAPI.Stripe.Schemas.InvoicePaymentMethodOptionsUsBankAccount

If paying by us_bank_account, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.InvoicesPaymentMethodOptions{
  acss_debit: ExOAPI.EctoTypes.AnyOf.t() | nil,
  bancontact: ExOAPI.EctoTypes.AnyOf.t() | nil,
  card: ExOAPI.EctoTypes.AnyOf.t() | nil,
  customer_balance: ExOAPI.EctoTypes.AnyOf.t() | nil,
  konbini: ExOAPI.EctoTypes.AnyOf.t() | nil,
  us_bank_account: 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()