Class GenericDocument

  • All Implemented Interfaces:

    public final class GenericDocument
     implements Parcelable

    A generic document. Contains fields and sub-documents.

    To get access to convenient field getters for a specific document types, use GenericDocumentLibrary

    The usage is the following: val genericDocument: GenericDocument val wrapper = GenericDocumentLibrary.wrapperFromGenericDocument(genericDocument)

    The wrapper variable will be the type of the corresponding document, for example DeIdCardFront