SingleDocumentCannedRequest

data class SingleDocumentCannedRequest(val id: String, val displayName: String, val mdocRequest: MdocCannedRequest?, val jsonRequest: JsonCannedRequest?, val transactionData: List<CannedTransactionData> = listOf()) : DocumentCannedRequest

A well-known request for a single document.

Constructors

Link copied to clipboard
constructor(id: String, displayName: String, mdocRequest: MdocCannedRequest?, jsonRequest: JsonCannedRequest?, transactionData: List<CannedTransactionData> = listOf())

Properties

Link copied to clipboard
open override val displayName: String

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".

Link copied to clipboard
open override val id: String

an identifier for the well-known document request (unique only for the document type).

Link copied to clipboard

the requests for a JSON-based credential, if defined.

Link copied to clipboard

the requests for a ISO mdoc credential, if defined.

Link copied to clipboard

transaction data list for this request