You are here

public function Currency::setNumericCode in Price 3.x

Same name and namespace in other branches
  1. 8 src/Entity/Currency.php \Drupal\price\Entity\Currency::setNumericCode()
  2. 2.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setNumericCode()
  3. 2.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setNumericCode()
  4. 3.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setNumericCode()

Sets the numeric currency code.

Parameters

string $numeric_code: The numeric currency code.

Return value

$this

Overrides CurrencyInterface::setNumericCode

File

src/Entity/Currency.php, line 137

Class

Currency
Defines the currency entity class.

Namespace

Drupal\price\Entity

Code

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