Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 30% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class ChargesRecord |
||
10 | { |
||
11 | private Money $amount; |
||
12 | |||
13 | private bool $chargesIncludedIndicator = false; |
||
14 | |||
15 | private string $identification; |
||
16 | |||
17 | public function getAmount(): Money |
||
18 | { |
||
19 | return $this->amount; |
||
20 | } |
||
21 | |||
22 | public function setAmount(Money $money): void |
||
23 | { |
||
24 | $this->amount = $money; |
||
25 | } |
||
26 | |||
27 | public function getChargesIncludedIndicator(): bool |
||
28 | { |
||
29 | return $this->chargesIncludedIndicator; |
||
30 | } |
||
31 | 4 | ||
32 | public function setChargesIncludedIndicator(bool $chargesIncludedIndicator): void |
||
33 | 4 | { |
|
34 | 4 | $this->chargesIncludedIndicator = $chargesIncludedIndicator; |
|
35 | } |
||
36 | |||
37 | public function getIdentification(): string |
||
38 | { |
||
39 | return $this->identification; |
||
40 | } |
||
41 | |||
42 | public function setIdentification(string $identification): void |
||
45 | } |
||
46 | } |
||
47 |