You are here

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\Entity

Code

public function setNumericCode($numeric_code) {
  $this->numericCode = $numeric_code;
  return $this;
}