
com.smartystreets.api.us_zipcode.City Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smartystreets-java-sdk Show documentation
Show all versions of smartystreets-java-sdk Show documentation
A library to help Java developers easily access the SmartyStreets APIs.
package com.smartystreets.api.us_zipcode;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
/**
* Known in the SmartyStreets US ZIP Code API documentation as a city_state
* @see "https://smartystreets.com/docs/cloud/us-zipcode-api#cities"
*/
public class City implements Serializable {
//region [ Fields ]
private String city;
private boolean mailableCity;
private String stateAbbreviation;
private String state;
//endregion
//region [ Getters ]
@JsonProperty("city")
public String getCity() {
return this.city;
}
@JsonProperty("mailable_city")
public boolean getMailableCity() {
return this.mailableCity;
}
@JsonProperty("state_abbreviation")
public String getStateAbbreviation() {
return this.stateAbbreviation;
}
@JsonProperty("state")
public String getState() {
return this.state;
}
//endregion
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy