com.ibm.commerce.isv.kit.tax

Interface TaxIntegrationOrderCmd

  • 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
    All Known Implementing Classes:
    TaxIntegrationOrderCmdImpl


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

      • addOrderItem

        int addOrderItem(TaxIntegrationOrderItemCmd 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

        TaxIntegrationOrderItemCmd 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.
      • getTotalRecyclingFee

        java.math.BigDecimal getTotalRecyclingFee()
        Obtains the total recycling fee for this order. This will be a sum of the order item recycling fees.
        Returns:
        the total recycling fee for this order