com.ibm.commerce.isv.kit.tax
Interface TaxOrderCmd

All Superinterfaces:
TaskCommand

public interface TaxOrderCmd
extends TaskCommand

This interface allows an external tax package to be used from WCS to calculate taxes.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 int addOrderItem( TaxOrderItemCmd aTaxOrderItem)
          Adds an order item to an order.
  TaxOrderItemCmd getOrderItem(int aItemNo)
          Retrieves an order item from an order.
 java.math.BigDecimal getTotalTax()           Obtains the total tax calculated for this order for all relevant taxing authorities.
 

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

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values
Method Detail

addOrderItem

public 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

public 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

public 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.