Completed
Pull Request — master (#20)
by Yann
02:45
created

OtherAccount::setSchemeName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 2
Bugs 1 Features 1
Metric Value
c 2
b 1
f 1
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Genkgo\Camt\Camt053\DTO;
4
5
use Genkgo\Camt\DTO\Account;
6
7
/**
8
 * Class OtherAccount
9
 * @package Genkgo\Camt\Camt053
10
 */
11
class OtherAccount extends Account
12
{
13
    /**
14
     * @var string
15
     */
16
    private $identification;
17
18
    /**
19
     * @var string|null
20
     */
21
    private $schemeName;
22
23
    /**
24
     * @var string|null
25
     */
26
    private $issuer;
27
28
    /**
29
     * @param string $identification
30
     */
31 7
    public function __construct($identification)
32
    {
33 7
        $this->identification = $identification;
34 7
    }
35
36
    /**
37
     * {@inheritdoc}
38
     */
39 2
    public function getIdentification()
40
    {
41 2
        return $this->identification;
42
    }
43
44
    /**
45
     * @param string $schemeName
46
     */
47
    public function setSchemeName($schemeName)
48
    {
49
        $this->schemeName = $schemeName;
50
    }
51
52
    /**
53
     * @return string|null
54
     */
55
    public function getSchemeName()
56
    {
57
        return $this->schemeName;
58
    }
59
60
    /**
61
     * @param string $issuer
62
     */
63 6
    public function setIssuer($issuer)
64
    {
65 6
        $this->issuer = $issuer;
66 6
    }
67
68
    /**
69
     * @return string|null
70
     */
71
    public function getIssuer()
72
    {
73
        return $this->issuer;
74
    }
75
}
76