Package com.onfido.model
Class DocumentPropertiesNfc
- java.lang.Object
-
- com.onfido.model.DocumentPropertiesNfc
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentPropertiesNfc extends Object
DocumentPropertiesNfc
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentPropertiesNfc.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ADDRESSstatic StringSERIALIZED_NAME_DATE_OF_BIRTHstatic StringSERIALIZED_NAME_DATE_OF_EXPIRYstatic StringSERIALIZED_NAME_DOCUMENT_NUMBERstatic StringSERIALIZED_NAME_DOCUMENT_TYPEstatic StringSERIALIZED_NAME_FULL_NAMEstatic StringSERIALIZED_NAME_GENDERstatic StringSERIALIZED_NAME_ISSUING_AUTHORITYstatic StringSERIALIZED_NAME_ISSUING_COUNTRYstatic StringSERIALIZED_NAME_ISSUING_DATEstatic StringSERIALIZED_NAME_NATIONALITYstatic StringSERIALIZED_NAME_PERSONAL_NUMBERstatic StringSERIALIZED_NAME_PLACE_OF_BIRTH
-
Constructor Summary
Constructors Constructor Description DocumentPropertiesNfc()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentPropertiesNfcaddress(String address)DocumentPropertiesNfcdateOfBirth(LocalDate dateOfBirth)DocumentPropertiesNfcdateOfExpiry(LocalDate dateOfExpiry)DocumentPropertiesNfcdocumentNumber(String documentNumber)DocumentPropertiesNfcdocumentType(String documentType)booleanequals(Object o)static DocumentPropertiesNfcfromJson(String jsonString)Create an instance of DocumentPropertiesNfc given an JSON stringDocumentPropertiesNfcfullName(String fullName)DocumentPropertiesNfcgender(String gender)Map<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetAddress()Get addressLocalDategetDateOfBirth()Get dateOfBirthLocalDategetDateOfExpiry()Get dateOfExpiryStringgetDocumentNumber()Get documentNumberStringgetDocumentType()Get documentTypeStringgetFullName()Get fullNameStringgetGender()Get genderStringgetIssuingAuthority()Get issuingAuthorityStringgetIssuingCountry()Get issuingCountryLocalDategetIssuingDate()Get issuingDateStringgetNationality()Get nationalityStringgetPersonalNumber()Get personalNumberStringgetPlaceOfBirth()Get placeOfBirthinthashCode()DocumentPropertiesNfcissuingAuthority(String issuingAuthority)DocumentPropertiesNfcissuingCountry(String issuingCountry)DocumentPropertiesNfcissuingDate(LocalDate issuingDate)DocumentPropertiesNfcnationality(String nationality)DocumentPropertiesNfcpersonalNumber(String personalNumber)DocumentPropertiesNfcplaceOfBirth(String placeOfBirth)DocumentPropertiesNfcputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetAddress(String address)voidsetDateOfBirth(LocalDate dateOfBirth)voidsetDateOfExpiry(LocalDate dateOfExpiry)voidsetDocumentNumber(String documentNumber)voidsetDocumentType(String documentType)voidsetFullName(String fullName)voidsetGender(String gender)voidsetIssuingAuthority(String issuingAuthority)voidsetIssuingCountry(String issuingCountry)voidsetIssuingDate(LocalDate issuingDate)voidsetNationality(String nationality)voidsetPersonalNumber(String personalNumber)voidsetPlaceOfBirth(String placeOfBirth)StringtoJson()Convert an instance of DocumentPropertiesNfc to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_DOCUMENT_TYPE
public static final String SERIALIZED_NAME_DOCUMENT_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUING_COUNTRY
public static final String SERIALIZED_NAME_ISSUING_COUNTRY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FULL_NAME
public static final String SERIALIZED_NAME_FULL_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DOCUMENT_NUMBER
public static final String SERIALIZED_NAME_DOCUMENT_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NATIONALITY
public static final String SERIALIZED_NAME_NATIONALITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE_OF_BIRTH
public static final String SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GENDER
public static final String SERIALIZED_NAME_GENDER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DATE_OF_EXPIRY
public static final String SERIALIZED_NAME_DATE_OF_EXPIRY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PERSONAL_NUMBER
public static final String SERIALIZED_NAME_PERSONAL_NUMBER
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PLACE_OF_BIRTH
public static final String SERIALIZED_NAME_PLACE_OF_BIRTH
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ADDRESS
public static final String SERIALIZED_NAME_ADDRESS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUING_DATE
public static final String SERIALIZED_NAME_ISSUING_DATE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ISSUING_AUTHORITY
public static final String SERIALIZED_NAME_ISSUING_AUTHORITY
- See Also:
- Constant Field Values
-
-
Method Detail
-
documentType
public DocumentPropertiesNfc documentType(String documentType)
-
setDocumentType
public void setDocumentType(String documentType)
-
issuingCountry
public DocumentPropertiesNfc issuingCountry(String issuingCountry)
-
getIssuingCountry
@Nullable public String getIssuingCountry()
Get issuingCountry- Returns:
- issuingCountry
-
setIssuingCountry
public void setIssuingCountry(String issuingCountry)
-
fullName
public DocumentPropertiesNfc fullName(String fullName)
-
setFullName
public void setFullName(String fullName)
-
documentNumber
public DocumentPropertiesNfc documentNumber(String documentNumber)
-
getDocumentNumber
@Nullable public String getDocumentNumber()
Get documentNumber- Returns:
- documentNumber
-
setDocumentNumber
public void setDocumentNumber(String documentNumber)
-
nationality
public DocumentPropertiesNfc nationality(String nationality)
-
setNationality
public void setNationality(String nationality)
-
dateOfBirth
public DocumentPropertiesNfc dateOfBirth(LocalDate dateOfBirth)
-
setDateOfBirth
public void setDateOfBirth(LocalDate dateOfBirth)
-
gender
public DocumentPropertiesNfc gender(String gender)
-
setGender
public void setGender(String gender)
-
dateOfExpiry
public DocumentPropertiesNfc dateOfExpiry(LocalDate dateOfExpiry)
-
setDateOfExpiry
public void setDateOfExpiry(LocalDate dateOfExpiry)
-
personalNumber
public DocumentPropertiesNfc personalNumber(String personalNumber)
-
getPersonalNumber
@Nullable public String getPersonalNumber()
Get personalNumber- Returns:
- personalNumber
-
setPersonalNumber
public void setPersonalNumber(String personalNumber)
-
placeOfBirth
public DocumentPropertiesNfc placeOfBirth(String placeOfBirth)
-
setPlaceOfBirth
public void setPlaceOfBirth(String placeOfBirth)
-
address
public DocumentPropertiesNfc address(String address)
-
setAddress
public void setAddress(String address)
-
issuingDate
public DocumentPropertiesNfc issuingDate(LocalDate issuingDate)
-
setIssuingDate
public void setIssuingDate(LocalDate issuingDate)
-
issuingAuthority
public DocumentPropertiesNfc issuingAuthority(String issuingAuthority)
-
getIssuingAuthority
@Nullable public String getIssuingAuthority()
Get issuingAuthority- Returns:
- issuingAuthority
-
setIssuingAuthority
public void setIssuingAuthority(String issuingAuthority)
-
putAdditionalProperty
public DocumentPropertiesNfc putAdditionalProperty(String key, Object value)
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the DocumentPropertiesNfc instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to DocumentPropertiesNfc
-
fromJson
public static DocumentPropertiesNfc fromJson(String jsonString) throws IOException
Create an instance of DocumentPropertiesNfc given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentPropertiesNfc
- Throws:
IOException- if the JSON string is invalid with respect to DocumentPropertiesNfc
-
toJson
public String toJson()
Convert an instance of DocumentPropertiesNfc to an JSON string- Returns:
- JSON string
-
-