public class ApplyCalculationUsageTIKCmdImpl extends ApplyCalculationUsageTIKBaseCmdImpl implements ApplyCalculationUsageTIKCmd
ApplyCalculationUsageTIKCmd Task Command Implementation is called
by the OrderPrepareCmd Controller Command to set the different tax
amounts (for example GST,
PSTand so forth) for each OrderItem supplied by
OrderPrepare.
Given a set of OrderItems in a particular Order this command invokes
the CalculationCodeCombineCmd task command to determine which
CalculationCodesshould be applied to which OrderItems. CalculationCodeCombineCmd returns a list of
elements where each
element is a CalculationCodeand a list of OrderItems to which the
CalculationCodeis applicable.
Item,
With the list of OrderItems and the
CalculationCode
, ApplyCalculationUsageTIKCmd
uses the TaxOrderCmd and TaxOrderItemCmd interfaces. The TaxOrderCmd and TaxOrderItemCmd
interface is provided in the Tax Integration Interface to invoke a tax calculation module.
This tax calculation module, calculates the tax amounts for each of the OrderItems.
If the command is successful, it will set the tax amounts in ORDERITEMS.
,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.math.BigDecimal |
BIG_DECIMAL_ZERO
The big decimal zero field
|
static java.lang.Double |
DOUBLE_ZERO
The double zero field
|
COPYRIGHTCOPYRIGHT, defaultCommandClassName, NAME| Constructor and Description |
|---|
ApplyCalculationUsageTIKCmdImpl()
Constructor for ApplyCalculationUsageTIKCmdImpl
|
getSellerId, getTotalRecyclingFee, performExecute, reset, setTransactionTypecheckAppliedItems, getAppliedItems, setItems, setTaxCategoryIdsgetCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageIdgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAppliedItems, getAppliedItems, setItems, setTaxCategoryIdsgetCurrency, getCustomProperties, getCustomProperty, getTimestamp, getUsageId, setCurrency, setCustomProperties, setCustomProperty, setTimestamp, setUsageIdgetPolicyId, getRequestProperties, setPolicyId, setRequestPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters