Interface CalculationCodeQualifyCmd

  • All Superinterfaces:
    BusinessPolicyCommand,,, CalculationCmd,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface CalculationCodeQualifyCmd
    extends CalculationCmd

    Given a calculation code and a list of items, this command will determine the items that are qualified for the calculation code.

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

    This is also the base interface that commands registered as calculation methods of type "CalculationCodeQualify" must extend.

This command is registered as the following bootstrap calculation methods:

Calculation Method IDCalculation Usage IDName
-2-1CalculationCodeQualify (discount)
-22-2CalculationCodeQualify (shipping)
-42-3CalculationCodeQualify (sales tax)
-62-4CalculationCodeQualify (shipping tax)
-5002-5CalculationCodeQualify (coupon)

    • Field Detail


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

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

      • getQualifiedItems

        Item[] getQualifiedItems()
        Returns the qualified items.
        the qualified items.
      • setCode

        void setCode(CalculationCodeAccessBean aabCode)
        Sets the calculation code.
        aabCode - the calculation code.
      • setItems

        void setItems(Item[] aItems)
        Sets the items.
        aItems - the items.