com.ibm.commerce.order.calculation
Class SalesTaxCalculationCodeApplyCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.command.BusinessPolicyCommandImpl
                          |
                          +--com.ibm.commerce.order.calculation.CalculationCmdImpl
                                |
                                +--com.ibm.commerce.order.calculation.TaxCalculationCodeApplyCmdImpl
                                      |
                                      +--com.ibm.commerce.order.calculation.SalesTaxCalculationCodeApplyCmdImpl
All Implemented Interfaces:
BusinessPolicyCommand, CalculationCmd, CalculationCodeApplyCmd, ECCommand, ECTargetableCommand, SalesTaxCalculationCodeApplyCmd, TaskCommand

public class SalesTaxCalculationCodeApplyCmdImpl
extends TaxCalculationCodeApplyCmdImpl
implements SalesTaxCalculationCodeApplyCmd

This is the default implementation of the SalesTaxCalculationCodeApply command.

See Also:
SalesTaxCalculationCodeApplyCmd, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Fields inherited from class com.ibm.commerce.command. BusinessPolicyCommandImpl
policyId, requestProperties
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.order.calculation. SalesTaxCalculationCodeApplyCmd
defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
SalesTaxCalculationCodeApplyCmdImpl()
           
 
Method Summary
protected  void addTaxTotal( Item aItem, java.math.BigDecimal adValue)
          This method is called by performExecute() to add to the tax total of a particular item.
 
Methods inherited from class com.ibm.commerce.order.calculation. TaxCalculationCodeApplyCmdImpl
addTaxAmount, performExecute, setCode, setItems, setValues, setValues
 
Methods inherited from class com.ibm.commerce.order.calculation. CalculationCmdImpl
createCommand, getCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, reset, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageId
 
Methods inherited from class com.ibm.commerce.command. BusinessPolicyCommandImpl
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.order.calculation. CalculationCodeApplyCmd
setCode, setItems, setValues, setValues
 
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
See Also:
Constant Field Values
Constructor Detail

SalesTaxCalculationCodeApplyCmdImpl

public SalesTaxCalculationCodeApplyCmdImpl()
Method Detail

addTaxTotal

protected void addTaxTotal(Item aItem,
                           java.math.BigDecimal adValue)
Description copied from class: TaxCalculationCodeApplyCmdImpl
This method is called by performExecute() to add to the tax total of a particular item.
Specified by:
addTaxTotal in class TaxCalculationCodeApplyCmdImpl