Completed
Push — master ( a5ff2b...bf9940 )
by Yann
05:35
created

ChargesRecord::setChargesIncluded­Indicator()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 2
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 $chargesIncluded­Indicator = 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 ChargesIncluded­Indicator
41
     */
42
    public function getChargesIncluded­Indicator()
43
    {
44
        return $this->chargesIncluded­Indicator;
45
    }
46
47
    /**
48
     * @param $chargesIncluded­Indicator
49
     */
50
    public function setChargesIncluded­Indicator($chargesIncluded­Indicator)
51
    {
52
        $this->chargesIncluded­Indicator = $chargesIncluded­Indicator;
53
    }
54
55
    /**
56
     * @return Identification
57
     */
58
    public function getIdentification()
59
    {
60
        return $this->identification;
61
    }
62
63
    /**
64
     * @param $identification
65
     */
66 4
    public function setIdentification($identification)
67
    {
68 4
        $this->identification = $identification;
69 4
    }
70
    
71
}
72