Interface TmaEligibilityPolicyEngine

All Known Implementing Classes:
DefaultTmaEligibilityPolicyEngine

public interface TmaEligibilityPolicyEngine
Service responsible for computing eligibility rules and then creating the eligibility context.
Since:
1810
  • Method Details

    • createEligibilityContext

      Set<TmaEligibilityContext> createEligibilityContext(CustomerModel customer)
      Identifies the eligibility rules, validates them and considers only the ones which pass the conditions validations based on the given customer details in order to created customer corresponding eligibility context.
      Parameters:
      customer - the customer for which the eligibility context is processed
    • getApplicableEligibilityPolicies

      Set<TmaCompatibilityPolicyModel> getApplicableEligibilityPolicies(CustomerModel customer)
      Identifies the eligibility policies, validates them and considers only the ones which pass the conditions validations based on the given customer details.
      Parameters:
      customer - Indicating the customer for whom Eligibility policy is fetched
      Returns:
      Set of applicable eligibility policies.