com.withabound.models.mailings.MailingAddress Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of withabound-java Show documentation
Show all versions of withabound-java Show documentation
The Abound Java SDK provides convenient access to the Abound API from applications written in Java.
The newest version!
package com.withabound.models.mailings;
import java.util.Optional;
import lombok.Getter;
@Getter
public class MailingAddress {
private String name;
private String company;
private String address;
private String address2;
private String city;
private String state;
private String zipcode;
private String country;
public Optional getName() {
return Optional.ofNullable(name);
}
public Optional getCompany() {
return Optional.ofNullable(company);
}
public String getAddress() {
return address;
}
public Optional getAddress2() {
return Optional.ofNullable(address2);
}
public String getCity() {
return city;
}
public String getState() {
return state;
}
public String getZipcode() {
return zipcode;
}
public Optional getCountry() {
return Optional.ofNullable(country);
}
}