Package com.onfido.models
Class Address
- java.lang.Object
-
- com.onfido.models.Address
-
public final class Address extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddress.Request
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetBuildingName()The building name of this addressStringgetBuildingNumber()The building number of this addressStringgetCountry()The 3 character ISO country code of this address.StringgetFlatNumber()The flat number of this addressStringgetLine1()Line 1 of the address (ID Enhanced reports).StringgetLine2()Line 2 of the address (ID Enhanced reports).StringgetLine3()Line 3 of the address (ID Enhanced reports).StringgetPostcode()The postcode or ZIP of the applicant’s addressStringgetState()The address state.StringgetStreet()The street of the applicant’s addressStringgetSubStreet()The sub-street of the applicant’s addressStringgetTown()The town of the applicant’s addressinthashCode()static Address.Requestrequest()StringtoString()
-
-
-
Method Detail
-
request
public static Address.Request request()
-
getFlatNumber
public String getFlatNumber()
The flat number of this address- Returns:
- The flat number of this address
-
getBuildingNumber
public String getBuildingNumber()
The building number of this address- Returns:
- The building number of this address
-
getBuildingName
public String getBuildingName()
The building name of this address- Returns:
- The building name of this address
-
getStreet
public String getStreet()
The street of the applicant’s address- Returns:
- The street of the applicant’s address
-
getSubStreet
public String getSubStreet()
The sub-street of the applicant’s address- Returns:
- The sub-street of the applicant’s address
-
getTown
public String getTown()
The town of the applicant’s address- Returns:
- The town of the applicant’s address
-
getPostcode
public String getPostcode()
The postcode or ZIP of the applicant’s address- Returns:
- The postcode or ZIP of the applicant’s address
-
getCountry
public String getCountry()
The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom- Returns:
- The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom
-
getState
public String getState()
The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX.- Returns:
- The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX.
-
getLine1
public String getLine1()
Line 1 of the address (ID Enhanced reports).- Returns:
- Line 1 of the address (ID Enhanced reports).
-
getLine2
public String getLine2()
Line 2 of the address (ID Enhanced reports).- Returns:
- Line 2 of the address (ID Enhanced reports).
-
getLine3
public String getLine3()
Line 3 of the address (ID Enhanced reports).- Returns:
- Line 3 of the address (ID Enhanced reports).
-
-