BankAccount::setBban()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of datamolino client.
5
 *
6
 * (c) 2018 cwd.at GmbH <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Cwd\Datamolino\Model\Document;
15
16
class BankAccount
17
{
18
    /** @var string|null */
19
    private $bban;
20
21
    /** @var string|null */
22
    private $bank_code;
23
24
    /** @var string|null */
25
    private $bic;
26
27
    /** @var string|null */
28
    private $iban;
29
30
    /**
31
     * @return null|string
32
     */
33
    public function getBban(): ?string
34
    {
35
        return $this->bban;
36
    }
37
38
    /**
39
     * @param null|string $bban
40
     *
41
     * @return BankAccount
42
     */
43
    public function setBban(?string $bban): BankAccount
44
    {
45
        $this->bban = $bban;
46
47
        return $this;
48
    }
49
50
    /**
51
     * @return string|null
52
     */
53
    public function getBankCode(): ?string
54
    {
55
        return $this->bank_code;
56
    }
57
58
    /**
59
     * @param string|null $bank_code
60
     *
61
     * @return BankAccount
62
     */
63
    public function setBankCode(?string $bank_code): BankAccount
64
    {
65
        $this->bank_code = $bank_code;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return null|string
72
     */
73
    public function getBic(): ?string
74
    {
75
        return $this->bic;
76
    }
77
78
    /**
79
     * @param null|string $bic
80
     *
81
     * @return BankAccount
82
     */
83
    public function setBic(?string $bic): BankAccount
84
    {
85
        $this->bic = $bic;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @return null|string
92
     */
93
    public function getIban(): ?string
94
    {
95
        return $this->iban;
96
    }
97
98
    /**
99
     * @param null|string $iban
100
     *
101
     * @return BankAccount
102
     */
103
    public function setIban(?string $iban): BankAccount
104
    {
105
        $this->iban = $iban;
106
107
        return $this;
108
    }
109
}
110