Completed
Pull Request — master (#27)
by Yann
02:57
created

OrganisationIdentification::getIssuer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Genkgo\Camt\DTO;
4
5
class OrganisationIdentification extends Identification
6
{
7
    /**
8
     * @var string|null
9
     */
10
    private $bic;
11
12
    /**
13
     * @var string|null
14
     */
15
    private $ibei;
16
17
    /**
18
     * @var string|null
19
     */
20
    private $bei;
21
22
    /**
23
     * @var string|null
24
     */
25
    private $eangln;
26
27
    /**
28
     * @var string|null
29
     */
30
    private $chipsUniversalId;
31
32
    /**
33
     * @var string|null
34
     */
35
    private $duns;
36
37
    /**
38
     * @var string|null
39
     */
40
    private $bankPartyId;
41
42
    /**
43
     * @var string|null
44
     */
45
    private $taxId;
46
47
    /**
48
     * @var string|null
49
     */
50
    private $issuer;
51
52
    /**
53
     * @var string|null
54
     */
55
    private $otherId;
56
57
    /**
58
     * @var string|null
59
     */
60
    private $otherIssuer;
61
62
    /**
63
     * @var string|null
64
     */
65
    private $otherSchemeName;
66
67
    /**
68
     * @var string|null
69
     */
70
    private $otherType;
71
72
    /**
73
     * @return string|null
74
     */
75 3
    public function getBic()
76
    {
77 3
        return $this->bic;
78
    }
79
    
80
    /**
81
     * @param string $bic
82
     */
83 17
    public function setBic($bic)
84
    {
85 17
        $this->bic = $bic;
86 17
        $this->identification = $bic;
87 17
    }
88
89
    /**
90
     * @return string|null
91
     */
92
    public function getIbei()
93
    {
94
        return $this->ibei;
95
    }
96
    
97
    /**
98
     * @param string $ibei
99
     */
100 4
    public function setIbei($ibei)
101
    {
102 4
        $this->ibei = $ibei;
103 4
        $this->identification = $ibei;
104 4
    }
105
106
    /**
107
     * @return string|null
108
     */
109
    public function getBei()
110
    {
111
        return $this->bei;
112
    }
113
    
114
    /**
115
     * @param string $bei
116
     */
117 15
    public function setBei($bei)
118
    {
119 15
        $this->bei = $bei;
120 15
        $this->identification = $bei;
121 15
    }
122
123
    /**
124
     * @return string|null
125
     */
126
    public function getEangln()
127
    {
128
        return $this->eangln;
129
    }
130
    
131
    /**
132
     * @param string $eangln
133
     */
134 4
    public function setEangln($eangln)
135
    {
136 4
        $this->eangln = $eangln;
137 4
        $this->identification = $eangln;
138 4
    }
139
140
    /**
141
     * @return string|null
142
     */
143
    public function getChipsUniversalId()
144
    {
145
        return $this->chipsUniversalId;
146
    }
147
    
148
    /**
149
     * @param string $chipsUniversalId
150
     */
151
    public function setChipsUniversalId($chipsUniversalId)
152
    {
153
        $this->chipsUniversalId = $chipsUniversalId;
154
        $this->identification = $chipsUniversalId;
155
    }
156
157
    /**
158
     * @return string|null
159
     */
160
    public function getDuns()
161
    {
162
        return $this->duns;
163
    }
164
    
165
    /**
166
     * @param string $duns
167
     */
168
    public function setDuns($duns)
169
    {
170
        $this->duns = $duns;
171
        $this->identification = $duns;
172
    }
173
174
    /**
175
     * @return string|null
176
     */
177
    public function getBankPartyId()
178
    {
179
        return $this->bankPartyId;
180
    }
181
    
182
    /**
183
     * @param string $bankPartyId
184
     */
185
    public function setBankPartyId($bankPartyId)
186
    {
187
        $this->bankPartyId = $bankPartyId;
188
        $this->identification = $bankPartyId;
189
    }
190
191
    /**
192
     * @return string|null
193
     */
194
    public function getTaxId()
195
    {
196
        return $this->taxId;
197
    }
198
    
199
    /**
200
     * @param string $taxId
201
     */
202
    public function setTaxId($taxId)
203
    {
204
        $this->taxId = $taxId;
205
        $this->identification = $taxId;
206
    }
207
208
    /**
209
     * @return string|null
210
     */
211 3
    public function getOtherId()
212
    {
213 3
        return $this->otherId;
214
    }
215
    
216
    /**
217
     * @param string $otherID
0 ignored issues
show
Documentation introduced by
There is no parameter named $otherID. Did you maybe mean $otherId?

This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.

Consider the following example. The parameter $ireland is not defined by the method finale(...).

/**
 * @param array $germany
 * @param array $ireland
 */
function finale($germany, $island) {
    return "2:1";
}

The most likely cause is that the parameter was changed, but the annotation was not.

Loading history...
218
     */
219 17
    public function setOtherId($otherId)
220
    {
221 17
        $this->otherId = $otherId;
222 17
        $this->identification = $otherId;
223 17
    }
224
225
    /**
226
     * @return string|null
227
     */
228 3
    public function getOtherIssuer()
229
    {
230 3
        return $this->otherIssuer;
231
    }
232
    
233
    /**
234
     * @param string $otherIssuer
235
     */
236 17
    public function setOtherIssuer($otherIssuer)
237
    {
238 17
        $this->otherIssuer = $otherIssuer;
239 17
    }
240
241
    /**
242
     * @return string|null
243
     */
244
    public function getOtherSchemeName()
245
    {
246
        return $this->otherSchemeName;
247
    }
248
    
249
    /**
250
     * @param string $otherSchemeName
251
     */
252
    public function setOtherSchemeName($otherSchemeName)
253
    {
254
        $this->otherSchemeName = $otherSchemeName;
255
    }
256
257
    /**
258
     * @return string|null
259
     */
260
    public function getOtherType()
261
    {
262
        return $this->otherType;
263
    }
264
    
265
    /**
266
     * @param string $otherType
267
     */
268
    public function setOtherType($otherType)
269
    {
270
        $this->otherType = $otherType;
271
    }
272
273
    /**
274
     * @return string|null
275
     */
276
    public function getIssuer()
277
    {
278
        return $this->issuer;
279
    }
280
    
281
    /**
282
     * @param string $issuer
283
     */
284
    public function setIssuer($issuer)
285
    {
286
        $this->issuer = $issuer;
287
        $this->identification = $issuer;
288
    }
289
290
}
291