Class DefaultDiscardBundleRAOAction
java.lang.Object
de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
de.hybris.platform.travelrulesengine.commerce.impl.AbstractTravelCommerceRAOAction
de.hybris.platform.travelrulesengine.commerce.impl.DefaultDiscardBundleRAOAction
- All Implemented Interfaces:
de.hybris.platform.ruleengineservices.rule.evaluation.actions.RAOAction,DiscardBundleRAOAction,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
public class DefaultDiscardBundleRAOAction
extends AbstractTravelCommerceRAOAction
implements DiscardBundleRAOAction
Implementation of bundle filtering action
DiscardBundleRAOAction-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondiscardBundle(FareSearchRequestRAO fareSearchRequestRAO, RuleEngineResultRAO ruleEngineResultRao, Object ruleContext, String bundleType) Discards bundle based on result of rule evaluationMethods inherited from class de.hybris.platform.travelrulesengine.commerce.impl.AbstractTravelCommerceRAOAction
getTravelRuleEngineCalculationService, setTravelRuleEngineCalculationServiceMethods inherited from class de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
addMetadataToRao, checkAndGetRuleContext, extractAmountForCurrency, getActionSupplementStrategies, getBeanName, getConfigurationService, getConsumptionSupport, getCurrencyUtils, getMetaDataFromRule, getMetaDataFromRule, getPriceAdjustmentStrategy, getRaoLookupService, getRaoUtils, getRuleCode, getRuleEngineCalculationService, getRuleGroupCode, getRuntimeTracker, isRuleGroupExclusive, mergeDiscounts, performAction, performActionInternal, postProcessAction, setActionSupplementStrategies, setBeanName, setConfigurationService, setConsumptionSupport, setCurrencyUtils, setPriceAdjustmentStrategy, setRaoLookupService, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, shouldPerformAction, splitEntriesSelectionStrategies, trackActionExecution, validateCurrencyIsoCode, validateParameters, validateRule, validateSelectionStrategy
-
Constructor Details
-
DefaultDiscardBundleRAOAction
public DefaultDiscardBundleRAOAction()
-
-
Method Details
-
discardBundle
public FilterBundleRAO discardBundle(FareSearchRequestRAO fareSearchRequestRAO, RuleEngineResultRAO ruleEngineResultRao, Object ruleContext, String bundleType) Description copied from interface:DiscardBundleRAOActionDiscards bundle based on result of rule evaluation- Specified by:
discardBundlein interfaceDiscardBundleRAOAction- Parameters:
fareSearchRequestRAO- the fare search request raoruleEngineResultRao- the rule engine result raoruleContext- the rule contextbundleType- the bundle type- Returns:
- FilterBundleRAO result object
-