Failed Conditions
Pull Request — master (#92)
by
unknown
03:25
created

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