public class ContractShippingAdjustmentCalculationCodeCalculateCmdImpl extends CalculationCodeCalculateCmdImpl implements ContractShippingAdjustmentCalculationCodeCalculateCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
ContractShippingAdjustmentCalculationCodeCalculateCmdImpl()
Constructor for ShippingAdjustmentCalculationCodeApplyCmdImpl
|
Modifier and Type | Method and Description |
---|---|
protected void | calculateContractBasedShippingAdjutments()
This method calculates the contract based shipping adjustments.
|
boolean | catalogSelection(java.lang.Long[] categoryIds, java.lang.Long categoryId)
This method checks if one category is on one of the paths of the category array including its ancestor.
|
java.math.BigDecimal | getAdjustmetAmountFromTC(OrderItemAccessBean abOrderItem)
This method returns the adjustment amount from the ShippingTCShippingChargeAdjustment TCs.
|
java.util.ArrayList | getCataGroupListForCatentry(java.lang.Long catentryId)
This method returns the catalog group list for the specified catentry.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | reset()
This method resets the variables of the command.
|
public static final java.lang.String COPYRIGHT
public ContractShippingAdjustmentCalculationCodeCalculateCmdImpl()
public void reset()
public void performExecute() throws ECException
protected void calculateContractBasedShippingAdjutments() throws ECException
public boolean catalogSelection(java.lang.Long[] categoryIds, java.lang.Long categoryId) throws ECSystemException
public java.math.BigDecimal getAdjustmetAmountFromTC(OrderItemAccessBean abOrderItem) throws ECException
public java.util.ArrayList getCataGroupListForCatentry(java.lang.Long catentryId) throws ECSystemException