Interface FindDiscountValuesHook
- All Known Implementing Classes:
BundleFindDiscountValuesHook,SubscriptionBundleFindDiscountValuesHook,SubscriptionFindDiscountValuesHook
public interface FindDiscountValuesHook
Hook that focuses on resolving
DiscountValue for the given AbstractOrderEntryModel-
Method Summary
Modifier and TypeMethodDescriptionFind applicableDiscountValues for the target order entry.booleanIndicates whether a custom base price can be found for the givenAbstractOrderEntryModel.
-
Method Details
-
findDiscountValues
Find applicableDiscountValues for the target order entry.- Parameters:
entry-- Returns:
- List of
DiscountValues
-
isApplicable
Indicates whether a custom base price can be found for the givenAbstractOrderEntryModel.- Parameters:
entry-AbstractOrderEntryModel- Returns:
- whether hook is applicable
-