public interface MinimumAmountValidationStrategy
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLineItemLowerLimitValid(LineItem lineItem,
LineItemDiscount discount)
Checks if the LineItem subtotal and the Order subtotal are valid after application of the Discount to the
LineItem.
|
boolean |
isOrderLowerLimitValid(Order cart,
OrderDiscount discount)
Checks if the subtotal is valid after application of the Discount to the Cart.
|
boolean isOrderLowerLimitValid(Order cart, OrderDiscount discount)
cart - Cart to checkdiscount - Discount to applyboolean isLineItemLowerLimitValid(LineItem lineItem, LineItemDiscount discount)
lineItem - LineItem to checkdiscount - Discount to applyCopyright © 2018 SAP SE. All Rights Reserved.