You are here

public function Price::getCurrencyCode in Price 8

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

Gets the currency code.

Return value

string The currency code.

File

src/Price.php, line 60

Class

Price
Provides a value object for monetary values.

Namespace

Drupal\price

Code

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