You are here

public function Currency::getCurrencyCode in Commerce Core 8.2

Gets the alphabetic currency code.

Return value

string The alphabetic currency code.

Overrides CurrencyInterface::getCurrencyCode

File

modules/price/src/Entity/Currency.php, line 103

Class

Currency
Defines the currency entity class.

Namespace

Drupal\commerce_price\Entity

Code

public function getCurrencyCode() {
  return $this->currencyCode;
}