Address

public final class Address

The address information of the location.

Parameters

address1

Street Number, Street Name, or PO Box

address2

Apartment, Floor, Suite, Bldg or more specific information about Address1.

city

The city

province

The state or province

country

3-letter code for the country

postalCode

Zip/postal code

Constructors

Link copied to clipboard
public Address Address(String address1, String address2, String city, String province, String country, String postalCode)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final String address1
Link copied to clipboard
@Valid()
private final String address2
Link copied to clipboard
@Valid()
private final String city
Link copied to clipboard
@Valid()
private final String country
Link copied to clipboard
@Valid()
private final String postalCode
Link copied to clipboard
@Valid()
private final String province

Functions

Link copied to clipboard
public final static Address.Builder builder()
Link copied to clipboard
public final String getAddress1()
Link copied to clipboard
public final String getAddress2()
Link copied to clipboard
public final String getCity()
Link copied to clipboard
public final String getCountry()
Link copied to clipboard
public final String getPostalCode()
Link copied to clipboard
public final String getProvince()
Link copied to clipboard
public final Address.Builder toBuilder()