Address::getLegalForm()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ticketpark\SaferpayJson\Response\Container;
6
7
use JMS\Serializer\Annotation\SerializedName;
8
use JMS\Serializer\Annotation\Type;
9
10
final class Address
11
{
12
    public const GENDER_MALE = 'MALE';
13
    public const GENDER_FEMALE = 'FEMALE';
14
    public const GENDER_DIVERSE = 'DIVERSE';
15
    public const GENDER_COMPANY = 'COMPANY';
16
17
    /**
18
     * @var string|null
19
     * @SerializedName("FirstName")
20
     * @Type("string")
21
     */
22
    private $firstName;
23
24
    /**
25
     * @var string|null
26
     * @SerializedName("LastName")
27
     * @Type("string")
28
     */
29
    private $lastName;
30
31
    /**
32
     * @var string|null
33
     * @SerializedName("Company")
34
     * @Type("string")
35
     */
36
    private $company;
37
38
    /**
39
     * @var string|null
40
     * @SerializedName("Gender")
41
     * @Type("string")
42
     */
43
    private $gender;
44
45
    /**
46
     * @var string|null
47
     * @SerializedName("Street")
48
     * @Type("string")
49
     */
50
    private $street;
51
52
    /**
53
     * @var string|null
54
     * @SerializedName("Zip")
55
     * @Type("string")
56
     */
57
    private $zip;
58
59
    /**
60
     * @var string|null
61
     * @SerializedName("City")
62
     * @Type("string")
63
     */
64
    private $city;
65
66
    /**
67
     * @var string|null
68
     * @SerializedName("CountryCode")
69
     * @Type("string")
70
     */
71
    private $countryCode;
72
73
    /**
74
     * @var string|null
75
     * @SerializedName("Email")
76
     * @Type("string")
77
     */
78
    private $email;
79
80
    /**
81
     * @var \DateTime|null
82
     * @SerializedName("DateOfBirth")
83
     * @Type("string")
84
     */
85
    private $dateOfBirth;
86
87
    /**
88
     * @var string|null
89
     * @SerializedName("LegalForm")
90
     * @Type("string")
91
     */
92
    private $legalForm;
93
94
    /**
95
     * @var string|null
96
     * @SerializedName("Street2")
97
     * @Type("string")
98
     */
99
    private $street2;
100
101
    /**
102
     * @var string|null
103
     * @SerializedName("CountrySubdivisionCode")
104
     * @Type("string")
105
     */
106
    private $countrySubdivisionCode;
107
108
    /**
109
     * @var string|null
110
     * @SerializedName("Phone")
111
     * @Type("string")
112
     */
113
    private $phone;
114
115
    public function getFirstName(): ?string
116
    {
117
        return $this->firstName;
118
    }
119
120
    public function getLastName(): ?string
121
    {
122
        return $this->lastName;
123
    }
124
125
    public function getCompany(): ?string
126
    {
127
        return $this->company;
128
    }
129
130
    public function getGender(): ?string
131
    {
132
        return $this->gender;
133
    }
134
135
    public function getStreet(): ?string
136
    {
137
        return $this->street;
138
    }
139
140
    public function getZip(): ?string
141
    {
142
        return $this->zip;
143
    }
144
145
    public function getCity(): ?string
146
    {
147
        return $this->city;
148
    }
149
150
    public function getCountryCode(): ?string
151
    {
152
        return $this->countryCode;
153
    }
154
155
    public function getEmail(): ?string
156
    {
157
        return $this->email;
158
    }
159
160
    public function getDateOfBirth(): ?\DateTime
161
    {
162
        return $this->dateOfBirth;
163
    }
164
165
    public function getLegalForm(): ?string
166
    {
167
        return $this->legalForm;
168
    }
169
170
    public function getStreet2(): ?string
171
    {
172
        return $this->street2;
173
    }
174
175
    public function getCountrySubdivisionCode(): ?string
176
    {
177
        return $this->countrySubdivisionCode;
178
    }
179
180
    public function getPhone(): ?string
181
    {
182
        return $this->phone;
183
    }
184
}
185