Completed
Push — master ( 8e28ab...2236d8 )
by Taosikai
15:04
created

ClientDetails::setAcceptLanguage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 6
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the slince/shopify-api-php
5
 *
6
 * (c) Taosikai <[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 integer
38
     */
39
    protected $browserWidth;
40
41
    /**
42
     * @var integer
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
     * @return ClientDetails
57
     */
58
    public function setBrowserIp($browserIp)
59
    {
60
        $this->browserIp = $browserIp;
61
62
        return $this;
63
    }
64
65
    /**
66
     * @return string
67
     */
68
    public function getAcceptLanguage()
69
    {
70
        return $this->acceptLanguage;
71
    }
72
73
    /**
74
     * @param string $acceptLanguage
75
     * @return ClientDetails
76
     */
77
    public function setAcceptLanguage($acceptLanguage)
78
    {
79
        $this->acceptLanguage = $acceptLanguage;
80
81
        return $this;
82
    }
83
84
    /**
85
     * @return string
86
     */
87
    public function getUserAgent()
88
    {
89
        return $this->userAgent;
90
    }
91
92
    /**
93
     * @param string $userAgent
94
     * @return ClientDetails
95
     */
96
    public function setUserAgent($userAgent)
97
    {
98
        $this->userAgent = $userAgent;
99
100
        return $this;
101
    }
102
103
    /**
104
     * @return string
105
     */
106
    public function getSessionHash()
107
    {
108
        return $this->sessionHash;
109
    }
110
111
    /**
112
     * @param string $sessionHash
113
     * @return ClientDetails
114
     */
115
    public function setSessionHash($sessionHash)
116
    {
117
        $this->sessionHash = $sessionHash;
118
119
        return $this;
120
    }
121
122
    /**
123
     * @return int
124
     */
125
    public function getBrowserWidth()
126
    {
127
        return $this->browserWidth;
128
    }
129
130
    /**
131
     * @param int $browserWidth
132
     * @return ClientDetails
133
     */
134
    public function setBrowserWidth($browserWidth)
135
    {
136
        $this->browserWidth = $browserWidth;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @return int
143
     */
144
    public function getBrowserHeight()
145
    {
146
        return $this->browserHeight;
147
    }
148
149
    /**
150
     * @param int $browserHeight
151
     * @return ClientDetails
152
     */
153
    public function setBrowserHeight($browserHeight)
154
    {
155
        $this->browserHeight = $browserHeight;
156
157
        return $this;
158
    }
159
}