Class: Stripe::Charge::CreateParams::RadarOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/charge.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.



1217
1218
1219
# File 'lib/stripe/resources/charge.rb', line 1217

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.



1215
1216
1217
# File 'lib/stripe/resources/charge.rb', line 1215

def session
  @session
end