<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Intangible\StructuredValue\QuantitativeValue;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait membershipPointsEarnedTrait {
|
/**
|
* @var QuantitativeValue|int|float The number of membership points earned by the member. If necessary, the unitText can be used to express the units the points are issued in. (E.g. stars, miles, etc.)
|
*/
|
protected QuantitativeValue|int|float $membershipPointsEarned;
|
|
public function getMembershipPointsEarned():QuantitativeValue|int|float|null
|
{
|
return $this->membershipPointsEarned??null;
|
}
|
public function setMembershipPointsEarned(QuantitativeValue|int|float $membershipPointsEarned):void
|
{
|
$this->membershipPointsEarned = $membershipPointsEarned;
|
}
|
}
|