public class TaxCalculationRuleQualifyCmdImpl extends CalculationCmdImpl implements TaxCalculationRuleQualifyCmd
| Modifier and Type | Field and Description |
|---|---|
| static java.lang.String | COPYRIGHT |
| Constructor and Description |
|---|
| TaxCalculationRuleQualifyCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
| protected Item[] | getItems()
Returns the items.
|
| java.lang.Integer[] | getJurisdictionIds(java.lang.Long anAddressId)
This method is called by isQualified() to resolve an address into a list of shipping jurisdictions.
|
| Item[] | getQualifiedItems()
getQualifiedItems method comment.
|
| protected CalculationRuleAccessBean | getRule()
Returns the calculation rule.
|
| boolean | isQualified(Item aItem) |
| protected boolean | isSibling(java.lang.Integer anRuleId)
This method is called by isQualified() to identify whether a calculation rule belongs to the same calculation code as the current calculation rule.
|
| void | performExecute()
This method performs the business logic for this command.
|
| void | reset()
Resets the command properties.
|
| void | setItems(Item[] aItems)
setItems method comment.
|
| protected void | setQualifiedItems(Item[] aItems)
Sets the items that qualify.
|
| void | setRule(CalculationRuleAccessBean aabRule)
setRule method comment.
|
public static final java.lang.String COPYRIGHT
public void reset()
protected Item[] getItems()
public java.lang.Integer[] getJurisdictionIds(java.lang.Long anAddressId)
throws ECException
public Item[] getQualifiedItems()
protected CalculationRuleAccessBean getRule()
public boolean isQualified(Item aItem) throws ECException
protected boolean isSibling(java.lang.Integer anRuleId)
throws ECException
public void performExecute()
throws ECException
public void setItems(Item[] aItems)
protected void setQualifiedItems(Item[] aItems)
public void setRule(CalculationRuleAccessBean aabRule)