Failed Conditions
Pull Request — master (#92)
by
unknown
02:39
created

AccountServicer::setBic()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 2
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 2
b 1
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
ccs 0
cts 2
cp 0
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Genkgo\Camt\DTO;
6
7
class AccountServicer
8
{
9
    /**
10
     * @var string
11
     */
12
    private $id;
13
14
    /**
15
     * @var string
16
     */
17
    private $bic;
18
19
    /**
20
     * @var string
21
     */
22
    private $name;
23
24
    /**
25
     * @var \Genkgo\Camt\DTO\Address
26
     */
27
    private $address;
28
29
    /**
30
     * @var string
31
     */
32
    private $schmeNm;
33
34
    public function getId(): ?string
35
    {
36
        return $this->id;
37
    }
38
39
    public function setId(string $id): void
40
    {
41
        $this->id = $id;
42
    }
43
44
    public function getBic(): ?string
45
    {
46
        return $this->bic;
47
    }
48
49
    public function setBic(string $bic): void
50
    {
51
        $this->bic = $bic;
52
    }
53
54
    public function getName(): ?string
55
    {
56
        return $this->name;
57
    }
58
59 17
    public function setName(string $name): void
60
    {
61 17
        $this->name = $name;
62 17
    }
63
64
    /**
65
     * @return null|\Genkgo\Camt\DTO\Address
66
     */
67
    public function getAddress(): ?Address
68
    {
69
        return $this->address;
70
    }
71
72
    /**
73
     * @param \Genkgo\Camt\DTO\Address $address
74
     */
75 17
    public function setAddress(Address $address): void
76
    {
77 17
        $this->address = $address;
78 17
    }
79
80
    public function getSchmeNm(): ?string
81
    {
82
        return $this->schmeNm;
83
    }
84
85
    public function setSchmeNm(string $schmeNm): void
86
    {
87
        $this->schmeNm = $schmeNm;
88
    }
89
}
90