Class: Stripe::PaymentIntentTriggerActionParams::ScanQrCode

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_trigger_action_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(result: nil) ⇒ ScanQrCode

Returns a new instance of ScanQrCode.



10
11
12
# File 'lib/stripe/params/payment_intent_trigger_action_params.rb', line 10

def initialize(result: nil)
  @result = result
end

Instance Attribute Details

#resultObject

Whether the QR Code scan’s payment should succeed or fail.



8
9
10
# File 'lib/stripe/params/payment_intent_trigger_action_params.rb', line 8

def result
  @result
end