Class: Stripe::PaymentIntentConfirmParams::PaymentMethodOptions::Crypto::TransactionVerificationOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_confirm_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(network: nil, transaction_hash: nil) ⇒ TransactionVerificationOptions

Returns a new instance of TransactionVerificationOptions.



3774
3775
3776
3777
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3774

def initialize(network: nil, transaction_hash: nil)
  @network = network
  @transaction_hash = transaction_hash
end

Instance Attribute Details

#networkObject

The network on which the transaction was submitted.



3770
3771
3772
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3770

def network
  @network
end

#transaction_hashObject

The hash of the onchain transaction to verify.



3772
3773
3774
# File 'lib/stripe/params/payment_intent_confirm_params.rb', line 3772

def transaction_hash
  @transaction_hash
end