public class FrontIdData extends IdData
Constructor and Description |
---|
FrontIdData(Long nationalId,
String imageUrl,
String name,
String familyName,
String address,
String addressDetails,
String street,
String subDistrict,
String district,
String governorate,
String serialNumber,
String birthdate,
String faceImageUrl)
Constructor for FrontIdData
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Getter method for
address : representing the full address |
String |
getAddressDetails()
Getter method for
addressDetails : representing the address details
(house number, street name, ...) |
String |
getBirthdate()
Getter method for
birthdate : the date of birth |
String |
getDistrict()
Getter method for
district : representing the district |
String |
getFaceImageUrl()
Getter method for
faceImageUrl : URL link to image |
String |
getFamilyName()
Getter method for
familyName : represents the second name to family name |
String |
getGovernorate()
Getter method for
governorate : representing the governorate |
String |
getName()
Getter method for
name : first name |
String |
getSerialNumber()
Getter method for
serialNumber : represents the serial number of the ID |
String |
getStreet()
Getter method for
street : representing the street |
String |
getSubDistrict()
Getter method for
subDistrict : representing the subdistrict |
getImageUrl, getNationalId
public FrontIdData(Long nationalId, String imageUrl, String name, String familyName, String address, String addressDetails, String street, String subDistrict, String district, String governorate, String serialNumber, String birthdate, String faceImageUrl)
nationalId
- "national_id" in the API response, 14 digits integer representing the ID numberimageUrl
- "image" in the API response, URL link to cropped front IDname
- "name" in the API response, first namefamilyName
- "family_name" in the API response, represents the second name to family nameaddress
- "address" in the API response, representing the full addressaddressDetails
- "address_details" in the API response, representing the address details
(house number, street name, ...)street
- "street" in the API response, representing the streetsubDistrict
- "subdistrict" in the API response, representing the subdistrictdistrict
- "district" in the API response, representing the districtgovernorate
- "governorate" in the API response, representing the governorateserialNumber
- "serial" in the API response, represents the serial number of the IDbirthdate
- "birthdate" in the API response, the date of birthfaceImageUrl
- "face_image" in the API response, URL link to imagepublic String getName()
name
: first namepublic String getFamilyName()
familyName
: represents the second name to family namepublic String getAddress()
address
: representing the full addresspublic String getAddressDetails()
addressDetails
: representing the address details
(house number, street name, ...)public String getStreet()
street
: representing the streetpublic String getSubDistrict()
subDistrict
: representing the subdistrictpublic String getDistrict()
district
: representing the districtpublic String getGovernorate()
governorate
: representing the governoratepublic String getSerialNumber()
serialNumber
: represents the serial number of the IDpublic String getBirthdate()
birthdate
: the date of birthpublic String getFaceImageUrl()
faceImageUrl
: URL link to image