com.ibm.commerce.order.calculation

Interface DiscountCalculationCodeApplyCmd

  • All Superinterfaces:
    BusinessPolicyCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, CalculationCmd, CalculationCodeApplyCmd, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, 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 is set as specified by the CalculationCodeTaxExempt information for the specified CalculationCode.
    See Also:
    CalculationCodeApplyCmd, Item