com.ibm.commerce.order.calculation
Interface DiscountCalculationCodeApplyCmd

All Superinterfaces:
BusinessPolicyCommand, CalculationCmd, CalculationCodeApplyCmd, ECCommand, 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
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME