diff --git a/pom.xml b/pom.xml index 116c2cb2..b24ad9e9 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.constantcontact constantcontact - 2.1.6 + 2.1.7 com.fasterxml.jackson.core diff --git a/src/main/java/com/constantcontact/components/contacts/Address.java b/src/main/java/com/constantcontact/components/contacts/Address.java index f48f4f13..402941f2 100644 --- a/src/main/java/com/constantcontact/components/contacts/Address.java +++ b/src/main/java/com/constantcontact/components/contacts/Address.java @@ -30,6 +30,8 @@ public class Address implements Serializable { @JsonIgnore private String addressType; @JsonIgnore + private String state; + @JsonIgnore private String stateCode; @JsonIgnore private String countryCode; @@ -153,6 +155,25 @@ public void setAddressType(String addressType) { this.addressType = addressType; } + /** + * Gets the state. + * + * @return The state. + */ + @JsonProperty("state") + public String getState() { + return state; + } + + /** + * Sets the state. + * + * @param state The state. + */ + public void setState(String state) { + this.state = state; + } + /** * Gets the state code. * @@ -252,6 +273,8 @@ public String toString() { builder.append(city); builder.append(", addressType="); builder.append(addressType); + builder.append(", state="); + builder.append(state); builder.append(", stateCode="); builder.append(stateCode); builder.append(", countryCode=");