| 1 | <?php |
||
| 6 | class Charges |
||
| 7 | { |
||
| 8 | /** @var Money */ |
||
| 9 | private $totalChargesAndTaxAmount; |
||
| 10 | |||
| 11 | /** @var ChargesRecords[] */ |
||
| 12 | private $records = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @return Money |
||
| 16 | */ |
||
| 17 | public function getTotalChargesAndTaxAmount() |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param Money $money |
||
| 24 | */ |
||
| 25 | public function setTotalChargesAndTaxAmount(Money $money) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param ChargesRecord $record |
||
| 32 | */ |
||
| 33 | public function addRecord(ChargesRecord $record) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return Records[] |
||
| 40 | */ |
||
| 41 | public function getRecords() |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @return ChargesRecord |
||
| 48 | */ |
||
| 49 | public function getRecord() |
||
| 57 | } |
||
| 58 |