Test Failed
Push — master ( b0844f...f87cd0 )
by
unknown
03:20
created

UserNatural::getLastName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
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
36
    /**
37
     * @return mixed
38
     */
39
    public function getFirstName()
40
    {
41
        return $this->firstName;
42
    }
43
44
    /**
45
     * @param mixed $firstName
46
     */
47
    public function setFirstName($firstName)
48
    {
49
        $this->firstName = $firstName;
50
    }
51
52
    /**
53
     * @return mixed
54
     */
55
    public function getLastName()
56
    {
57
        return $this->lastName;
58
    }
59
60
    /**
61
     * @param mixed $lastName
62
     */
63
    public function setLastName($lastName)
64
    {
65
        $this->lastName = $lastName;
66
    }
67
68
    /**
69
     * @return mixed
70
     */
71
    public function getBirthday() : string
72
    {
73
        return $this->birthday->format('U');;
74
    }
75
76
    /**
77
     * @param mixed $birthday
78
     */
79
    public function setBirthday(\DateTime $birthday)
80
    {
81
        $this->birthday = $birthday;
82
    }
83
84
    /**
85
     * @return mixed
86
     */
87
    public function getNationality()
88
    {
89
        return $this->nationality;
90
    }
91
92
    /**
93
     * @param mixed $nationality
94
     */
95
    public function setNationality($nationality)
96
    {
97
        $this->nationality = $nationality;
98
    }
99
100
    /**
101
     * @return mixed
102
     */
103
    public function getCountryOfResidence()
104
    {
105
        return $this->countryOfResidence;
106
    }
107
108
    /**
109
     * @param mixed $countryOfResidence
110
     */
111
    public function setCountryOfResidence($countryOfResidence)
112
    {
113
        $this->countryOfResidence = $countryOfResidence;
114
    }
115
116
    /**
117
     * @return mixed
118
     */
119
    public function getOccupation()
120
    {
121
        return $this->occupation;
122
    }
123
124
    /**
125
     * @param mixed $occupation
126
     */
127
    public function setOccupation($occupation)
128
    {
129
        $this->occupation = $occupation;
130
    }
131
132
    /**
133
     * @return mixed
134
     */
135
    public function getIncomeRange()
136
    {
137
        return $this->incomeRange;
138
    }
139
140
    /**
141
     * @param mixed $incomeRange
142
     */
143
    public function setIncomeRange($incomeRange)
144
    {
145
        $this->incomeRange = $incomeRange;
146
    }
147
148
149
}
150