public class ApplyCalculationUsageTIKCmdImpl extends ApplyCalculationUsageTIKBaseCmdImpl implements ApplyCalculationUsageTIKCmd
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.
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.
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
|
Constructor and Description |
---|
ApplyCalculationUsageTIKCmdImpl()
Constructor for ApplyCalculationUsageTIKCmdImpl
|