You are here

public function Country::getCountryCode in Price 3.x

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

Gets the country code.

Return value

string The country code.

File

src/Country.php, line 33

Class

Country
Represents a country.

Namespace

Drupal\price

Code

public function getCountryCode() {
  return $this->countryCode;
}