You are here

public function PriceModified::getCurrencyCode in Price 3.x

Same name and namespace in other branches
  1. 8 src/PriceModified.php \Drupal\price\PriceModified::getCurrencyCode()
  2. 3.0.x src/PriceModified.php \Drupal\price\PriceModified::getCurrencyCode()

Gets the currency code.

Return value

string The currency code.

File

src/PriceModified.php, line 68

Class

PriceModified
Provides a value object for monetary values.

Namespace

Drupal\price

Code

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