Class: Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel::Browser
- Defined in:
- lib/increase/models/card_payment.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/card_payment.rb', line 880
|
Instance Attribute Details
#accept_header ⇒ String?
The accept header from the cardholder’s browser.
850 |
# File 'lib/increase/models/card_payment.rb', line 850 required :accept_header, String, nil?: true |
#ip_address ⇒ String?
The IP address of the cardholder’s browser.
856 |
# File 'lib/increase/models/card_payment.rb', line 856 required :ip_address, String, nil?: true |
#javascript_enabled ⇒ Symbol, ...
Whether JavaScript is enabled in the cardholder’s browser.
862 863 864 865 866 |
# File 'lib/increase/models/card_payment.rb', line 862 required :javascript_enabled, enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel::Browser::JavascriptEnabled }, nil?: true |
#language ⇒ String?
The language of the cardholder’s browser.
872 |
# File 'lib/increase/models/card_payment.rb', line 872 required :language, String, nil?: true |
#user_agent ⇒ String?
The user agent of the cardholder’s browser.
878 |
# File 'lib/increase/models/card_payment.rb', line 878 required :user_agent, String, nil?: true |