PresentmentUseCase

data class PresentmentUseCase(val optional: Boolean, val solutions: List<PresentmentUseCaseSolution>, val purposeHints: List<PresentmentPurposeHint> = emptyList(), val allowMultiple: Boolean = false)

A use-case which is part of a transaction.

Constructors

Link copied to clipboard
constructor(optional: Boolean, solutions: List<PresentmentUseCaseSolution>, purposeHints: List<PresentmentPurposeHint> = emptyList(), allowMultiple: Boolean = false)

Properties

Link copied to clipboard

whether multiple solutions may be selected and returned simultaneously for this use-case.

Link copied to clipboard

whether the use-case is optional or must be satisfied.

Link copied to clipboard

a list of purpose hints for the use-case, if any.

Link copied to clipboard

a list of solutions to the use-case, contains at least one solution but may contain more.