class

Stripe::TerminalReaderReaderResourceProcessSetupIntentAction

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

Represents a reader action to process a setup intent

Constants

MAX_LENGTH_FOR_GENERATED_CARD = 5000

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source
new(*, setup_intent : Stripe::TerminalReaderReaderResourceProcessSetupIntentActionSetupIntent | Nil = nil, generated_card : String | Nil = nil, process_config : Stripe::TerminalReaderReaderResourceProcessSetupConfig | 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

generated_card

ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod.

Source
generated_card=(new_value : String | Nil)

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

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

Source
setup_intent
Source

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