Class PriceRuleGetContractUnitPriceCmdImpl

  • java.lang.Object
    • Constructor Detail

      • PriceRuleGetContractUnitPriceCmdImpl

        public PriceRuleGetContractUnitPriceCmdImpl()
        Constructor for PriceRuleGetContractUnitPriceCmdImpl.
    • Method Detail

      • performExecute

        public void performExecute()
        Uses the RuleEngineExecutePriceRuleCmd command to obtain the price. This command will first compose the input data for the service, execute the service, and interpret the results.
        Specified by:
        performExecute in interface
        performExecute in class
        Throws: - If there was an error composing the price for the service command or looking up data from the service command. This error will not be thrown if AbstractGetPriceCmdImpl.setErrorMode(boolean) was set to false.
      • setCustomData

        public void setCustomData(java.util.Map customData)
        Description copied from interface: GetCustomContractUnitPriceCmd
        Set custom data that is passed to the command.
        Specified by:
        setCustomData in interface GetCustomContractUnitPriceCmd
        customData - The custom data to be used for calculating the price. This value may be null or empty.