Class IDDocument

    • Constructor Detail

      • IDDocument

        public IDDocument()
        The constructor that construct evidence whose type is "id_document".
    • Method Detail

      • getMethod

        public String getMethod()
        Get the method used to verify this ID document.
        Returns:
        The method used to verify this ID document.
      • setMethod

        public IDDocument setMethod​(String method)
        Set the method used to verify this ID document.
        Parameters:
        method - The method used to verify this ID document.
        Returns:
        this object.
      • containsMethod

        public boolean containsMethod()
        Check if this object contains "method".
        Returns:
        true if this object contains "method".
      • removeMethod

        public Provider removeMethod()
        Remove "method" from this object.
        Returns:
        The old value that may have existed before removal.
      • getVerifier

        public Verifier getVerifier()
        Get the legal entity that performed the identity verification.
        Returns:
        The legal entity that performed the identity verification.
      • setVerifier

        public IDDocument setVerifier​(Verifier verifier)
        Set the legal entity that performed the identity verification.
        Parameters:
        verifier - The legal entity that performed the identity verification.
        Returns:
        this object;
      • containsVerifier

        public boolean containsVerifier()
        Check if this object contains "verifier".
        Returns:
        true if this object contains "verifier".
      • removeVerifier

        public Verifier removeVerifier()
        Remove "verifier" from this object.
        Returns:
        The old value that may have existed before removal.
      • getTime

        public String getTime()
        Get the date when this ID document was verified.
        Returns:
        The date when this ID document was verified.
      • setTime

        public IDDocument setTime​(String time)
        Set the date when this ID document was verified.
        Parameters:
        time - The date when this ID document was verified.
        Returns:
        this object.
      • containsTime

        public boolean containsTime()
        Check if this object contains "time".
        Returns:
        true if this object contains "time".
      • removeTime

        public String removeTime()
        Remove "time" from this object.
        Returns:
        The old value that may have existed before removal.
      • getDocument

        public Document getDocument()
        Get the ID document used to perform the ID verification.
        Returns:
        The ID document used to perform the ID verification.
      • setDocument

        public IDDocument setDocument​(Document document)
        Set the ID document used to perform the ID verification.
        Parameters:
        document - The ID document used to perform the ID verification.
        Returns:
        this object.
      • containsDocument

        public boolean containsDocument()
        Check if this object contains "document".
        Returns:
        true if this object contains "document".
      • removeDocument

        public Document removeDocument()
        Remove "document" from this object.
        Returns:
        The old value that may have existed before removal.