Class: CheckoutSdk::Sessions::BrowserSession

Inherits:
ChannelData
  • Object
show all
Defined in:
lib/checkout_sdk/sessions/channel/browser_session.rb

Instance Attribute Summary collapse

Attributes inherited from ChannelData

#channel

Instance Method Summary collapse

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_headerString

Returns:

  • (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_depthString

Returns:

  • (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_addressString

Returns:

  • (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_enabledTrueClass, FalseClass

Returns:

  • (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_enabledTrueClass, FalseClass

Returns:

  • (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

#languageString

Returns:

  • (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_heightString

Returns:

  • (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_widthString

Returns:

  • (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_completionString

Returns:



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

#timezoneString

Returns:

  • (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_agentString

Returns:

  • (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