Passed
Push — master ( f87cd0...02e408 )
by
unknown
08:57
created

UserNatural::getAddress()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Created by Graham Owens ([email protected])
4
 * Company: PartFire Ltd (www.partfire.co.uk)
5
 * Console: Discovery
6
 *
7
 * User:    gra
8
 * Date:    10/01/17
9
 * Time:    15:36
10
 * Project: PartFire MangoPay Bundle
11
 * File:    UserNatural.php
12
 *
13
 **/
14
15
namespace PartFire\MangoPayBundle\Models\DTOs;
16
17
use PartFire\MangoPayBundle\MangoPayConstants;
18
19
class UserNatural extends UserBase
20
{
21
    private $firstName;
22
23
    private $lastName;
24
25
    private $birthday;
26
27
    private $nationality;
28
29
    private $countryOfResidence;
30
31
    private $occupation;
32
33
    private $incomeRange;
34
35
    private $address;
36
37
38
    /**
39
     * @return mixed
40
     */
41
    public function getFirstName()
42
    {
43
        return $this->firstName;
44
    }
45
46
    /**
47
     * @param mixed $firstName
48
     */
49
    public function setFirstName($firstName)
50
    {
51
        $this->firstName = $firstName;
52
    }
53
54
    /**
55
     * @return mixed
56
     */
57
    public function getLastName()
58
    {
59
        return $this->lastName;
60
    }
61
62
    /**
63
     * @param mixed $lastName
64
     */
65
    public function setLastName($lastName)
66
    {
67
        $this->lastName = $lastName;
68
    }
69
70
    /**
71
     * @return mixed
72
     */
73
    public function getBirthday()
74
    {
75
        return $this->birthday;
76
    }
77
78
    /**
79
     * @param mixed $birthday
80
     */
81
    public function setBirthday($birthday)
82
    {
83
        $this->birthday = $birthday;
84
    }
85
86
    /**
87
     * @return mixed
88
     */
89
    public function getNationality()
90
    {
91
        return $this->nationality;
92
    }
93
94
    /**
95
     * @param mixed $nationality
96
     */
97
    public function setNationality($nationality)
98
    {
99
        $this->nationality = $nationality;
100
    }
101
102
    /**
103
     * @return mixed
104
     */
105
    public function getCountryOfResidence()
106
    {
107
        return $this->countryOfResidence;
108
    }
109
110
    /**
111
     * @param mixed $countryOfResidence
112
     */
113
    public function setCountryOfResidence($countryOfResidence)
114
    {
115
        $this->countryOfResidence = $countryOfResidence;
116
    }
117
118
    /**
119
     * @return mixed
120
     */
121
    public function getOccupation()
122
    {
123
        return $this->occupation;
124
    }
125
126
    /**
127
     * @param mixed $occupation
128
     */
129
    public function setOccupation($occupation)
130
    {
131
        $this->occupation = $occupation;
132
    }
133
134
    /**
135
     * @return mixed
136
     */
137
    public function getIncomeRange()
138
    {
139
        return $this->incomeRange;
140
    }
141
142
    /**
143
     * @param mixed $incomeRange
144
     */
145
    public function setIncomeRange($incomeRange)
146
    {
147
        $this->incomeRange = $incomeRange;
148
    }
149
150
    /**
151
     * @return mixed
152
     */
153
    public function getAddress() : Address
154
    {
155
        return $this->address;
156
    }
157
158
    /**
159
     * @param mixed $address
160
     */
161
    public function setAddress(Address $address)
162
    {
163
        $this->address = $address;
164
    }
165
166
167
168
}
169