Class: Stripe::TestHelpers::ConfirmationTokenService::CreateParams::PaymentMethodData::RadarOptions

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



289
290
291
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 289

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.



287
288
289
# File 'lib/stripe/services/test_helpers/confirmation_token_service.rb', line 287

def session
  @session
end