Interface IPolicy

    • Method Detail

      • apply

        PolicyResult apply​(IRequest request)
        Applies the policy check to the request. The policy should determine whether the request can be processed immediately, or should be held pending manual approval.

        The policy can update fields in the request, to add additional values or to restrict the values to pre-determined ranges.

        Parameters:
        request - the request to check
        Returns:
        a result code indicating the result of the evaluation. The processor will determine the next request processing step based on this value