Completed
Push — master ( 6e6d73...1dcfbd )
by Cesar
14s queued 11s
created

Address::setDni()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Pagantis\OrdersApiClient\Model\Order\User;
4
5
use Pagantis\OrdersApiClient\Model\AbstractModel;
6
7
/**
8
 * Class Address
9
 * @package Pagantis\OrdersApiClient\Model\Order\User
10
 */
11
class Address extends AbstractModel
12
{
13
    /**
14
     * @var string $address the street name with the address details.
15
     */
16
    protected $address;
17
18
    /**
19
     * @var string $city the city name
20
     */
21
    protected $city;
22
23
    /**
24
     * @var string $countryCode the country code ES, FR, PT, IT
25
     */
26
    protected $countryCode;
27
28
    /**
29
     * @var string $fullName the full name of the user, including 2 sur names
30
     */
31
    protected $fullName;
32
33
    /**
34
     * @var string $zipCode $the zipCode of the address.
35
     */
36
    protected $zipCode;
37
38
    /**
39
     * @var string $dni the DNI of the user.
40
     */
41
    protected $dni;
42
43
    /**
44
     * @var string $fixPhone Fix Phone of the user
45
     */
46
    protected $fixPhone;
47
48
    /**
49
     * @var string $mobilePhone Mobile phone of the user
50
     */
51
    protected $mobilePhone;
52
53
    /**
54
     * @return string
55
     */
56
    public function getAddress()
57
    {
58
        return $this->address;
59
    }
60
61
    /**
62
     * @param string $address
63
     *
64
     * @return Address
65
     */
66
    public function setAddress($address)
67
    {
68
        $this->address = $address;
69
70
        return $this;
71
    }
72
73
    /**
74
     * @return string
75
     */
76
    public function getCity()
77
    {
78
        return $this->city;
79
    }
80
81
    /**
82
     * @param string $city
83
     *
84
     * @return Address
85
     */
86
    public function setCity($city)
87
    {
88
        $this->city = $city;
89
90
        return $this;
91
    }
92
93
    /**
94
     * @return string
95
     */
96
    public function getCountryCode()
97
    {
98
        return $this->countryCode;
99
    }
100
101
    /**
102
     * @param string $countryCode
103
     *
104
     * @return Address
105
     */
106
    public function setCountryCode($countryCode)
107
    {
108
        $this->countryCode = $countryCode;
109
110
        return $this;
111
    }
112
113
    /**
114
     * @return string
115
     */
116
    public function getFullName()
117
    {
118
        return $this->fullName;
119
    }
120
121
    /**
122
     * @param $fullName
123
     *
124
     * @return $this
125
     */
126
    public function setFullName($fullName)
127
    {
128
        $this->fullName = $fullName;
129
130
        return $this;
131
    }
132
133
    /**
134
     * @return string
135
     */
136
    public function getZipCode()
137
    {
138
        return $this->zipCode;
139
    }
140
141
    /**
142
     * @param string $zipCode
143
     *
144
     * @return Address
145
     */
146
    public function setZipCode($zipCode)
147
    {
148
        $this->zipCode = $zipCode;
149
150
        return $this;
151
    }
152
153
    /**
154
     * @return string
155
     */
156
    public function getDni()
157
    {
158
        return $this->dni;
159
    }
160
161
    /**
162
     * @param string $dni
163
     *
164
     * @return Address
165
     */
166
    public function setDni($dni)
167
    {
168
        $this->dni = $dni;
169
170
        return $this;
171
    }
172
173
    /**
174
     * @return string
175
     */
176
    public function getFixPhone()
177
    {
178
        return $this->fixPhone;
179
    }
180
181
    /**
182
     * @param string $fixPhone
183
     *
184
     * @return Address
185
     */
186
    public function setFixPhone($fixPhone)
187
    {
188
        $this->fixPhone = $fixPhone;
189
190
        return $this;
191
    }
192
193
    /**
194
     * @return string
195
     */
196
    public function getMobilePhone()
197
    {
198
        return $this->mobilePhone;
199
    }
200
201
    /**
202
     * @param string $mobilePhone
203
     *
204
     * @return Address
205
     */
206
    public function setMobilePhone($mobilePhone)
207
    {
208
        $this->mobilePhone = $mobilePhone;
209
210
        return $this;
211
    }
212
}
213