toPresentmentSelection
fun toPresentmentSelection(selections: List<List<Int>>, transactionUserInput: Map<PresentmentCredentialMatch, Map<String, TransactionUserInput>> = emptyMap()): PresentmentSelection
Calculates a PresentmentSelection from a list of selections.
Return
Parameters
selections
the list of solution indices selected for each use-case, or an empty list if not selecting an optional use-case.
transactionUserInput
additional user input for transactions, indexed by credential match and transaction type identifier.