isApplicable

abstract suspend fun isApplicable(transactionData: TransactionData, credential: Credential): Boolean

Determines if this transaction is applicable to the given credential.

When transaction cannot be processed, it removes a particular "use case" or credential set option from consideration. If other options are available, presentment still may succeed.

Return

true if transaction can be processed false if it cannot

Parameters

transactionData

transaction data being considered

credential

one of the credentials in the Document being considered