Class Document


  • public final class Document
    extends Object
    • Method Detail

      • getId

        public String getId()
        The unique identifier for the document
        Returns:
        The unique identifier for the document
      • getCreatedAt

        public java.time.OffsetDateTime getCreatedAt()
        The date and time at which the document was uploaded
        Returns:
        The date and time at which the document was uploaded
      • getFileName

        public String getFileName()
        The name of the uploaded file
        Returns:
        The name of the uploaded file
      • getFileSize

        public int getFileSize()
        The size of the file in bytes
        Returns:
        The size of the file in bytes
      • getFileType

        public String getFileType()
        The file type of the uploaded file
        Returns:
        The file type of the uploaded file
      • getType

        public String getType()
        The type of document
        Returns:
        The type of document
      • getSide

        public String getSide()
        The side of the document, if applicable. The possible values are front and back
        Returns:
        The side of the document, if applicable. The possible values are front and back
      • getIssuingCountry

        public String getIssuingCountry()
        The issuing country of the document, a 3-letter ISO code.
        Returns:
        The issuing country of the document, a 3-letter ISO code.
      • getHref

        public String getHref()
        The uri of this resource
        Returns:
        The uri of this resource
      • getDownloadHref

        public String getDownloadHref()
        The uri that can be used to download the document
        Returns:
        The uri that can be used to download the document
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object