| Total Complexity | 6 |
| Total Lines | 63 |
| Duplicated Lines | 0 % |
| Coverage | 35.7% |
| Changes | 0 | ||
| 1 | <?php |
||
| 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) |
|
| 69 | 4 | } |
|
| 70 | } |
||
| 71 |