Package com.cercalia.sdk.model.suggest
Class SuggestAdminEntity
java.lang.Object
com.cercalia.sdk.model.suggest.SuggestAdminEntity
Administrative entity (municipality, subregion, region, country).
-
Method Summary
-
Method Details
-
of
public static SuggestAdminEntity of(@Nullable @Nullable String code, @Nullable @Nullable String name) Creates a new administrative entity instance.- Parameters:
code- Internal Cercalia ID.name- Name of the entity.- Returns:
- A new instance.
-
getCode
- Returns:
- Internal Cercalia ID for the administrative entity.
-
getName
- Returns:
- Name of the administrative entity.
-