com.ibm.commerce.order.calculation

Class ApplyCalculationUsageCmdImpl

    • Field Detail

      • COPYRIGHT

        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
        Throws:
        ECException
      • 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 com.ibm.websphere.command.Command
        Overrides:
        reset in class CalculationCmdImpl
        See Also:
        Command.reset()
      • 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
        Parameters:
        anTaxCategoryIds - the tax category IDs.