Class DefaultSubscriptionBundleCartHookHelper
java.lang.Object
de.hybris.platform.configurablebundleservices.order.hook.BundleCartHookHelper
de.hybris.platform.subscriptionbundleservices.order.hook.impl.DefaultSubscriptionBundleCartHookHelper
Subscription-aware implementation of
BundleCartHookHelper,
invalidates entries for child carts as well as the master cart entries.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvalidateBundleEntries(CartModel cart, Integer entryGroupNumber) Sets all cart entries that belong to the same bundle to "not calculated".Methods inherited from class de.hybris.platform.configurablebundleservices.order.hook.BundleCartHookHelper
getEntryGroupService, getModelService, setEntryGroupService, setModelService, union
-
Constructor Details
-
DefaultSubscriptionBundleCartHookHelper
public DefaultSubscriptionBundleCartHookHelper()
-
-
Method Details
-
invalidateBundleEntries
Description copied from class:BundleCartHookHelperSets all cart entries that belong to the same bundle to "not calculated". As the prices within a bundle may vary dependent on the bundle entries a re-calculation of the whole bundle (and all the carts that contain entries of the affected bundle) is necessary.- Overrides:
invalidateBundleEntriesin classBundleCartHookHelper- Parameters:
cart- the cart to recalculate entries in.entryGroupNumber- the entry group number to recalculate entries for.
-