Class: Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Crypto::TransactionVerificationOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentCreateParams::PaymentMethodOptions::Crypto::TransactionVerificationOptions
- Defined in:
- lib/stripe/params/payment_intent_create_params.rb
Instance Attribute Summary collapse
-
#network ⇒ Object
The network on which the transaction was submitted.
-
#transaction_hash ⇒ Object
The hash of the onchain transaction to verify.
Instance Method Summary collapse
-
#initialize(network: nil, transaction_hash: nil) ⇒ TransactionVerificationOptions
constructor
A new instance of TransactionVerificationOptions.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(network: nil, transaction_hash: nil) ⇒ TransactionVerificationOptions
Returns a new instance of TransactionVerificationOptions.
3788 3789 3790 3791 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3788 def initialize(network: nil, transaction_hash: nil) @network = network @transaction_hash = transaction_hash end |
Instance Attribute Details
#network ⇒ Object
The network on which the transaction was submitted.
3784 3785 3786 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3784 def network @network end |
#transaction_hash ⇒ Object
The hash of the onchain transaction to verify.
3786 3787 3788 |
# File 'lib/stripe/params/payment_intent_create_params.rb', line 3786 def transaction_hash @transaction_hash end |