public class RestCountry extends Object
| Modifier and Type | Field and Description |
|---|---|
protected RestAddressFormat |
addressFormat |
protected String |
isOCode2Letter |
protected String |
isOCode3Letter |
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()
The address format of the country indicates how an address has to look like for the country.
|
String |
getIsOCode2Letter()
The ISO code 2 letter identifies the country by two chars as defined in ISO 3166-1 (e.g.
|
String |
getIsOCode3Letter()
The ISO code 3 letter identifies the country by three chars as defined in ISO 3166-1 (e.g.
|
String |
getName()
The name labels the country by a name in English.
|
String |
getNumericCode()
The numeric code identifies the country by a three digit number as defined in ISO 3166-1 (e.g.
|
List<String> |
getStateCodes()
The state codes field is a list of all states associated with this country.
|
int |
hashCode() |
String |
toString() |
protected String isOCode2Letter
protected String isOCode3Letter
protected RestAddressFormat addressFormat
protected String name
protected String numericCode
public String getIsOCode2Letter()
public String getIsOCode3Letter()
public RestAddressFormat getAddressFormat()
public String getName()
public String getNumericCode()
public List<String> getStateCodes()
Copyright © 2023. All rights reserved.