com.ibm.commerce.isv.kit.tax

Interface TaxOrderCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand


    public interface TaxOrderCmd
    extends TaskCommand
    This interface allows an external tax package to be used from WCS to calculate taxes.
    • Method Detail

      • addOrderItem

        int addOrderItem(TaxOrderItemCmd aTaxOrderItem)
        Adds an order item to an order.

        Parameters:
        aTaxOrderItem - an order item to be added to the order.
        Returns:
        the tax order item
      • getOrderItem

        TaxOrderItemCmd getOrderItem(int aItemNo)
        Retrieves an order item from an order.

        Parameters:
        aItemNo - the id of order item to be retrieved from the order.

        Returns:
        The order item returned.
      • getTotalTax

        java.math.BigDecimal getTotalTax()
        Obtains the total tax calculated for this order for all relevant taxing authorities.

        Returns:
        The total tax calculated for this order.