TransactionUserInput

abstract class TransactionUserInput

Object that encapsulates additional explicit user input for transaction processing for certain transaction type.

For instance, this can hold user-selected tip amount for a payment transaction.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun generateMdocResponseElements(transactionData: TransactionData<*>, credential: Credential): Map<String, DataItem>

Returns the list of data elements to add to the transaction response in ISO mdoc presentment.

Link copied to clipboard
abstract fun generateSdJwtResponseClaims(transactionData: TransactionData<*>, credential: Credential): Map<String, JsonElement>

Returns the list of claims to add to the transaction response in SD-JWT presentment.