com.ibm.commerce.price.rule.commands

Class InternalRuleEngineExecutePriceRuleCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, RuleEngineExecutePriceRuleCmd, com.ibm.commerce.ruleengine.RuleEngineExecuteRuleCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class InternalRuleEngineExecutePriceRuleCmdImpl
    extends TaskCommandImpl
    implements RuleEngineExecutePriceRuleCmd
    The default implementation for internal price rule execution. It will invoke internal price rule engine once or multiple times to get the calculated prices.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • InternalRuleEngineExecutePriceRuleCmdImpl

        public InternalRuleEngineExecutePriceRuleCmdImpl()
    • Method Detail

      • getContractId

        public java.lang.String getContractId()
        Get contractId.
        Returns:
        The contractId. This value will be null if no data found.
      • setContractId

        public void setContractId(java.lang.String newContractId)
        Set the contractId.
        Parameters:
        newContractId - The contractId to set. It can't be null.
      • getRuleId

        public java.lang.String getRuleId()
        Get priceRuleId.
        Returns:
        The priceRuleId. This value will be null if no data found.
      • setRuleId

        public void setRuleId(java.lang.String newPriceRuleId)
        Set the priceRuleId.
        Specified by:
        setRuleId in interface RuleEngineExecutePriceRuleCmd
        Parameters:
        newPriceRuleId - The priceRuleId to set. It can't be null.
      • getFinalPrice

        public com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] getFinalPrice()
        Get finalPrice.
        Specified by:
        getFinalPrice in interface RuleEngineExecutePriceRuleCmd
        Returns:
        The finalPrice. This value will be null if no data found.
      • setFinalPrice

        public void setFinalPrice(com.ibm.commerce.price.rule.runtime.objects.RangePriceObject[][] newFinalPrice)
        Set the finalPrice.
        Parameters:
        newFinalPrice - The finalPrice to set. It can't be null.
      • getPriceRuleParameterObject

        public com.ibm.commerce.price.rule.PriceRuleParameterObject[] getPriceRuleParameterObject()
        Get priceRuleParameterObject.
        Returns:
        The priceRuleParameterObject. This value will be null if no data found.
      • setPriceRuleParameterObject

        public void setPriceRuleParameterObject(com.ibm.commerce.price.rule.PriceRuleParameterObject[] newPriceRuleParameterObject)
        Set the priceRuleParameterObject.
        Specified by:
        setPriceRuleParameterObject in interface RuleEngineExecutePriceRuleCmd
        Parameters:
        newPriceRuleParameterObject - The priceRuleParameterObject to set. It can't be null.