<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\DataType\Date;
|
use JVBase\managers\SEO\render\DataType\DateTime;
|
use JVBase\managers\SEO\render\DataType\Time;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait availabilityEndsTrait {
|
/**
|
* @var Date|DateTime|Time The end of the availability of the product or service included in the offer.
|
*/
|
protected Date|DateTime|Time $availabilityEnds;
|
|
public function getAvailabilityEnds():Date|DateTime|Time|null
|
{
|
return $this->availabilityEnds??null;
|
}
|
public function setAvailabilityEnds(Date|DateTime|Time $availabilityEnds):void
|
{
|
$this->availabilityEnds = $availabilityEnds;
|
}
|
}
|