Class: CheckoutSdk::Sessions::BrowserSession
- Inherits:
-
ChannelData
- Object
- ChannelData
- CheckoutSdk::Sessions::BrowserSession
- Defined in:
- lib/checkout_sdk/sessions/channel/browser_session.rb
Instance Attribute Summary collapse
- #accept_header ⇒ String
- #color_depth ⇒ String
- #ip_address ⇒ String
- #java_enabled ⇒ TrueClass, FalseClass
- #javascript_enabled ⇒ TrueClass, FalseClass
- #language ⇒ String
- #screen_height ⇒ String
- #screen_width ⇒ String
- #three_ds_method_completion ⇒ String
- #timezone ⇒ String
- #user_agent ⇒ String
Attributes inherited from ChannelData
Instance Method Summary collapse
-
#initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) ⇒ BrowserSession
constructor
A new instance of BrowserSession.
Constructor Details
#initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) ⇒ BrowserSession
Returns a new instance of BrowserSession.
42 43 44 45 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 42 def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end |
Instance Attribute Details
#accept_header ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#color_depth ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#ip_address ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#java_enabled ⇒ TrueClass, FalseClass
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#javascript_enabled ⇒ TrueClass, FalseClass
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#language ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#screen_height ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#screen_width ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#three_ds_method_completion ⇒ String
Returns ThreeDsMethodCompletion.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#timezone ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |
#user_agent ⇒ String
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/checkout_sdk/sessions/channel/browser_session.rb', line 29 class BrowserSession < ChannelData attr_accessor :three_ds_method_completion, :accept_header, :java_enabled, :javascript_enabled, :language, :color_depth, :screen_height, :screen_width, :timezone, :user_agent, :ip_address def initialize(three_ds_method_completion: CheckoutSdk::Sessions::ThreeDsMethodCompletion::U) super ChannelDataType::BROWSER @three_ds_method_completion = three_ds_method_completion end end |