<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\DataType\Date;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait priceValidUntilTrait {
|
/**
|
* @var Date The date after which the price is no longer available.
|
*/
|
protected Date $priceValidUntil;
|
|
public function getPriceValidUntil():?Date
|
{
|
return $this->priceValidUntil??null;
|
}
|
public function setPriceValidUntil(Date $priceValidUntil):void
|
{
|
$this->priceValidUntil = $priceValidUntil;
|
}
|
}
|