class

Stripe::PaymentMethodCardWallet

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

Constants

ERROR_MESSAGE_FOR__TYPE = "invalid value for \"_type\", must be one of [amex_express_checkout, apple_pay, google_pay, link, masterpass, samsung_pay, visa_checkout]."
MAX_LENGTH_FOR_DYNAMIC_LAST4 = 5000
VALID_VALUES_FOR__TYPE = String.static_array("amex_express_checkout", "apple_pay", "google_pay", "link", "masterpass", "samsung_pay", "visa_checkout")

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
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

_type

The type of the card wallet, one of amex_express_checkout, apple_pay, google_pay, masterpass, samsung_pay, visa_checkout, or link. 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.

Source
_type=(new_value : String | Nil)

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

Source
amex_express_checkout
Source
amex_express_checkout=(new_value : JSON::Any | Nil)

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

Source
apple_pay
Source
apple_pay=(new_value : JSON::Any | Nil)

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

Source
dynamic_last4

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

Source
dynamic_last4=(new_value : String | Nil)

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

Source
google_pay
Source
google_pay=(new_value : JSON::Any | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] google_pay 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

list_invalid_properties

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

Source
masterpass
Source
masterpass=(new_value : Stripe::PaymentMethodCardWalletMasterpass | Nil)

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

Source
samsung_pay
Source
samsung_pay=(new_value : JSON::Any | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] samsung_pay 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
visa_checkout
Source
visa_checkout=(new_value : Stripe::PaymentMethodCardWalletVisaCheckout | Nil)

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

Source