Class PercentageDiscountForOptionRAOAction

java.lang.Object
de.hybris.platform.ruleengineservices.rule.evaluation.actions.AbstractRuleExecutableSupport
de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.ProductConfigAbstractRAOAction
de.hybris.platform.sap.productconfig.rules.cps.rule.evaluation.impl.DisplayPromoMessageRAOAction
de.hybris.platform.sap.productconfig.rules.cps.rule.evaluation.impl.PercentageDiscountForOptionRAOAction
All Implemented Interfaces:
de.hybris.platform.ruleengineservices.rule.evaluation.actions.RAOAction, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class PercentageDiscountForOptionRAOAction extends DisplayPromoMessageRAOAction
Encapsulates percentage discount for option logic as rule action.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
    Percentage Discount used in the PercentageDiscountForOption action definition.

    Fields inherited from class de.hybris.platform.sap.productconfig.rules.cps.rule.evaluation.impl.DisplayPromoMessageRAOAction

    EXTENDED_MESSAGE

    Fields inherited from class de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.ProductConfigAbstractRAOAction

    CSTIC_NAME, CSTIC_VALUE, MESSAGE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    boolean
    performActionInternal(de.hybris.platform.ruleengineservices.rule.evaluation.RuleActionContext context)
     
    protected String
    prepareActionLogText(de.hybris.platform.ruleengineservices.rule.evaluation.RuleActionContext context, Map<String,Object> parameters)
     

    Methods inherited from class de.hybris.platform.sap.productconfig.rules.cps.rule.evaluation.impl.DisplayPromoMessageRAOAction

    getPromoType, prepareMessageData

    Methods inherited from class de.hybris.platform.sap.productconfig.rules.rule.evaluation.impl.ProductConfigAbstractRAOAction

    createCsticRAO, createCsticValueRAO, logRuleData, performAction, updateContext, validateProcessStep

    Methods 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, postProcessAction, setActionSupplementStrategies, setBeanName, setConfigurationService, setConsumptionSupport, setCurrencyUtils, setPriceAdjustmentStrategy, setRaoLookupService, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, shouldPerformAction, splitEntriesSelectionStrategies, trackActionExecution, validateCurrencyIsoCode, validateParameters, validateRule, validateSelectionStrategy

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait