*
* Note: AggregateOffers are normally expected to associate multiple offers that all share the same defined businessFunction value, or default to http://purl.org/goodrelations/v1#Sell if businessFunction is not explicitly defined.")
*/
class AggregateOffer extends Offer implements \JsonSerializable
{
/** @var string|float|null */
protected $highPrice;
/** @var string|float|null */
protected $lowPrice;
/** @var int|null */
protected $offerCount;
/** @var Trip|Event|Product|Offer|Demand|Service|CreativeWork|MenuItem|null */
protected $itemOffered;
/** @var Offer|Demand|null */
protected $offers;
/**
* @param string|float|null $highPrice
*/
public function setHighPrice($highPrice): void
{
$this->highPrice = $highPrice;
}
/**
* @return string|float|null
*/
public function getHighPrice()
{
return $this->highPrice;
}
/**
* @param string|float|null $lowPrice
*/
public function setLowPrice($lowPrice): void
{
$this->lowPrice = $lowPrice;
}
/**
* @return string|float|null
*/
public function getLowPrice()
{
return $this->lowPrice;
}
/**
* @param int|null $offerCount
*/
public function setOfferCount(?int $offerCount): void
{
$this->offerCount = $offerCount;
}
/**
* @return int|null
*/
public function getOfferCount(): ?int
{
return $this->offerCount;
}
/**
* @param Trip|Event|Product|Offer|Demand|Service|CreativeWork|MenuItem|null $itemOffered
*/
public function setItemOffered($itemOffered): void
{
$this->itemOffered = $itemOffered;
}
/**
* @return Trip|Event|Product|Offer|Demand|Service|CreativeWork|MenuItem|null
*/
public function getItemOffered()
{
return $this->itemOffered;
}
/**
* @param Offer|Demand|null $offers
*/
public function setOffers($offers): void
{
$this->offers = $offers;
}
/**
* @return Offer|Demand|null
*/
public function getOffers()
{
return $this->offers;
}
public function jsonSerialize()
{
return (object) array_merge((array) parent::jsonSerialize(), array_filter(array('highPrice' => $this->highPrice, 'lowPrice' => $this->lowPrice, 'offerCount' => $this->offerCount, 'itemOffered' => $this->itemOffered, 'offers' => $this->offers), static function ($value) : bool {
return $value !== null;
}));
}
}
__halt_compiler();----SIGNATURE:----MOcD38lwhdYhuM0qQpx8f5xLdGGhj/cXr/E/VEZlBIKaZC9HGwMI39+ytzXK8yf0mDaJteg1lAH+7bZP4BT1DZBHLsDW5TDb2t9GG4Gb0KeJpvh7lhwQYB6ZiPQL4UzZUo9IyPkhhGBZDQXNe7yiJ5ukPptdBaODyInEh38hStStIQipU3dbRn24Go6ptfsgiKzYcjgByF5c2c5RfBNnJD6VyllSpQ2S1yniVyz30Naf4Bm+FmSaXGRJ6g98ha/b8LhYAwYX6u2UQLQsd6kT5L15Oc8mXi7H5k+5MG8M8eF2bSyxUzN5eoYt5l4hRAGJRFTTFJL4zFTnu/hT8gy6sAKB63JtXZM7GyMm0yrX9eaNFSLCGXJFWz0LhRCHkNbrwmZdS1zd45UTEvHz33GBJb/jMUB06r/rMiyWw6bc+Fm+S5KxWq1DBC6u5OtKgV94/h9qTF7buJcEl7mvuyVzFG62Ab1QBjbdEiug9DBAjMpe+EHwh+kg9ge/CDZZ2E2EHEwVb1pEm5ViRf0L2lHoR74MfaxZLVPEHAP/+/aC3wd8jfy0U+iRYVIk6GOEPkTxt7odsdUB5HVxqkVsZGKPmDDSfmlfntZWvlR41AZX98tE7gmFI8WyB3w/sUR2NzdFMCqcHftAB1BEgYxf65JJ+HBp6axHuVC/6i9C/VzHq2o=----ATTACHMENT:----NjMzMDE0NjgxMzU2MTg5OCA5Mzg3NDY2MTY2NTQ0Mzk1IDY0NzA0MDc4MjM2MDkzNzY=