Class: Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::Browser
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::RealTimeDecision::CardAuthentication::DeviceChannel::Browser
- Defined in:
- lib/increase/models/real_time_decision.rb
Overview
Defined Under Namespace
Modules: JavascriptEnabled
Instance Attribute Summary collapse
-
#accept_header ⇒ String?
The accept header from the cardholder’s browser.
-
#ip_address ⇒ String?
The IP address of the cardholder’s browser.
-
#javascript_enabled ⇒ Symbol, ...
Whether JavaScript is enabled in the cardholder’s browser.
-
#language ⇒ String?
The language of the cardholder’s browser.
-
#user_agent ⇒ String?
The user agent of the cardholder’s browser.
Instance Method Summary collapse
-
#initialize(accept_header:, ip_address:, javascript_enabled:, language:, user_agent:) ⇒ Object
constructor
Fields specific to the browser device channel.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(accept_header:, ip_address:, javascript_enabled:, language:, user_agent:) ⇒ Object
Fields specific to the browser device channel.
|
|
# File 'lib/increase/models/real_time_decision.rb', line 508
|
Instance Attribute Details
#accept_header ⇒ String?
The accept header from the cardholder’s browser.
478 |
# File 'lib/increase/models/real_time_decision.rb', line 478 required :accept_header, String, nil?: true |
#ip_address ⇒ String?
The IP address of the cardholder’s browser.
484 |
# File 'lib/increase/models/real_time_decision.rb', line 484 required :ip_address, String, nil?: true |
#javascript_enabled ⇒ Symbol, ...
Whether JavaScript is enabled in the cardholder’s browser.
490 491 492 493 494 |
# File 'lib/increase/models/real_time_decision.rb', line 490 required :javascript_enabled, enum: -> { Increase::RealTimeDecision::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled }, nil?: true |
#language ⇒ String?
The language of the cardholder’s browser.
500 |
# File 'lib/increase/models/real_time_decision.rb', line 500 required :language, String, nil?: true |
#user_agent ⇒ String?
The user agent of the cardholder’s browser.
506 |
# File 'lib/increase/models/real_time_decision.rb', line 506 required :user_agent, String, nil?: true |