| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 24 | class CODPayment |
||
| 25 | { |
||
| 26 | use ToArray; |
||
|
|
|||
| 27 | |||
| 28 | /** |
||
| 29 | * @Serializer\Type("DateTime<'Y-m-d\TH:i:sP'>") |
||
| 30 | */ |
||
| 31 | private \DateTime $date; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @Serializer\Type("float") |
||
| 35 | */ |
||
| 36 | private float $totalPayedOutAmount; |
||
| 37 | |||
| 38 | 2 | public function getDate(): \DateTime |
|
| 41 | } |
||
| 42 | |||
| 43 | 5 | public function setDate(\DateTime $date): void |
|
| 46 | } |
||
| 47 | |||
| 48 | 2 | public function getTotalPayedOutAmount(): float |
|
| 51 | } |
||
| 52 | |||
| 53 | 5 | public function setTotalPayedOutAmount(float $totalPayedOutAmount): void |
|
| 58 |