Completed
Pull Request — master (#37)
by
unknown
06:42
created

RemittanceInformation   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 45
ccs 10
cts 10
cp 1
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getCreditorReferenceInformation() 0 4 1
A setCreditorReferenceInformation() 0 4 1
A getMessage() 0 4 1
A setMessage() 0 4 1
1
<?php
2
3
namespace Genkgo\Camt\DTO;
4
5
/**
6
 * Class RemittanceInformation
7
 * @package Genkgo\Camt\DTO
8
 */
9
class RemittanceInformation
10
{
11
    /**
12
     * @var string
13
     */
14
    private $message;
15
16
    /**
17
     * @var CreditorReferenceInformation
18
     */
19
    private $creditorReferenceInformation;
20
21
    /**
22
     * @return CreditorReferenceInformation
23
     */
24 1
    public function getCreditorReferenceInformation()
25
    {
26 1
        return $this->creditorReferenceInformation;
27
    }
28
29
    /**
30
     * @param CreditorReferenceInformation $creditorReferenceInformation
31
     */
32 9
    public function setCreditorReferenceInformation($creditorReferenceInformation)
33
    {
34 9
        $this->creditorReferenceInformation = $creditorReferenceInformation;
35 9
    }
36
37
    /**
38
     * @return string
39
     */
40 2
    public function getMessage()
41
    {
42 2
        return $this->message;
43
    }
44
45
    /**
46
     * @param $message
47
     */
48 9
    public function setMessage($message)
49
    {
50 9
        $this->message = $message;
51 9
    }
52
53
}
54