ApplyCalculationUsageCmdImpl
.public class ApplyOrderTaxesCmdImpl extends com.ibm.commerce.order.utils.ApplyCalculationUsagesCmdImpl implements ApplyOrderTaxesCmd
ApplyOrderTaxesCmd
Task Command default 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. It uses
CalculationCodeswith calculationUsage of Taxation to calculate the different tax amounts for each of the OrderItems.
If the command is successful, it will invoke another Task Command to set the tax amounts in ORDERITEMS.
If unsuccessful, the command throws the ECApplicationException specifying an Error Code of
ERRCODE_NO_TAXand the Error View named CALCODE_ERRVIEW.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Deprecated.
|
NAME
Constructor and Description |
---|
ApplyOrderTaxesCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
init()
Deprecated.
This method sets up the system for taxation :
Tax Types for Calculation Usages.
Tax Categories for each of the Tax Types.
|
performExecute, setOrderCurrency, setOrderItems, setOrderItems, setTaxCategoryIds, validateParameters
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setOrderCurrency, setOrderItems, setOrderItems, setTaxCategoryIds
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public static final java.lang.String COPYRIGHT
public void init() throws ECException
init
in class com.ibm.commerce.order.utils.ApplyCalculationUsagesCmdImpl
ECException