Note: This type has been superseded by MonetaryAmount use of that type is recommended") */ class DatedMoneySpecification extends StructuredValue implements \JsonSerializable { /** @var \PSX\DateTime\Date|\DateTime|null */ protected $endDate; /** @var \DateTime|\PSX\DateTime\Date|null */ protected $startDate; /** @var string|null */ protected $currency; /** @var float|MonetaryAmount|null */ protected $amount; /** * @param \PSX\DateTime\Date|\DateTime|null $endDate */ public function setEndDate($endDate): void { $this->endDate = $endDate; } /** * @return \PSX\DateTime\Date|\DateTime|null */ public function getEndDate() { return $this->endDate; } /** * @param \DateTime|\PSX\DateTime\Date|null $startDate */ public function setStartDate($startDate): void { $this->startDate = $startDate; } /** * @return \DateTime|\PSX\DateTime\Date|null */ public function getStartDate() { return $this->startDate; } /** * @param string|null $currency */ public function setCurrency(?string $currency): void { $this->currency = $currency; } /** * @return string|null */ public function getCurrency(): ?string { return $this->currency; } /** * @param float|MonetaryAmount|null $amount */ public function setAmount($amount): void { $this->amount = $amount; } /** * @return float|MonetaryAmount|null */ public function getAmount() { return $this->amount; } public function jsonSerialize() { return (object) array_merge((array) parent::jsonSerialize(), array_filter(array('endDate' => $this->endDate, 'startDate' => $this->startDate, 'currency' => $this->currency, 'amount' => $this->amount), static function ($value) : bool { return $value !== null; })); } } __halt_compiler();----SIGNATURE:----syuL8Uh8sIqOG632qfR6Hef3bUbIA8TZGIMaWQOR+gTyvwLgaNOigTltI/CrtN73Pw8LaGeJ3gLBO8OTPqXfaVPEe2THF1jEJNQzsrOcwG68oVSPjSEHCInZ4mRDi/RtPHKOpvrp5Ma/U+seFHwPvThMsxkDZEKRsF+SLSJSxptTTiodAd41yiFmmSfB4M2jjMZ7GeclYEsjcy7hvsiCL7PXSDwvEIyi1ESHOFjAqBBFAnlr/pfBGq0ryZawZqm7qRen1Z5hRhIcGa0lEB3NX9WfJiGMBaHVwlYsPsXEqmWjhufVIutpyfP1piAS5DQnCCzwYnhD/n+ierDHRBMQqB4STA1utRmNzwAhWeQLrNMFAbmgxqeFl38W/ImWM5Syekn4b0yjUX10JB6Ya+MTAgzZiQGmLHHbYgJVY1TK7/kuEZtNbJlhLDXMwblQ40jd5dQhKFT4LlwsHXHKZ73JEG5ewhLvrgJLc/FTDblPHxNLefSaq9BRui/poA3A2p9JUStd+Fw2lIp6g6oKeUPEXwYJ39VRYIjr6mjFbKh9348azZK+hx32vy7G75FlWtVVia91D+Xs2K7UkMmNXnH7ZI1G6fidnn+Z1X0pMVma8Fy4vsGeTbsqI1UruezcfOJa34ab7Qm3LAQYiN2A8RvzFdppHk+hHdgxTiBgdbnsFAA=----ATTACHMENT:----OTA5NzQxNTU2NTgwNzkxNiA0NjIzNzExMjE2MjE2OTgxIDQ5OTI4MjgwMTMwMjU0OTM=