public interface CalculationCodeApplyCmd extends CalculationCmd
Sets a calculation code, a list of items and a corresponding list of values. Commands that extend this interface will apply each value to its corresponding item.
For sales/shipping tax only, the caller can specify a list of values for each sales/shipping tax category defined in the current store.
This is the base interface that commands registered as calculation methods of type "CalculationCodeApply" must extend. These commands include:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
static java.lang.String | NAME
The name of this interface.
|
Modifier and Type | Method and Description |
---|---|
void | setCode(CalculationCodeAccessBean aabCode)
Sets the calculation code.
|
void | setItems(Item[] aItems)
Sets the items.
|
void | setValues(java.math.BigDecimal[] adValues)
Sets the values to apply.
|
void | setValues(java.lang.Integer anTaxCategoryId, java.math.BigDecimal[] adValues)
Sets values to apply for a tax category.
|
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
void setCode(CalculationCodeAccessBean aabCode)
void setItems(Item[] aItems)
void setValues(java.math.BigDecimal[] adValues)
void setValues(java.lang.Integer anTaxCategoryId, java.math.BigDecimal[] adValues)