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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets not allowed booking journey types.Gets not allowed order types.voidsetNotAllowedBookingJourneyTypes(List<String> notAllowedBookingJourneyTypes) Deprecated.since version 2003.voidsetNotAllowedOrderTypes(List<String> notAllowedOrderTypes) Sets not allowed order types.translate(de.hybris.platform.ruleengineservices.compiler.RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData paramRuleConditionDefinitionData) Methods inherited from class de.hybris.platform.travelrulesengine.conditions.AbstractSalesApplicationConditionTranslator
createGroupChannelAndCondition, translate
-
Constructor Details
-
RuleSalesApplicationCartConditionTranslator
public RuleSalesApplicationCartConditionTranslator()
-
-
Method Details
-
translate
public RuleIrCondition translate(de.hybris.platform.ruleengineservices.compiler.RuleCompilerContext context, RuleConditionData condition, RuleConditionDefinitionData paramRuleConditionDefinitionData) -
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
Gets not allowed order types.- Returns:
- the not allowed order types
-
setNotAllowedOrderTypes
Sets not allowed order types.- Parameters:
notAllowedOrderTypes- the not allowed order types
-