Class: Stripe::PaymentIntent::ConfirmParams::PaymentMethodData::RadarOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(session: nil) ⇒ RadarOptions

Returns a new instance of RadarOptions.



6590
6591
6592
# File 'lib/stripe/resources/payment_intent.rb', line 6590

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

Instance Attribute Details

#sessionObject

A [Radar Session](stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.



6588
6589
6590
# File 'lib/stripe/resources/payment_intent.rb', line 6588

def session
  @session
end