class

Stripe::PaymentMethodOptionsCardPresent

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

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, request_extended_authorization : Bool | Nil = nil, request_incremental_authorization_support : Bool | Nil = nil, routing : Stripe::PaymentMethodOptionsCardPresentRouting | 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

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
request_extended_authorization

Request ability to capture this payment beyond the standard authorization validity window

Source
request_extended_authorization=(new_value : Bool | Nil)

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

Source
request_incremental_authorization_support

Request ability to increment this PaymentIntent if the combination of MCC and card brand is eligible. Check incremental_authorization_supported in the Confirm response to verify support.

Source
request_incremental_authorization_support=(new_value : Bool | Nil)

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

Source
routing
Source

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