Interface DiscountCalculationCodeCombineCmd

  • All Superinterfaces:
    BusinessPolicyCommand,,, CalculationCmd, CalculationCodeCombineCmd,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:
    DiscountCalculationCodeCombineCmdImpl,, 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


        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