class

Stripe::PaymentMethodInteracPresent

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

Constants

ERROR_MESSAGE_FOR_READ_METHOD = "invalid value for \"read_method\", must be one of [contact_emv, contactless_emv, contactless_magstripe_mode, magnetic_stripe_fallback, magnetic_stripe_track2]."
MAX_LENGTH_FOR_BRAND = 5000
MAX_LENGTH_FOR_CARDHOLDER_NAME = 5000
MAX_LENGTH_FOR_COUNTRY = 5000
MAX_LENGTH_FOR_DESCRIPTION = 5000
MAX_LENGTH_FOR_FINGERPRINT = 5000
MAX_LENGTH_FOR_FUNDING = 5000
MAX_LENGTH_FOR_IIN = 5000
MAX_LENGTH_FOR_ISSUER = 5000
MAX_LENGTH_FOR_LAST4 = 5000
VALID_VALUES_FOR_READ_METHOD = String.static_array("contact_emv", "contactless_emv", "contactless_magstripe_mode", "magnetic_stripe_fallback", "magnetic_stripe_track2")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, brand : String | Nil = nil, cardholder_name : String | Nil = nil, country : String | Nil = nil, exp_month : Int64 | Nil = nil, exp_year : Int64 | Nil = nil, fingerprint : String | Nil = nil, funding : String | Nil = nil, last4 : String | Nil = nil, networks : Stripe::PaymentMethodCardPresentNetworks1 | Nil = nil, preferred_locales : Array(String) | Nil = nil, read_method : String | Nil = nil, description : String | Nil = nil, iin : String | Nil = nil, issuer : String | Nil = nil)

Initializes the object @param [Hash] attributes Model attributes in the form of hash

Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

brand

Card brand. Can be interac, mastercard or visa.

Source
brand=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] brand Object to be assigned

Source
cardholder_name

The cardholder name as read from the card, in ISO 7813 format. May include alphanumeric characters, special characters and first/last name separator (/). In some cases, the cardholder name may not be available depending on how the issuer has configured the card. Cardholder name is typically not available on swipe or contactless payments, such as those made with Apple Pay and Google Pay.

Source
cardholder_name=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] cardholder_name Object to be assigned

Source
country

Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.

Source
country=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] country Object to be assigned

Source
description

A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)

Source
description=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] description Object to be assigned

Source
description_present=(description_present : Bool)
Source
description_present?
Source
exp_month

Two-digit number representing the card's expiration month.

Source
exp_month=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] exp_month Object to be assigned

Source
exp_year

Four-digit number representing the card's expiration year.

Source
exp_year=(new_value : Int64 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] exp_year Object to be assigned

Source
fingerprint

Uniquely identifies this particular card number. You can use this attribute to check whether two customers who’ve signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.

Source
fingerprint=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] fingerprint Object to be assigned

Source
funding

Card funding type. Can be credit, debit, prepaid, or unknown.

Source
funding=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] funding Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

iin

Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)

Source
iin=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] iin Object to be assigned

Source
iin_present=(iin_present : Bool)
Source
iin_present?
Source
issuer

The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)

Source
issuer=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] issuer Object to be assigned

Source
issuer_present=(issuer_present : Bool)
Source
issuer_present?
Source
last4

The last four digits of the card.

Source
last4=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] last4 Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
networks
Source
networks=(new_value : Stripe::PaymentMethodCardPresentNetworks1 | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] networks Object to be assigned

Source
preferred_locales

EMV tag 5F2D. Preferred languages specified by the integrated circuit chip.

Source
preferred_locales=(new_value : Array(String) | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] preferred_locales Object to be assigned

Source
read_method

How card details were read in this transaction.

Source
read_method=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] read_method Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source