address::setCountryCode()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 4
rs 10
1
<?php
2
3
namespace SForce\Wsdl;
4
5
class address extends location
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $city = null;
11
12
    /**
13
     * @var string
14
     */
15
    protected $country = null;
16
17
    /**
18
     * @var string
19
     */
20
    protected $countryCode = null;
21
22
    /**
23
     * @var string
24
     */
25
    protected $geocodeAccuracy = null;
26
27
    /**
28
     * @var string
29
     */
30
    protected $postalCode = null;
31
32
    /**
33
     * @var string
34
     */
35
    protected $state = null;
36
37
    /**
38
     * @var string
39
     */
40
    protected $stateCode = null;
41
42
    /**
43
     * @var string
44
     */
45
    protected $street = null;
46
47
    public function __construct()
48
    {
49
        parent::__construct();
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getCity()
56
    {
57
        return $this->city;
58
    }
59
60
    /**
61
     * @param string $city
62
     * @return \SForce\Wsdl\address
63
     */
64
    public function setCity($city)
65
    {
66
        $this->city = $city;
67
        return $this;
68
    }
69
70
    /**
71
     * @return string
72
     */
73
    public function getCountry()
74
    {
75
        return $this->country;
76
    }
77
78
    /**
79
     * @param string $country
80
     * @return \SForce\Wsdl\address
81
     */
82
    public function setCountry($country)
83
    {
84
        $this->country = $country;
85
        return $this;
86
    }
87
88
    /**
89
     * @return string
90
     */
91
    public function getCountryCode()
92
    {
93
        return $this->countryCode;
94
    }
95
96
    /**
97
     * @param string $countryCode
98
     * @return \SForce\Wsdl\address
99
     */
100
    public function setCountryCode($countryCode)
101
    {
102
        $this->countryCode = $countryCode;
103
        return $this;
104
    }
105
106
    /**
107
     * @return string
108
     */
109
    public function getGeocodeAccuracy()
110
    {
111
        return $this->geocodeAccuracy;
112
    }
113
114
    /**
115
     * @param string $geocodeAccuracy
116
     * @return \SForce\Wsdl\address
117
     */
118
    public function setGeocodeAccuracy($geocodeAccuracy)
119
    {
120
        $this->geocodeAccuracy = $geocodeAccuracy;
121
        return $this;
122
    }
123
124
    /**
125
     * @return string
126
     */
127
    public function getPostalCode()
128
    {
129
        return $this->postalCode;
130
    }
131
132
    /**
133
     * @param string $postalCode
134
     * @return \SForce\Wsdl\address
135
     */
136
    public function setPostalCode($postalCode)
137
    {
138
        $this->postalCode = $postalCode;
139
        return $this;
140
    }
141
142
    /**
143
     * @return string
144
     */
145
    public function getState()
146
    {
147
        return $this->state;
148
    }
149
150
    /**
151
     * @param string $state
152
     * @return \SForce\Wsdl\address
153
     */
154
    public function setState($state)
155
    {
156
        $this->state = $state;
157
        return $this;
158
    }
159
160
    /**
161
     * @return string
162
     */
163
    public function getStateCode()
164
    {
165
        return $this->stateCode;
166
    }
167
168
    /**
169
     * @param string $stateCode
170
     * @return \SForce\Wsdl\address
171
     */
172
    public function setStateCode($stateCode)
173
    {
174
        $this->stateCode = $stateCode;
175
        return $this;
176
    }
177
178
    /**
179
     * @return string
180
     */
181
    public function getStreet()
182
    {
183
        return $this->street;
184
    }
185
186
    /**
187
     * @param string $street
188
     * @return \SForce\Wsdl\address
189
     */
190
    public function setStreet($street)
191
    {
192
        $this->street = $street;
193
        return $this;
194
    }
195
}
196