<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait currencyTrait {
|
/**
|
* @var string The currency in which the monetary amount is expressed.
|
*
|
* 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 $currency;
|
|
public function getCurrency():?string
|
{
|
return $this->currency??null;
|
}
|
public function setCurrency(string $currency):void
|
{
|
$this->currency = $currency;
|
}
|
}
|