Class: Stripe::Radar::PaymentEvaluationCreateParams::ClientDeviceMetadataDetails::Data
- Inherits:
-
Stripe::RequestParams
- Object
- Stripe::RequestParams
- Stripe::Radar::PaymentEvaluationCreateParams::ClientDeviceMetadataDetails::Data
- Defined in:
- lib/stripe/params/radar/payment_evaluation_create_params.rb
Instance Attribute Summary collapse
-
#ip ⇒ Object
The IP address of the client device.
-
#pasted_fields ⇒ Object
Pasted fields from the checkout flow.
-
#referrer ⇒ Object
The referrer of the client device.
-
#time_on_page_ms ⇒ Object
The time on page in milliseconds.
-
#user_agent ⇒ Object
The user agent of the client device.
Instance Method Summary collapse
-
#initialize(ip: nil, pasted_fields: nil, referrer: nil, time_on_page_ms: nil, user_agent: nil) ⇒ Data
constructor
A new instance of Data.
Methods inherited from Stripe::RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(ip: nil, pasted_fields: nil, referrer: nil, time_on_page_ms: nil, user_agent: nil) ⇒ Data
Returns a new instance of Data.
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 20 def initialize( ip: nil, pasted_fields: nil, referrer: nil, time_on_page_ms: nil, user_agent: nil ) @ip = ip @pasted_fields = pasted_fields @referrer = referrer @time_on_page_ms = time_on_page_ms @user_agent = user_agent end |
Instance Attribute Details
#ip ⇒ Object
The IP address of the client device.
10 11 12 |
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 10 def ip @ip end |
#pasted_fields ⇒ Object
Pasted fields from the checkout flow.
12 13 14 |
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 12 def pasted_fields @pasted_fields end |
#referrer ⇒ Object
The referrer of the client device.
14 15 16 |
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 14 def referrer @referrer end |
#time_on_page_ms ⇒ Object
The time on page in milliseconds.
16 17 18 |
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 16 def time_on_page_ms @time_on_page_ms end |
#user_agent ⇒ Object
The user agent of the client device.
18 19 20 |
# File 'lib/stripe/params/radar/payment_evaluation_create_params.rb', line 18 def user_agent @user_agent end |