com.ibm.commerce.price.commands
Interface ApplyOrderAdjustmentsCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
ApplyOrderAdjustmentsCmdImpl

public interface ApplyOrderAdjustmentsCmd
extends TaskCommand

Interface for the command that calculates all pre-tax and post-tax discounts for an order.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 void setOrderCurrency(java.lang.String orderCurrency)
          Set the currency to be used in the calculation.
 void setOrderItems(java.util.Enumeration orderItems)
          Set the order items to calculate the discounts.
 void setOrderItems( OrderItemAccessBean[] orderItems)           Set the order items to calculate the discounts.
 

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

setOrderCurrency

public void setOrderCurrency(java.lang.String orderCurrency)
Set the currency to be used in the calculation. It should be set to the order currency.
Parameters:
orderCurrency - The order currency.

setOrderItems

public void setOrderItems(OrderItemAccessBean[] orderItems)
                   throws ECSystemException
Set the order items to calculate the discounts.
Parameters:
orderItems - The order items of an order.
Throws:
ECSystemException

setOrderItems

public void setOrderItems(java.util.Enumeration orderItems)
                   throws ECSystemException
Set the order items to calculate the discounts.
Parameters:
orderItems - The order items of an order.
Throws:
ECSystemException