ClientDetails::getAcceptLanguage()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Slince <[email protected]>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Slince\Shopify\Manager\Order;
13
14
class ClientDetails
15
{
16
    /**
17
     * @var string
18
     */
19
    protected $browserIp;
20
21
    /**
22
     * @var string
23
     */
24
    protected $acceptLanguage;
25
26
    /**
27
     * @var string
28
     */
29
    protected $userAgent;
30
31
    /**
32
     * @var string
33
     */
34
    protected $sessionHash;
35
36
    /**
37
     * @var int
38
     */
39
    protected $browserWidth;
40
41
    /**
42
     * @var int
43
     */
44
    protected $browserHeight;
45
46
    /**
47
     * @return string
48
     */
49
    public function getBrowserIp()
50
    {
51
        return $this->browserIp;
52
    }
53
54
    /**
55
     * @param string $browserIp
56
     *
57
     * @return ClientDetails
58
     */
59
    public function setBrowserIp($browserIp)
60
    {
61
        $this->browserIp = $browserIp;
62
63
        return $this;
64
    }
65
66
    /**
67
     * @return string
68
     */
69
    public function getAcceptLanguage()
70
    {
71
        return $this->acceptLanguage;
72
    }
73
74
    /**
75
     * @param string $acceptLanguage
76
     *
77
     * @return ClientDetails
78
     */
79
    public function setAcceptLanguage($acceptLanguage)
80
    {
81
        $this->acceptLanguage = $acceptLanguage;
82
83
        return $this;
84
    }
85
86
    /**
87
     * @return string
88
     */
89
    public function getUserAgent()
90
    {
91
        return $this->userAgent;
92
    }
93
94
    /**
95
     * @param string $userAgent
96
     *
97
     * @return ClientDetails
98
     */
99
    public function setUserAgent($userAgent)
100
    {
101
        $this->userAgent = $userAgent;
102
103
        return $this;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getSessionHash()
110
    {
111
        return $this->sessionHash;
112
    }
113
114
    /**
115
     * @param string $sessionHash
116
     *
117
     * @return ClientDetails
118
     */
119
    public function setSessionHash($sessionHash)
120
    {
121
        $this->sessionHash = $sessionHash;
122
123
        return $this;
124
    }
125
126
    /**
127
     * @return int
128
     */
129
    public function getBrowserWidth()
130
    {
131
        return $this->browserWidth;
132
    }
133
134
    /**
135
     * @param int $browserWidth
136
     *
137
     * @return ClientDetails
138
     */
139
    public function setBrowserWidth($browserWidth)
140
    {
141
        $this->browserWidth = $browserWidth;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @return int
148
     */
149
    public function getBrowserHeight()
150
    {
151
        return $this->browserHeight;
152
    }
153
154
    /**
155
     * @param int $browserHeight
156
     *
157
     * @return ClientDetails
158
     */
159
    public function setBrowserHeight($browserHeight)
160
    {
161
        $this->browserHeight = $browserHeight;
162
163
        return $this;
164
    }
165
}