Endereco::setCep()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: a.moreira
5
 * Date: 19/10/2016
6
 * Time: 15:27
7
 */
8
9
namespace Integracao\ControlPay\Model;
10
11
/**
12
 * Class Endereco
13
 * @package Integracao\ControlPay\Model
14
 */
15
class Endereco
16
{
17
    private $id;
18
19
    /**
20
     * @var Pessoa
21
     */
22
    private $pessoa;
23
24
    /**
25
     * @var string
26
     */
27
    private $cep;
28
29
    /**
30
     * @var string
31
     */
32
    private $tipoLogradouro;
33
34
    /**
35
     * @var string
36
     */
37
    private $logradouro;
38
39
    /**
40
     * @var string
41
     */
42
    private $numero;
43
44
    /**
45
     * @var string
46
     */
47
    private $complemento;
48
49
    /**
50
     * @var string
51
     */
52
    private $bairro;
53
54
    /**
55
     * @var string
56
     */
57
    private $cidade;
58
59
    /**
60
     * @var string
61
     */
62
    private $uf;
63
64
    /**
65
     * @var string
66
     */
67
    private $referencia;
68
69
    /**
70
     * @var float
71
     */
72
    private $latitude;
73
74
    /**
75
     * @var float
76
     */
77
    private $longitude;
78
79
    /**
80
     * Endereco constructor.
81
     */
82
    public function __construct()
83
    {
84
    }
85
86
    /**
87
     * @return mixed
88
     */
89
    public function getId()
90
    {
91
        return $this->id;
92
    }
93
94
    /**
95
     * @param mixed $id
96
     * @return Endereco
97
     */
98
    public function setId($id)
99
    {
100
        $this->id = $id;
101
        return $this;
102
    }
103
104
    /**
105
     * @return Pessoa
106
     */
107
    public function getPessoa()
108
    {
109
        return $this->pessoa;
110
    }
111
112
    /**
113
     * @param Pessoa $pessoa
114
     * @return Endereco
115
     */
116
    public function setPessoa($pessoa)
117
    {
118
        $this->pessoa = $pessoa;
119
        return $this;
120
    }
121
122
    /**
123
     * @return string
124
     */
125
    public function getCep()
126
    {
127
        return $this->cep;
128
    }
129
130
    /**
131
     * @param string $cep
132
     * @return Endereco
133
     */
134
    public function setCep($cep)
135
    {
136
        $this->cep = $cep;
137
        return $this;
138
    }
139
140
    /**
141
     * @return string
142
     */
143
    public function getTipoLogradouro()
144
    {
145
        return $this->tipoLogradouro;
146
    }
147
148
    /**
149
     * @param string $tipoLogradouro
150
     * @return Endereco
151
     */
152
    public function setTipoLogradouro($tipoLogradouro)
153
    {
154
        $this->tipoLogradouro = $tipoLogradouro;
155
        return $this;
156
    }
157
158
    /**
159
     * @return string
160
     */
161
    public function getLogradouro()
162
    {
163
        return $this->logradouro;
164
    }
165
166
    /**
167
     * @param string $logradouro
168
     * @return Endereco
169
     */
170
    public function setLogradouro($logradouro)
171
    {
172
        $this->logradouro = $logradouro;
173
        return $this;
174
    }
175
176
    /**
177
     * @return string
178
     */
179
    public function getNumero()
180
    {
181
        return $this->numero;
182
    }
183
184
    /**
185
     * @param string $numero
186
     * @return Endereco
187
     */
188
    public function setNumero($numero)
189
    {
190
        $this->numero = $numero;
191
        return $this;
192
    }
193
194
    /**
195
     * @return string
196
     */
197
    public function getComplemento()
198
    {
199
        return $this->complemento;
200
    }
201
202
    /**
203
     * @param string $complemento
204
     * @return Endereco
205
     */
206
    public function setComplemento($complemento)
207
    {
208
        $this->complemento = $complemento;
209
        return $this;
210
    }
211
212
    /**
213
     * @return string
214
     */
215
    public function getBairro()
216
    {
217
        return $this->bairro;
218
    }
219
220
    /**
221
     * @param string $bairro
222
     * @return Endereco
223
     */
224
    public function setBairro($bairro)
225
    {
226
        $this->bairro = $bairro;
227
        return $this;
228
    }
229
230
    /**
231
     * @return string
232
     */
233
    public function getCidade()
234
    {
235
        return $this->cidade;
236
    }
237
238
    /**
239
     * @param string $cidade
240
     * @return Endereco
241
     */
242
    public function setCidade($cidade)
243
    {
244
        $this->cidade = $cidade;
245
        return $this;
246
    }
247
248
    /**
249
     * @return string
250
     */
251
    public function getUf()
252
    {
253
        return $this->uf;
254
    }
255
256
    /**
257
     * @param string $uf
258
     * @return Endereco
259
     */
260
    public function setUf($uf)
261
    {
262
        $this->uf = $uf;
263
        return $this;
264
    }
265
266
    /**
267
     * @return string
268
     */
269
    public function getReferencia()
270
    {
271
        return $this->referencia;
272
    }
273
274
    /**
275
     * @param string $referencia
276
     * @return Endereco
277
     */
278
    public function setReferencia($referencia)
279
    {
280
        $this->referencia = $referencia;
281
        return $this;
282
    }
283
284
    /**
285
     * @return float
286
     */
287
    public function getLatitude()
288
    {
289
        return $this->latitude;
290
    }
291
292
    /**
293
     * @param float $latitude
294
     * @return Endereco
295
     */
296
    public function setLatitude($latitude)
297
    {
298
        $this->latitude = $latitude;
299
        return $this;
300
    }
301
302
    /**
303
     * @return float
304
     */
305
    public function getLongitude()
306
    {
307
        return $this->longitude;
308
    }
309
310
    /**
311
     * @param float $longitude
312
     * @return Endereco
313
     */
314
    public function setLongitude($longitude)
315
    {
316
        $this->longitude = $longitude;
317
        return $this;
318
    }
319
320
}