com.ibm.commerce.price.commands
Interface ApplyOrderAdjustmentsCmd
- All Superinterfaces:
- ECCommand, 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
|
static java.lang.String |
NAME
|
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. |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
NAME
public static final java.lang.String NAME
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(java.util.Enumeration orderItems)
throws ECSystemException
- Set the order items to calculate the discounts.
- Parameters:
orderItems
- The order items of an order.
setOrderItems
public void setOrderItems(OrderItemAccessBean[] orderItems)
throws ECSystemException
- Set the order items to calculate the discounts.
- Parameters:
orderItems
- The order items of an order.