com.ibm.commerce.order.calculation
Interface CalculationRuleQualifyCmd
- All Superinterfaces:
- BusinessPolicyCommand, CalculationCmd, ECCommand, TaskCommand
- All Known Subinterfaces:
- DiscountCalculationRuleQualifyCmd, ShippingCalculationRuleQualifyCmd, TaxCalculationRuleQualifyCmd
- public interface CalculationRuleQualifyCmd
- extends CalculationCmd
This command is called by CalculationRuleCombine
to identify the items
that qualify for a
particular calculation rule.
Given a list of OrderItems, this method determines for which of them a
particular CalculationRule applies. It returns a list of elements. Each
element is a list of OrderItems that should be processed toegther by the
CalculationRule.
- See Also:
CalculationRuleCombineCmd
,
Item
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
NAME
|
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
NAME
public static final java.lang.String NAME
getQualifiedItems
public Item[] getQualifiedItems()
- Sets the items that qualify.
setItems
public void setItems(Item[] aItems)
- Sets the items.
setRule
public void setRule(CalculationRuleAccessBean aabRule)
- Sets the calculation rule.