Class SuggestAdminEntity

java.lang.Object
com.cercalia.sdk.model.suggest.SuggestAdminEntity

public final class SuggestAdminEntity extends Object
Administrative entity (municipality, subregion, region, country).
  • 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

      @Nullable public @Nullable String getCode()
      Returns:
      Internal Cercalia ID for the administrative entity.
    • getName

      @Nullable public @Nullable String getName()
      Returns:
      Name of the administrative entity.