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

RemittanceInformation::fromUnstructured()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
ccs 4
cts 4
cp 1
rs 9.4285
cc 1
eloc 4
nc 1
nop 1
crap 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