SEPAAccount   A
last analyzed

Complexity

Total Complexity 10

Size/Duplication

Total Lines 133
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 133
c 0
b 0
f 0
wmc 10
lcom 0
cbo 0
ccs 25
cts 25
cp 1
rs 10

10 Methods

Rating   Name   Duplication   Size   Complexity  
A getIban() 0 4 1
A setIban() 0 6 1
A getBic() 0 4 1
A setBic() 0 6 1
A getAccountNumber() 0 4 1
A setAccountNumber() 0 6 1
A getSubAccount() 0 4 1
A setSubAccount() 0 6 1
A getBlz() 0 4 1
A setBlz() 0 6 1
1
<?php
2
3
namespace Fhp\Model;
4
5
/**
6
 * Class SEPAAccount
7
 * @package Fhp\Model
8
 */
9
class SEPAAccount
10
{
11
    /** @var string */
12
    protected $iban;
13
    /** @var string */
14
    protected $bic;
15
    /** @var string */
16
    protected $accountNumber;
17
    /** @var string */
18
    protected $subAccount;
19
    /** @var string */
20
    protected $blz;
21
22
    /**
23
     * Get iban
24
     *
25
     * @return string
26
     */
27 1
    public function getIban()
28
    {
29 1
        return $this->iban;
30
    }
31
32
    /**
33
     * Set iban
34
     *
35
     * @param string $iban
36
     *
37
     * @return $this
38
     */
39 1
    public function setIban($iban)
40
    {
41 1
        $this->iban = (string) $iban;
42
43 1
        return $this;
44
    }
45
46
    /**
47
     * Get bic
48
     *
49
     * @return string
50
     */
51 1
    public function getBic()
52
    {
53 1
        return $this->bic;
54
    }
55
56
    /**
57
     * Set bic
58
     *
59
     * @param string $bic
60
     *
61
     * @return $this
62
     */
63 1
    public function setBic($bic)
64
    {
65 1
        $this->bic = (string) $bic;
66
67 1
        return $this;
68
    }
69
70
    /**
71
     * Get accountNumber
72
     *
73
     * @return string
74
     */
75 1
    public function getAccountNumber()
76
    {
77 1
        return $this->accountNumber;
78
    }
79
80
    /**
81
     * Set accountNumber
82
     *
83
     * @param string $accountNumber
84
     *
85
     * @return $this
86
     */
87 1
    public function setAccountNumber($accountNumber)
88
    {
89 1
        $this->accountNumber = (string) $accountNumber;
90
91 1
        return $this;
92
    }
93
94
    /**
95
     * Get subAccount
96
     *
97
     * @return string
98
     */
99 1
    public function getSubAccount()
100
    {
101 1
        return $this->subAccount;
102
    }
103
104
    /**
105
     * Set subAccount
106
     *
107
     * @param string $subAccount
108
     *
109
     * @return $this
110
     */
111 1
    public function setSubAccount($subAccount)
112
    {
113 1
        $this->subAccount = (string) $subAccount;
114
115 1
        return $this;
116
    }
117
118
    /**
119
     * Get blz
120
     *
121
     * @return string
122
     */
123 1
    public function getBlz()
124
    {
125 1
        return $this->blz;
126
    }
127
128
    /**
129
     * Set blz
130
     *
131
     * @param string $blz
132
     *
133
     * @return $this
134
     */
135 1
    public function setBlz($blz)
136
    {
137 1
        $this->blz = (string) $blz;
138
139 1
        return $this;
140
    }
141
}
142