ClassifyPurposesFn

typealias ClassifyPurposesFn = (requester: Requester, trustedRequesterIdentity: TrustedRequesterIdentity?, presentmentData: PresentmentData, selections: List<List<Int>>) -> Set<PresentmentPurpose>

Function that classifies the PresentmentPurposes for the active selections in presentmentData.

Returning an empty set indicates that the request's purpose is unrecognized or unaccounted for.