Interface UserTermsAndConditionsSelector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface UserTermsAndConditionsSelector
Class to select
UserTermsAndConditions
appropriate
for a given user-
Method Summary
Modifier and Type Method Description UserTermsAndConditions
selectTerms(PlatformUserContext context, org.json.JSONObject config)
Return an appropriateUserTermsAndConditions
based onPlatformUserContext
and a config (JSONObject
)
If no suitableUserTermsAndConditions
are found, should returnnull
-
Method Details
-
selectTerms
Return an appropriateUserTermsAndConditions
based onPlatformUserContext
and a config (JSONObject
)
If no suitableUserTermsAndConditions
are found, should returnnull
- Parameters:
context
-PlatformUserContext
user who should possible see terms and conditionsconfig
-JSONObject
configuration provided related to the lookup, for example via ExternalReference- Returns:
- suitable terms and conditions
-