| 1 | <?php |
||
| 9 | class ReconciliationIdentifier implements HydratableInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | private $id; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var Money |
||
| 18 | */ |
||
| 19 | private $amount; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var int |
||
| 23 | */ |
||
| 24 | private $amountCurrency; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private $type; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var \DateTimeImmutable |
||
| 33 | */ |
||
| 34 | private $date; |
||
| 35 | |||
| 36 | 27 | public function hydrateXml(\SimpleXMLElement $xml) |
|
| 53 | |||
| 54 | /** |
||
| 55 | * @return string |
||
| 56 | */ |
||
| 57 | 6 | public function getId() : string |
|
| 61 | |||
| 62 | /** |
||
| 63 | * @return Money |
||
| 64 | */ |
||
| 65 | 6 | public function getAmount() : Money |
|
| 69 | |||
| 70 | /** |
||
| 71 | * @return int |
||
| 72 | */ |
||
| 73 | 3 | public function getAmountCurrency() : int |
|
| 77 | |||
| 78 | /** |
||
| 79 | * @return string |
||
| 80 | */ |
||
| 81 | 6 | public function getType() : string |
|
| 85 | |||
| 86 | /** |
||
| 87 | * @return \DateTimeImmutable |
||
| 88 | */ |
||
| 89 | 6 | public function getDate(): \DateTimeImmutable |
|
| 93 | } |
||
| 94 |