DocumentCannedRequest
constructor(id: String, displayName: String, mdocRequest: MdocCannedRequest?, jsonRequest: JsonCannedRequest?)
Parameters
id
an identifier for the well-known document request (unique only for the document type).
displayName
a short string with the name of the request, short enough to be used for a button. For example "Age Over 21 and Portrait" or "Full mDL".
mdocRequest
the request for a ISO mdoc credential, if defined.
jsonRequest
the request for a JSON-based credential, if defined.