Package com.onfido.models
Class Location.Request
- java.lang.Object
-
- com.onfido.models.Location.Request
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location.RequestcountryOfResidence(String countryOfResidence)The applicant's country of residenceStringgetCountryOfResidence()The applicant's country of residenceStringgetIpAddress()The applicant's ip addressLocation.RequestipAddress(String ipAddress)The applicant's ip addressStringtoJson()StringtoString()
-
-
-
Method Detail
-
toJson
public String toJson()
-
ipAddress
public Location.Request ipAddress(String ipAddress)
The applicant's ip address- Parameters:
ipAddress- The applicant's ip address- Returns:
- The Location request object.
-
countryOfResidence
public Location.Request countryOfResidence(String countryOfResidence)
The applicant's country of residence- Parameters:
countryOfResidence- The applicant's country of residence- Returns:
- The Location request object.
-
getIpAddress
public String getIpAddress()
The applicant's ip address- Returns:
- The applicant's ip address
-
getCountryOfResidence
public String getCountryOfResidence()
The applicant's country of residence- Returns:
- The applicant's country of residence
-
-