com.ibm.commerce.order.calculation
Interface CalculationRuleQualifyCmd

All Superinterfaces:
BusinessPolicyCommand, CalculationCmd, TaskCommand
All Known Subinterfaces:
DiscountCalculationRuleQualifyCmd, ShippingCalculationRuleQualifyCmd, TaxCalculationRuleQualifyCmd
All Known Implementing Classes:
DiscountCalculationRuleQualifyCmdImpl, ShippingCalculationRuleQualifyCmdImpl, TaxCalculationRuleQualifyCmdImpl

public interface CalculationRuleQualifyCmd
extends CalculationCmd

Given a calculation rule and a list of items, commands that extend this interface will determine the items that are qualified for the calculation rule.

This is the base interface that commands registered as calculation methods of type "CalculationRuleQualify" must extend. These commands include:


Field Summary
static java.lang.String COPYRIGHT
          The IBM copyright notice field.
static java.lang.String NAME
          The name of this interface.
 
Method Summary
  Item[] getQualifiedItems()
          Returns the items that are qualified.
 void setItems( Item[] aItems)
          Sets the items.
 void setRule(CalculationRuleAccessBean aabRule)
          Sets the calculation rule.
 
Methods inherited from interface com.ibm.commerce.order.calculation. CalculationCmd
getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
 
Methods inherited from interface com.ibm.commerce.command. BusinessPolicyCommand
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 

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

NAME

public static final java.lang.String NAME
The name of this interface.
See Also:
Constant Field Values
Method Detail

getQualifiedItems

public Item[] getQualifiedItems()
Returns the items that are qualified.
Returns:
the items that are qualified.

setItems

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

setRule

public void setRule(CalculationRuleAccessBean aabRule)
Sets the calculation rule.
Parameters:
aabRule - the calculation rule.