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

OtherAccount   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 53.33%

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 6
c 1
b 1
f 0
lcom 0
cbo 1
dl 0
loc 65
ccs 8
cts 15
cp 0.5333
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getIdentification() 0 4 1
A setSchemeName() 0 4 1
A getSchemeName() 0 4 1
A setIssuer() 0 4 1
A getIssuer() 0 4 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