org.springframework.social.partnercenter.api.customer.Address Maven / Gradle / Ivy
package org.springframework.social.partnercenter.api.customer;
import java.util.HashMap;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Address {
private String country;
private Object region;
private String city;
private String state;
private String addressLine1;
private Object addressLine2;
private String postalCode;
private String firstName;
private String lastName;
private String phoneNumber;
@JsonIgnore
private Map additionalProperties = new HashMap();
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public Object getRegion() {
return region;
}
public void setRegion(Object region) {
this.region = region;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getAddressLine1() {
return addressLine1;
}
public void setAddressLine1(String addressLine1) {
this.addressLine1 = addressLine1;
}
public Object getAddressLine2() {
return addressLine2;
}
public void setAddressLine2(Object addressLine2) {
this.addressLine2 = addressLine2;
}
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getPhoneNumber() {
return phoneNumber;
}
public void setPhoneNumber(String phoneNumber) {
this.phoneNumber = phoneNumber;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy