Failed Conditions
Push — master ( d89672...a08aa1 )
by Adrien
06:23
created

ChargesRecord::getChargesIncludedIndicator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
namespace Genkgo\Camt\DTO;
3
4
use Money\Money;
5
6
class ChargesRecord
7
{
8
9
    /** @var Money */
10
    private $amount;
11
12
    /**
13
     * @var bool
14
     */
15
    private $chargesIncludedIndicator = false;
16
17
    /**
18
     * @var string
19
     */
20
    private $identification;
21
22
23
    /**
24
     * @return Money
25
     */
26
    public function getAmount()
27
    {
28
        return $this->amount;
29
    }
30
31
    /**
32
     * @param Money $money
33
     */
34 4
    public function setAmount(Money $money)
35
    {
36 4
        $this->amount = $money;
37 4
    }
38
39
    /**
40
     * @return bool
41
     */
42
    public function getChargesIncludedIndicator()
43
    {
44
        return $this->chargesIncludedIndicator;
45
    }
46
47
    /**
48
     * @param bool $chargesIncludedIndicator
49
     */
50
    public function setChargesIncludedIndicator($chargesIncludedIndicator)
51
    {
52
        $this->chargesIncludedIndicator = $chargesIncludedIndicator;
53
    }
54
55
    /**
56
     * @return string
57
     */
58
    public function getIdentification()
59
    {
60
        return $this->identification;
61
    }
62
63
    /**
64
     * @param string $identification
65
     */
66 4
    public function setIdentification($identification)
67
    {
68 4
        $this->identification = $identification;
69 4
    }
70
}
71