ChargesRecord::getIdentification()   A
last analyzed

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 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 1
cp 0
crap 2
rs 10
c 1
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Genkgo\Camt\DTO;
6
7
use Money\Money;
8
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
43
    {
44
        $this->identification = $identification;
45
    }
46
}
47