Package com.cercalia.sdk.model.geocoding
Class PostalCodeCity
java.lang.Object
com.cercalia.sdk.model.geocoding.PostalCodeCity
Represents a locality associated with a postal code.
Contains administrative information and coordinates for a locality linked to a specific postal code area.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic PostalCodeCity.Builderbuilder()boolean@NotNull CoordinategetCoord()@Nullable String@Nullable String@NotNull StringgetId()@Nullable String@Nullable String@NotNull StringgetName()@Nullable String@Nullable String@Nullable String@Nullable StringinthashCode()toString()
-
Method Details
-
builder
-
getId
- Returns:
- Internal Cercalia ID for the locality.
-
getName
- Returns:
- Name of the locality.
-
getMunicipality
- Returns:
- Name of the municipality.
-
getMunicipalityCode
- Returns:
- Internal Cercalia ID for the municipality.
Note: Intentional typo
municipalityCodefor parity with TS SDK.
-
getSubregion
- Returns:
- Name of the subregion.
-
getSubregionCode
- Returns:
- Internal Cercalia ID for the subregion.
-
getRegion
- Returns:
- Name of the region.
-
getRegionCode
- Returns:
- Internal Cercalia ID for the region.
-
getCountry
- Returns:
- Name of the country.
-
getCountryCode
- Returns:
- Internal Cercalia ID for the country.
-
getCoord
- Returns:
- Coordinates of the locality.
-
equals
-
hashCode
public int hashCode() -
toString
-