1+ namespace Checkout . Payments . Request
2+ {
3+ public class Device
4+ {
5+ /// <summary> The contents of the HTTP User-Agent request header. This field is required to process the device
6+ /// with the risk engine (Optional, max 2048 characters) </summary>
7+ public string UserAgent { get ; set ; }
8+
9+ /// <summary> Details of the device network. Either ipv4 or ipv6 is required field (Optional) </summary>
10+ public Network Network { get ; set ; }
11+
12+ /// <summary> Details of the device ID provider (Optional) </summary>
13+ public Provider Provider { get ; set ; }
14+
15+ /// <summary> The UTC date and time the payment was performed as reported by the device. Format – ISO 8601 code
16+ /// This field is required to process the device with the risk engine (Optional) </summary>
17+ public string Timestamp { get ; set ; }
18+
19+ /// <summary> The time difference between UTC time and the local time reported by the browser, in minutes. This
20+ /// field is required to process the device with the risk engine (Optional, [ 1 .. 5 ] characters </summary>
21+ public string Timezone { get ; set ; }
22+
23+ /// <summary> Specifies if the device is running in a virtual machine (Optional) </summary>
24+ public bool ? VirtualMachine { get ; set ; }
25+
26+ /// <summary> Specifies if the browser is in incognito mode (Optional) </summary>
27+ public bool ? Incognito { get ; set ; }
28+
29+ /// <summary> Specifies if the device is jailbroken (Optional) </summary>
30+ public bool ? Jailbroken { get ; set ; }
31+
32+ /// <summary> Specifies if the device is rooted (Optional) </summary>
33+ public bool ? Rooted { get ; set ; }
34+
35+ /// <summary> Specifies if the browser has the ability to execute Java, as reported by the browser's
36+ /// navigator.javaEnabled property (Optional) </summary>
37+ public bool ? JavaEnabled { get ; set ; }
38+
39+ /// <summary> Specifies if the browser has the ability to execute Javascript, as reported by the browser's
40+ /// navigator.javascriptEnabled property. Only required for 3D Secure authentications processed with 3DS 2.2. If
41+ /// the payment is processed with an older 3DS version, this field is ignored (Optional) </summary>
42+ public bool ? JavascriptEnabled { get ; set ; }
43+
44+ /// <summary> The browser language, as reported by the browser's navigator.language property. Format – IETF
45+ /// BCP47 language tag (Optional, [ 1 .. 12 ] characters) </summary>
46+ public string Language { get ; set ; }
47+
48+ /// <summary> The bit depth of the color palette for displaying images in bits per pixel, as reported by the
49+ /// browser's screen.colorDepth property (Optional, [ 2 .. 1 ] characters) </summary>
50+ public string ColorDepth { get ; set ; }
51+
52+ /// <summary> The total height of the device screen in pixels, as reported by the browser's screen.height
53+ /// property (Optional, [ 1 .. 6 ] characters, [ 1 .. 6 ]) </summary>
54+ public string ScreenHeight { get ; set ; }
55+
56+ /// <summary> The total width of the device screen in pixels, as reported by the browser's screen.width property
57+ /// (Optional, [ 1 .. 6 ] characters) </summary>
58+ public string ScreenWidth { get ; set ; }
59+ }
60+ }
0 commit comments