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

:amex_express_checkout :: list(:map)

:apple_pay :: list(:map)

:dynamic_last4 :: :string

(For tokenized numbers only.) The last four digits of the device account number.

:google_pay :: list(:map)

:masterpass :: ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardWalletMasterpass

:samsung_pay :: list(:map)

:type :: :string

The type of the card wallet, one of amex_express_checkout, apple_pay, google_pay, masterpass, samsung_pay, or visa_checkout. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.

:visa_checkout :: ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardWalletVisaCheckout

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardWallet{
  amex_express_checkout: [map()] | nil,
  apple_pay: [map()] | nil,
  dynamic_last4: String.t() | nil,
  google_pay: [map()] | nil,
  masterpass:
    ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardWalletMasterpass.t() | nil,
  samsung_pay: [map()] | nil,
  type:
    (:visa_checkout
     | :samsung_pay
     | :masterpass
     | :google_pay
     | :apple_pay
     | :amex_express_checkout)
    | nil,
  visa_checkout:
    ExOAPI.Stripe.Schemas.PaymentMethodDetailsCardWalletVisaCheckout.t() | nil
}

Link to this section Functions

Link to this function

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

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