public function Price::getCurrencyCode in Price 8
Same name and namespace in other branches
- 3.x src/Price.php \Drupal\price\Price::getCurrencyCode()
- 2.0.x src/Price.php \Drupal\price\Price::getCurrencyCode()
- 2.x src/Price.php \Drupal\price\Price::getCurrencyCode()
- 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\priceCode
public function getCurrencyCode() {
return $this->currencyCode;
}