Class RuleSalesApplicationCartConditionTranslator

java.lang.Object
de.hybris.platform.travelrulesengine.conditions.AbstractSalesApplicationConditionTranslator
de.hybris.platform.travelrulesengine.conditions.RuleSalesApplicationCartConditionTranslator
All Implemented Interfaces:
de.hybris.platform.ruleengineservices.compiler.RuleConditionTranslator

public class RuleSalesApplicationCartConditionTranslator extends AbstractSalesApplicationConditionTranslator
Below class add sales application condition to the Group Condition
  • Constructor Details

    • RuleSalesApplicationCartConditionTranslator

      public RuleSalesApplicationCartConditionTranslator()
  • Method Details

    • translate

      public RuleIrCondition translate(de.hybris.platform.ruleengineservices.compiler.RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData paramRuleConditionDefinitionData)
    • getNotAllowedBookingJourneyTypes

      protected List<String> getNotAllowedBookingJourneyTypes()
      Gets not allowed booking journey types.
      Returns:
      the not allowed booking journey types
    • setNotAllowedBookingJourneyTypes

      @Deprecated(since="2003") public void setNotAllowedBookingJourneyTypes(List<String> notAllowedBookingJourneyTypes)
      Deprecated.
      since version 2003. Please use setNotAllowedOrderTypes.
      Sets not allowed booking journey types.
      Parameters:
      notAllowedBookingJourneyTypes - the not allowed booking journey types
    • getNotAllowedOrderTypes

      protected List<String> getNotAllowedOrderTypes()
      Gets not allowed order types.
      Returns:
      the not allowed order types
    • setNotAllowedOrderTypes

      public void setNotAllowedOrderTypes(List<String> notAllowedOrderTypes)
      Sets not allowed order types.
      Parameters:
      notAllowedOrderTypes - the not allowed order types