CarsAddress

public final class CarsAddress

Address information

Parameters

address1

Street Number, Street Name, or PO Box

city

The city

country

3-letter code for the country

address2

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

suite

Suite/apartment number

province

The state or province

postalCode

Zip/postal code

Constructors

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

Types

Link copied to clipboard
public final class Builder

Properties

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

Functions

Link copied to clipboard
public final static CarsAddress.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 String getSuite()
Link copied to clipboard