com.ibm.commerce.order.calculation

Interface DiscountCalculationCodeCombineCmd

  • All Superinterfaces:
    BusinessPolicyCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, CalculationCmd, CalculationCodeCombineCmd, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Implementing Classes:
    DiscountCalculationCodeCombineCmdImpl, com.ibm.commerce.order.calculation.PromotionEngineDiscountCalculationCodeCombineCmdImpl, ShippingAdjustmentCalculationCodeCombineCmdImpl


    public interface DiscountCalculationCodeCombineCmd
    extends CalculationCodeCombineCmd

    Given a calculation usage and a list of items, this command will determine the discount calculation codes that are attached to the items. It will return a list of groups (see Group), each containing the following:

    • a discount calculation code.
    • the list of items that the discount calculation code is attached to.
    • if rule based discount is enabled, a corresponding list of discount values.

    For more information, refer to the default implementation of this command, DiscountCalculationCodeCombineCmdImpl.

    This command is registered as the following bootstrap calculation methods:

    Calculation Method IDCalculation Usage IDName
    -1-1CalculationCodeCombine (discount)

    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The IBM copyright string.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values