com.ibm.commerce.order.calculation
Interface DiscountCalculationCodeApplyCmd

All Superinterfaces:
BusinessPolicyCommand, CalculationCmd, CalculationCodeApplyCmd, TaskCommand
All Known Implementing Classes:
DiscountCalculationCodeApplyCmdImpl

public interface DiscountCalculationCodeApplyCmd
extends CalculationCodeApplyCmd

This is the discount specific version of the CalculationCodeApply command.
The default implementation for discount calculationUsage creates an OrderAdjustment object for the Order, and creates an OrderItemAdjustment object for each of the OrderItems in the list using the specified MonetaryAmounts. The OrderAdjustmentTaxExempt information for the OrderItemAdjustments are set as specified by the CalculationCodeTaxExempt information for the specified CalculationCode.

See Also:
CalculationCodeApplyCmd, Item

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Methods inherited from interface com.ibm.commerce.order.calculation. CalculationCodeApplyCmd
setCode, setItems, setValues, setValues
 
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
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
See Also:
Constant Field Values