Class ApplyShippingCmdImpl

    • Field Detail


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

      • ApplyShippingCmdImpl

        public ApplyShippingCmdImpl()
        Constructor for ApplyShippingCmdImpl.
    • 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
      • getAppliedItems

        public java.util.Set getAppliedItems()
        This method returns the items that have been applied to.
        Specified by:
        getAppliedItems in interface ApplyCalculationUsageCmd
        the items (class: Item).
      • reset

        public void reset()
        This method resets the variables of the command.
        Specified by:
        reset in interface
        reset in class CalculationCmdImpl
        See Also:
      • setTaxCategoryIds

        public void setTaxCategoryIds(java.lang.Integer[] anTaxCategoryIds)
        This method 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.