To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
A single ISO 3166-1 country record: its English and French short names, alpha-2 code, alpha-3 code and numeric code. Instances are looked up or listed through the enclosing CountryCodes class rather than constructed directly by app developers.
Properties
| Property | Returns | Description |
|---|---|---|
| alpha2Code | String | The country's ISO 3166-1 alpha-2 code. |
| alpha3Code | String | The country's ISO 3166-1 alpha-3 code. |
| englishShortName | String | The country's short name in English. |
| frenchShortName | String | The country's short name in French. |
| numeric | String | The country's ISO 3166-1 numeric code. |
Methods
getEnglishShortName()
Returns: String
The country's short name in English.
getFrenchShortName()
Returns: String
The country's short name in French.
getAlpha2Code()
Returns: String
The country's ISO 3166-1 alpha-2 code.
getAlpha3Code()
Returns: String
The country's ISO 3166-1 alpha-3 code.
getNumeric()
Returns: String
The country's ISO 3166-1 numeric code.