com.greenback.kit.model.PostalAddress Maven / Gradle / Ivy
package com.greenback.kit.model;
public class PostalAddress {
private String name;
private String line1;
private String line2;
private String city;
// ISO 3166-2 state, province, region
// https://en.wikipedia.org/wiki/ISO_3166-2
private String regionCode;
private String postalCode;
private String countryCode;
// for addresses that aren't able to be accurately parsed into the component fields above
private String rawAddress;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getLine1() {
return line1;
}
public void setLine1(String line1) {
this.line1 = line1;
}
public String getLine2() {
return line2;
}
public void setLine2(String line2) {
this.line2 = line2;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getRegionCode() {
return regionCode;
}
public void setRegionCode(String regionCode) {
this.regionCode = regionCode;
}
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
this.postalCode = postalCode;
}
public String getCountryCode() {
return countryCode;
}
public void setCountryCode(String countryCode) {
this.countryCode = countryCode;
}
public String getRawAddress() {
return rawAddress;
}
public void setRawAddress(String rawAddress) {
this.rawAddress = rawAddress;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy