public function Price::getCurrencyCode in Price 2.x
Same name and namespace in other branches
- 8 src/Price.php \Drupal\price\Price::getCurrencyCode()
- 3.x src/Price.php \Drupal\price\Price::getCurrencyCode()
- 2.0.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 75
Class
- Price
- Provides a value object for monetary values.
Namespace
Drupal\priceCode
public function getCurrencyCode() : string {
return $this->currencyCode;
}