Completed
Push — master ( 606f02...b5ae25 )
by Frederik
9s
created

OtherAccount::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

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