Completed
Push — master ( 684883...0d5cb2 )
by Frederik
06:17 queued 04:16
created

OtherAccount   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 6
c 2
b 0
f 1
lcom 0
cbo 1
dl 0
loc 65
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\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
    public function __construct($identification)
30
    {
31
        $this->identification = $identification;
32
    }
33
34
    /**
35
     * {@inheritdoc}
36
     */
37
    public function getIdentification()
38
    {
39
        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
    public function setIssuer($issuer)
62
    {
63
        $this->issuer = $issuer;
64
    }
65
66
    /**
67
     * @return string|null
68
     */
69
    public function getIssuer()
70
    {
71
        return $this->issuer;
72
    }
73
}
74