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
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
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME