com.ibm.commerce.couponredemption.commands
Interface ApplyCouponUsageCmd

All Superinterfaces:
ApplyCalculationUsageCmd, BusinessPolicyCommand, CalculationCmd, TaskCommand
All Known Implementing Classes:
ApplyCouponUsageCmdImpl

public interface ApplyCouponUsageCmd
extends ApplyCalculationUsageCmd

This task command is called from OrderPrepare command to incorporate the eCoupon discount onto the Adjustments in ORDERS and ORDERITEMS table. The command is invoked when user asks to redeem the eCoupons before preparing order.

The input to this command is :

The orderId of the order to which adjustments are to be applied.

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.template.commands.TaskCmdTemplate is not defined in the CMDREG table
static java.lang.String NAME
          Name of this interface.
 
Methods inherited from interface com.ibm.commerce.order.calculation. ApplyCalculationUsageCmd
checkAppliedItems, getAppliedItems, setItems, setTaxCategoryIds
 
Methods inherited from interface com.ibm.commerce.order.calculation. CalculationCmd
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
 
Methods inherited from interface com.ibm.commerce.command. BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 

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
Name of this interface.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
defaultCommandClassName is the default implementation class used by command factory to instantiate this command if the interface com.ibm.commerce.template.commands.TaskCmdTemplate is not defined in the CMDREG table
See Also:
Constant Field Values