Class: Stripe::PaymentIntentCreateParams::RadarOptions

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



2542
2543
2544
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2542

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

Instance Attribute Details

#sessionObject

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



2540
2541
2542
# File 'lib/stripe/params/payment_intent_create_params.rb', line 2540

def session
  @session
end