public class RestCountry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected RestAddressFormat |
addressFormat |
protected String |
isoCode2 |
protected String |
isoCode3 |
protected String |
name |
protected String |
numericCode |
protected List<String> |
stateCodes |
| Constructor and Description |
|---|
RestCountry() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
RestAddressFormat |
getAddressFormat()
Specifies the country's way of formatting addresses.
|
String |
getIsoCode2()
The country's two-letter code (ISO 3166-1 alpha-2 format).
|
String |
getIsoCode3()
The country's three-letter code (ISO 3166-1 alpha-3 format).
|
String |
getName()
The name of the country.
|
String |
getNumericCode()
The country's three-digit code (ISO 3166-1 numeric format).
|
List<String> |
getStateCodes()
The codes of all regions (e.g.
|
int |
hashCode() |
String |
toString() |
protected RestAddressFormat addressFormat
protected String isoCode2
protected String isoCode3
protected String name
protected String numericCode
public RestAddressFormat getAddressFormat()
public String getIsoCode2()
public String getIsoCode3()
public String getName()
public String getNumericCode()
public List<String> getStateCodes()
Copyright © 2024. All rights reserved.