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 ID | Calculation Usage ID | Name |
---|---|---|
-2 | -1 | CalculationCodeQualify (discount) |
-22 | -2 | CalculationCodeQualify (shipping) |
-42 | -3 | CalculationCodeQualify (sales tax) |
-62 | -4 | CalculationCodeQualify (shipping tax) |
-5002 | -5 | CalculationCodeQualify (coupon) |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String | defaultCommandClassName
The default implementation of this command.
|
static java.lang.String | NAME
The name of this command.
|
Modifier and Type | Method and Description |
---|---|
Item[] | getQualifiedItems()
Returns the qualified items.
|
void | setCode(CalculationCodeAccessBean aabCode)
Sets the calculation code.
|
void | setItems(Item[] aItems)
Sets the items.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
Item[] getQualifiedItems()
void setCode(CalculationCodeAccessBean aabCode)
void setItems(Item[] aItems)