Class: Stripe::PaymentIntentTriggerActionParams::ScanQrCode
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentTriggerActionParams::ScanQrCode
- Defined in:
- lib/stripe/params/payment_intent_trigger_action_params.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
Whether the QR Code scan’s payment should succeed or fail.
Instance Method Summary collapse
-
#initialize(result: nil) ⇒ ScanQrCode
constructor
A new instance of ScanQrCode.
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
#result ⇒ Object
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 |