<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait priceCurrencyTrait {
|
/**
|
* @var string The currency of the price, or a price component when attached to PriceSpecification and its subtypes.
|
*
|
* Use standard formats: ISO 4217 currency format, e.g. "USD"; Ticker symbol for cryptocurrencies, e.g. "BTC"; well known names for Local Exchange Trading Systems (LETS) and other currency types, e.g. "Ithaca HOUR".
|
*/
|
protected string $priceCurrency;
|
|
public function getPriceCurrency():?string
|
{
|
return $this->priceCurrency??null;
|
}
|
public function setPriceCurrency(string $priceCurrency):void
|
{
|
$this->priceCurrency = $priceCurrency;
|
}
|
}
|