com.ibm.commerce.price.rule

Interface RuleEngineExecutePriceRuleCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, com.ibm.commerce.ruleengine.RuleEngineExecuteRuleCmd, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    InternalRuleEngineExecutePriceRuleCmdImpl


    public interface RuleEngineExecutePriceRuleCmd
    extends com.ibm.commerce.ruleengine.RuleEngineExecuteRuleCmd
    The interface for task commands which execute an internal or external rule for price component.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Method Detail

      • setRuleId

        void setRuleId(java.lang.String ruleId)
        Set the rule id.
        Parameters:
        ruleId - The rule id to set. It can't be null.
      • getFinalPrice

        com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] getFinalPrice()
        Get catalogEntryID.
        Returns:
        The catalogEntryID. This value will be null if no data found.
      • setPriceRuleParameterObject

        void setPriceRuleParameterObject(com.ibm.commerce.price.rule.PriceRuleParameterObject[] newPriceRuleParameterObject)
        Set the price rule parameter objects.
        Parameters:
        newPriceRuleParameterObject - The rule parameter objects to set. It can't be null.
      • getCatentryIDToPriceListIDMap

        java.util.Map getCatentryIDToPriceListIDMap()
        Get catalog entry ID to the price list ID map. The price list ID is the one which takes effect in the price rule evaluation.
        Returns:
        The price list ID