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
public static final java.lang.String NAME
Method Detail |
---|
public int addOrderItem(TaxOrderItemCmd aTaxOrderItem)
aTaxOrderItem
- an order item to be added to the order.public TaxOrderItemCmd getOrderItem(int aItemNo)
aItemNo
- the id of order item to be retrieved from the order.
public java.math.BigDecimal getTotalTax()