public function Currency::setNumericCode in Price 3.0.x
Same name and namespace in other branches
- 8 src/Entity/Currency.php \Drupal\price\Entity\Currency::setNumericCode()
- 3.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setNumericCode()
- 2.0.x src/Entity/Currency.php \Drupal\price\Entity\Currency::setNumericCode()
- 2.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\EntityCode
public function setNumericCode($numeric_code) {
$this->numericCode = $numeric_code;
return $this;
}