Skip to content

Commit

Permalink
Added new fields to the result for International Autocomplete.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Amundson committed Jul 2, 2024
1 parent ddaf73f commit f901881
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ public class Candidate implements Serializable {
private String street;
private String locality;
private String administrativeArea;
private String administrativeAreaShort;
private String administrativeAreaLong;
private String postalCode;
private String countryISO3;

Expand All @@ -37,6 +39,16 @@ public String getAdministrativeArea() {
return administrativeArea;
}

@JsonProperty("administrative_area_short")
public String getAdministrativeAreaShort() {
return administrativeAreaShort;
}

@JsonProperty("administrative_area_long")
public String getAdministrativeAreaLong() {
return administrativeAreaLong;
}

@JsonProperty("postal_code")
public String getPostalCode() {
return postalCode;
Expand Down

0 comments on commit f901881

Please sign in to comment.