public interface MonetaryAdjustment extends Adjustment
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static int | MAX_SCALE_FOR_DIVIDE
The scale to use for division of BigDecimal.
|
static int | PRICE
Adjustment is on the sub total of an order or a subset of an order
|
static int | SHIPPING
Adjustment is on the shipping charges of an order or a subset of an order
|
static int | SHIPPING_TAX
Adjustment is on the tax levied on the shipping charges of an order or a subset of an order
|
static int | TAX
Adjustment is on the tax levied on an order or a subset of an order
|
static java.math.BigDecimal | ZERO
A simple BigDecimal constant value of 0
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal | getPerUnitAdjustment(AssociatedOrderItem one, AssociatedOrderItem[] all, PromotionContext context)
This method returns the monetary adjustment that needs to be applied to each unit.
|
int | getTheTypeOfMonetaryValueToBeAdjusted()
Returns the target of a monetary adjustment.
|
static final java.lang.String COPYRIGHT
static final int PRICE
static final int SHIPPING
static final int SHIPPING_TAX
static final int TAX
static final java.math.BigDecimal ZERO
static final int MAX_SCALE_FOR_DIVIDE
int getTheTypeOfMonetaryValueToBeAdjusted()
java.math.BigDecimal getPerUnitAdjustment(AssociatedOrderItem one, AssociatedOrderItem[] all, PromotionContext context)