com.ibm.commerce.order.calculation

Class ApplyShippingChargeByCarrierCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • ApplyShippingChargeByCarrierCmdImpl

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

        public java.util.Set getAppliedItems()
        This method returns the items that have been applied to.
        Specified by:
        getAppliedItems in interface ApplyCalculationUsageCmd
        Returns:
        the items (class: Item).
      • 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
        Parameters:
        anTaxCategoryIds - the tax category IDs.
      • reset

        public void reset()
        This method resets the variables of the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class CalculationCmdImpl
        See Also:
        Command.reset()