Completed
Pull Request — master (#20)
by Yann
02:45
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 2
Bugs 1 Features 1
Metric Value
wmc 6
c 2
b 1
f 1
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
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