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

AccountServicer   A

Complexity

Total Complexity 10

Size/Duplication

Total Lines 81
Duplicated Lines 0 %

Test Coverage

Coverage 25%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 16
c 2
b 1
f 0
dl 0
loc 81
rs 10
ccs 6
cts 24
cp 0.25
wmc 10

10 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A setName() 0 3 1
A setAddress() 0 3 1
A getSchmeNm() 0 3 1
A setId() 0 3 1
A getAddress() 0 3 1
A setBic() 0 3 1
A getName() 0 3 1
A getBic() 0 3 1
A setSchmeNm() 0 3 1
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