Class DocumentPropertiesNfc


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.9.0")
    public class DocumentPropertiesNfc
    extends Object
    DocumentPropertiesNfc
    • Constructor Detail

      • DocumentPropertiesNfc

        public DocumentPropertiesNfc()
    • Method Detail

      • getDocumentType

        @Nullable
        public String getDocumentType()
        Get documentType
        Returns:
        documentType
      • setDocumentType

        public void setDocumentType​(String documentType)
      • getIssuingCountry

        @Nullable
        public String getIssuingCountry()
        Get issuingCountry
        Returns:
        issuingCountry
      • setIssuingCountry

        public void setIssuingCountry​(String issuingCountry)
      • getFullName

        @Nullable
        public String getFullName()
        Get fullName
        Returns:
        fullName
      • setFullName

        public void setFullName​(String fullName)
      • getDocumentNumber

        @Nullable
        public String getDocumentNumber()
        Get documentNumber
        Returns:
        documentNumber
      • setDocumentNumber

        public void setDocumentNumber​(String documentNumber)
      • getNationality

        @Nullable
        public String getNationality()
        Get nationality
        Returns:
        nationality
      • setNationality

        public void setNationality​(String nationality)
      • getDateOfBirth

        @Nullable
        public LocalDate getDateOfBirth()
        Get dateOfBirth
        Returns:
        dateOfBirth
      • setDateOfBirth

        public void setDateOfBirth​(LocalDate dateOfBirth)
      • getGender

        @Nullable
        public String getGender()
        Get gender
        Returns:
        gender
      • setGender

        public void setGender​(String gender)
      • getDateOfExpiry

        @Nullable
        public LocalDate getDateOfExpiry()
        Get dateOfExpiry
        Returns:
        dateOfExpiry
      • setDateOfExpiry

        public void setDateOfExpiry​(LocalDate dateOfExpiry)
      • getPersonalNumber

        @Nullable
        public String getPersonalNumber()
        Get personalNumber
        Returns:
        personalNumber
      • setPersonalNumber

        public void setPersonalNumber​(String personalNumber)
      • getPlaceOfBirth

        @Nullable
        public String getPlaceOfBirth()
        Get placeOfBirth
        Returns:
        placeOfBirth
      • setPlaceOfBirth

        public void setPlaceOfBirth​(String placeOfBirth)
      • getAddress

        @Nullable
        public String getAddress()
        Get address
        Returns:
        address
      • setAddress

        public void setAddress​(String address)
      • getIssuingDate

        @Nullable
        public LocalDate getIssuingDate()
        Get issuingDate
        Returns:
        issuingDate
      • setIssuingDate

        public void setIssuingDate​(LocalDate issuingDate)
      • 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 property
        value - 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates 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