Class ApplyCalculationUsageCmdImpl

    • Field Detail


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

      • ApplyCalculationUsageCmdImpl

        public ApplyCalculationUsageCmdImpl()
        Constructor for ApplyCalculationUsageCmdImpl.
    • Method Detail

      • checkAppliedItems

        public void checkAppliedItems()
                               throws ECException
        Checks if a value has been calculated and applied to each and every item. If not, an ECApplicationException with ECMessage _ERR_CALCODE will be thrown.
        Specified by:
        checkAppliedItems in interface ApplyCalculationUsageCmd
      • reset

        public void reset()
        Description copied from class: AbstractECTargetableCommand
        This method is called after a command has been executed. It is used to reset its states variables. After the call to reset, the command should be able to be executed again.
        Specified by:
        reset in interface
        reset in class CalculationCmdImpl
        See Also:
      • setTaxCategoryIds

        public void setTaxCategoryIds(java.lang.Integer[] anTaxCategoryIds)
        Sets the tax categories that should be active during execution. Normally that would be all sales/shipping tax categories defined in the current store. For sales/shipping tax only.
        Specified by:
        setTaxCategoryIds in interface ApplyCalculationUsageCmd
        anTaxCategoryIds - the tax category IDs.