Stripe.Params.TestHelpers.Terminal.ReaderPresentPaymentMethodParams
(tiger_stripe v0.3.0)
Copy Markdown
View Source
Parameters for reader present payment method.
Summary
Types
@type card() :: %{ optional(:cvc) => String.t() | nil, optional(:exp_month) => integer() | nil, optional(:exp_year) => integer() | nil, optional(:number) => String.t() | nil, optional(String.t()) => term() }
cvc- Card security code. Max length: 5000.exp_month- Two-digit number representing the card's expiration month.exp_year- Two- or four-digit number representing the card's expiration year.number- The card number, as a string without any separators. Max length: 5000.
number- The card number, as a string without any separators. Max length: 5000.
@type interac_present() :: %{ optional(:number) => String.t() | nil, optional(String.t()) => term() }
number- The Interac card number. Max length: 5000.
@type t() :: %Stripe.Params.TestHelpers.Terminal.ReaderPresentPaymentMethodParams{ amount_tip: integer() | nil, card: card() | nil, card_present: card_present() | nil, expand: [String.t()] | nil, interac_present: interac_present() | nil, type: String.t() | nil }
amount_tip- Simulated on-reader tip amount.card- Simulated data for the card payment method.card_present- Simulated data for the card_present payment method.expand- Specifies which fields in the response should be expanded.interac_present- Simulated data for the interac_present payment method.type- Simulated payment type. Possible values:card,card_present,interac_present.