Class: Stripe::TestHelpers::ConfirmationTokenCreateParams::PaymentMethodData::RadarOptions

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



250
251
252
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 250

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.



248
249
250
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 248

def session
  @session
end