public function Currency::setNumericCode in Commerce Core 8.2
Sets the numeric currency code.
Parameters
string $numeric_code: The numeric currency code.
Return value
$this
Overrides CurrencyInterface::setNumericCode
File
- modules/
price/ src/ Entity/ Currency.php, line 140
Class
- Currency
- Defines the currency entity class.
Namespace
Drupal\commerce_price\EntityCode
public function setNumericCode($numeric_code) {
$this->numericCode = $numeric_code;
return $this;
}