Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams::RiskDetails::ClientDeviceMetadataDetails
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionCreateParams::RiskDetails::ClientDeviceMetadataDetails
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_create_params.rb
Instance Attribute Summary collapse
-
#radar_session ⇒ Object
The radar session.
-
#referrer ⇒ Object
The referrer of the client device.
-
#remote_ip ⇒ Object
The remote IP address of the client device.
-
#time_on_page ⇒ Object
The time on page in seconds.
-
#user_agent ⇒ Object
The user agent of the client device.
Instance Method Summary collapse
-
#initialize(radar_session: nil, referrer: nil, remote_ip: nil, time_on_page: nil, user_agent: nil) ⇒ ClientDeviceMetadataDetails
constructor
A new instance of ClientDeviceMetadataDetails.
Methods inherited from RequestParams
Constructor Details
#initialize(radar_session: nil, referrer: nil, remote_ip: nil, time_on_page: nil, user_agent: nil) ⇒ ClientDeviceMetadataDetails
Returns a new instance of ClientDeviceMetadataDetails.
160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 160 def initialize( radar_session: nil, referrer: nil, remote_ip: nil, time_on_page: nil, user_agent: nil ) @radar_session = radar_session @referrer = referrer @remote_ip = remote_ip @time_on_page = time_on_page @user_agent = user_agent end |
Instance Attribute Details
#radar_session ⇒ Object
The radar session.
150 151 152 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 150 def radar_session @radar_session end |
#referrer ⇒ Object
The referrer of the client device.
152 153 154 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 152 def referrer @referrer end |
#remote_ip ⇒ Object
The remote IP address of the client device.
154 155 156 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 154 def remote_ip @remote_ip end |
#time_on_page ⇒ Object
The time on page in seconds.
156 157 158 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 156 def time_on_page @time_on_page end |
#user_agent ⇒ Object
The user agent of the client device.
158 159 160 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 158 def user_agent @user_agent end |