com.ibm.commerce.order.calculation

Interface CalculationCodeCalculateCmd

    • 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

      • getValues

        java.math.BigDecimal[] getValues()
        Returns the values corresponding to the items.
        Returns:
        the values.
      • getValues

        java.math.BigDecimal[] getValues(java.lang.Integer anTaxCategoryId)
        Returns the values for a tax category.
        Parameters:
        anTaxCategoryId - the tax category ID.
        Returns:
        the values for the tax category.
      • setCode

        void setCode(CalculationCodeAccessBean aabCode)
        Sets the calculation code.
        Parameters:
        aabCode - the calculation code.
      • 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.