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:----Imf6y1UUUMV8Q9ZhsKj2X/ivM3qWPusDKHPtQAUrKc43Fst6u01H41d0UaXuMFUD2woxX4LCwTqWtluJTPf1+Dc98Ah9keXvJrk9vdwVQLPFxl47emrGyS7Rtht90a+GU4Nde3uECRD0fpmMyTYPgjKu6LpvquXAIUAztJP62LkorOX7oc0HsYJuhBSv1d+09UMyXMp5sOrgkSUjgqST10fuREVZ+dEOLNmhSt7Y8hGxmcDfFkoUyGVCcoAda2jzrU4aYm5+EIFP2nWfNM/96TAUJ+4kzsVxxy2AvNop/mv2kd3y89NVj+eVloOeg+bsaUlTNOoEeRYZCr6q8iisoh8HF42bEz4xFyv8u7Qp8e/T4PZM7HCkWfLIhGSk1b6Gbx8l3Qirav6mx0UUvHHD+7EQv6yJDlSu5ckadPCbbtl025J88CkRjPIQLVBgCtHJvCCGVSBF5SeiJBIvph3XG3MwKu1+a5JVlTs+U0XNX3w3nQUvOqYvFUd/2GwyKRF+aVOSrPcxrR6qZ6hVwa25VJqtjhlFnEaovNo5AVA2X34MLgCJ+ves8Omck5WUOOgTv6UUiwqjlO4/emeqDKggqgHCVxWKWqQd+wnS7EZWhR+O13dWDnge3Yamc9Dt1BcAZKXtiOhnTsEPbcHCugK3XXvC4Zc7ihZN9wlm9TshaDg=----ATTACHMENT:----MzA4NzE0MTMzNDY1ODA3IDIxMTczMDUzNzcwMTM5NDYgNjg0MjE4MjE4ODczMzQ1OQ==