com.ibm.commerce.order.calculation

Interface ApplyCalculationUsageCmd

    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values
    • Method Detail

      • checkAppliedItems

        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.
        Throws:
        ECException
      • getAppliedItems

        java.util.Set getAppliedItems()
        Returns the items that have been applied to.
        Returns:
        the items (class: Item).
      • setItems

        void setItems(Item[] aItems)
        Sets the items.
        Parameters:
        aItems - the items.
      • setTaxCategoryIds

        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.
        Parameters:
        anTaxCategoryIds - the tax category IDs.