Class InternalRuleEngineExecutePriceRuleCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, RuleEngineExecutePriceRuleCmd,,,,,,,

    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


        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.
        The contractId. This value will be null if no data found.
      • setContractId

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

        public java.lang.String getRuleId()
        Get priceRuleId.
        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
        newPriceRuleId - The priceRuleId to set. It can't be null.
      • getFinalPrice

        public[][] getFinalPrice()
        Get finalPrice.
        Specified by:
        getFinalPrice in interface RuleEngineExecutePriceRuleCmd
        The finalPrice. This value will be null if no data found.
      • setFinalPrice

        public void setFinalPrice([][] newFinalPrice)
        Set the finalPrice.
        newFinalPrice - The finalPrice to set. It can't be null.
      • getPriceRuleParameterObject

        public[] getPriceRuleParameterObject()
        Get priceRuleParameterObject.
        The priceRuleParameterObject. This value will be null if no data found.
      • setPriceRuleParameterObject

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