public abstract class TaxCalculationCodeApplyCmdImpl extends CalculationCmdImpl implements CalculationCodeApplyCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT |
Constructor and Description |
---|
TaxCalculationCodeApplyCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | addTaxAmount(Item aItem, java.lang.Integer anTaxCategoryId, java.math.BigDecimal adValue)
This method is called by performExecute() to add to the tax amount of a particular item.
|
protected abstract void | addTaxTotal(Item aItem, java.math.BigDecimal adValue)
This method is called by performExecute() to add to the tax total of a particular item.
|
void | performExecute()
This method performs the business logic for this command.
|
void | reset()
Resets the command properties.
|
void | setCode(CalculationCodeAccessBean aabCode)
Sets the calculation code.
|
void | setItems(Item[] aItems)
Sets the items.
|
void | setValues(java.math.BigDecimal[] adValues)
Sets the values to apply.
|
void | setValues(java.lang.Integer anTaxCategoryId, java.math.BigDecimal[] adValues)
Sets values to apply for a tax category.
|
public static final java.lang.String COPYRIGHT
public void reset()
protected void addTaxAmount(Item aItem, java.lang.Integer anTaxCategoryId, java.math.BigDecimal adValue)
protected abstract void addTaxTotal(Item aItem, java.math.BigDecimal adValue)
public void performExecute() throws ECException
public void setCode(CalculationCodeAccessBean aabCode)
public void setItems(Item[] aItems)
public void setValues(java.math.BigDecimal[] adValues)
public void setValues(java.lang.Integer anTaxCategoryId, java.math.BigDecimal[] adValues)