Given a calculation usage and a list of items, this command will determine the discount calculation codes that are attached to the items. It will return a list of groups (see Group), each containing the following:
For more information, refer to the default implementation of this command, DiscountCalculationCodeCombineCmdImpl.
This command is registered as the following bootstrap calculation methods:
Calculation Method ID | Calculation Usage ID | Name |
---|---|---|
-1 | -1 | CalculationCodeCombine (discount) |
Field Summary | |
static java.lang.String | COPYRIGHT The IBM copyright string. |
static java.lang.String | defaultCommandClassName The default implementation of this command. |
static java.lang.String | NAME The name of this command. |
Methods inherited from interface com.ibm.commerce.order.calculation.CalculationCodeCombineCmd |
getGroups, setItems, setTaxCategoryIds |
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
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.