com.ibm.commerce.order.calculation
Interface CalculationCodeQualifyCmd

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

public interface CalculationCodeQualifyCmd
extends CalculationCmd

This command is called by CalculationCodeCombine to identify the items that qualify for a particular calculation code.
Given a CalculationCode and a list of OrderItems, this method determines for which of them the CalculationCode applies.

See Also:
CalculationCodeCombineCmd, Item

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 Item[] getQualifiedItems()
          Returns the items that qualify.
 void setCode(CalculationCodeAccessBean aabCode)
          Sets the calculation code.
 void setItems(Item[] aItems)
          Sets the items.
 
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
 
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
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

getQualifiedItems

public Item[] getQualifiedItems()
Returns the items that qualify.

setCode

public void setCode(CalculationCodeAccessBean aabCode)
Sets the calculation code.

setItems

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