Package com.onfido.models
Class Address.Request
- java.lang.Object
-
- com.onfido.models.Address.Request
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address.RequestbuildingName(String buildingName)The building name of this addressAddress.RequestbuildingNumber(String buildingNumber)The building number of this addressAddress.Requestcountry(String country)The 3 character ISO country code of this address.Address.RequestflatNumber(String flatNumber)The flat number of this addressStringgetBuildingName()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 addressStringgetPostcode()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 addressAddress.Requestpostcode(String postcode)The postcode or ZIP of the applicant’s addressAddress.Requeststate(String state)The address state.Address.Requeststreet(String street)The street of the applicant’s addressAddress.RequestsubStreet(String subStreet)The sub-street of the applicant’s addressStringtoJson()StringtoString()Address.Requesttown(String town)The town of the applicant’s address
-
-
-
Method Detail
-
toJson
public String toJson()
-
flatNumber
public Address.Request flatNumber(String flatNumber)
The flat number of this address- Parameters:
flatNumber- The flat number of this address- Returns:
- The Address request object.
-
buildingNumber
public Address.Request buildingNumber(String buildingNumber)
The building number of this address- Parameters:
buildingNumber- The building number of this address- Returns:
- The Address request object.
-
buildingName
public Address.Request buildingName(String buildingName)
The building name of this address- Parameters:
buildingName- The building name of this address- Returns:
- The Address request object.
-
street
public Address.Request street(String street)
The street of the applicant’s address- Parameters:
street- The street of the applicant’s address- Returns:
- The Address request object.
-
subStreet
public Address.Request subStreet(String subStreet)
The sub-street of the applicant’s address- Parameters:
subStreet- The sub-street of the applicant’s address- Returns:
- The Address request object.
-
town
public Address.Request town(String town)
The town of the applicant’s address- Parameters:
town- The town of the applicant’s address- Returns:
- The Address request object.
-
postcode
public Address.Request postcode(String postcode)
The postcode or ZIP of the applicant’s address- Parameters:
postcode- The postcode or ZIP of the applicant’s address- Returns:
- The Address request object.
-
country
public Address.Request country(String country)
The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom- Parameters:
country- The 3 character ISO country code of this address. For example, GBR is the country code for the United Kingdom- Returns:
- The Address request object.
-
state
public Address.Request state(String state)
The address state. US states must use the USPS abbreviation (see also ISO 3166-2:US), for example AK, CA, or TX.- Parameters:
state- 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 request object.
-
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.
-
-