toPresentmentSelection

Calculates a PresentmentSelection from a list of selections.

Return

a PresentmentSelection.

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.