Class MarketplaceCartValidationHook
java.lang.Object
de.hybris.platform.marketplaceservices.strategies.hooks.MarketplaceCartValidationHook
- All Implemented Interfaces:
CartValidationHook
@Deprecated(since="1905",
forRemoval=true)
public class MarketplaceCartValidationHook
extends Object
implements CartValidationHook
Deprecated, for removal: This API element is subject to removal in a future version.
Varifies if the products in cart are saleable before the checkout process. It's implementation of
CartValidationHook-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidafterValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) Deprecated, for removal: This API element is subject to removal in a future version.Executed after the cart validationvoidbeforeValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) Deprecated, for removal: This API element is subject to removal in a future version.Executed before the cart validationprotected MarketplaceCartEntryDaoDeprecated, for removal: This API element is subject to removal in a future version.protected ModelServiceDeprecated, for removal: This API element is subject to removal in a future version.voidsetCartEntryDao(MarketplaceCartEntryDao cartEntryDao) Deprecated, for removal: This API element is subject to removal in a future version.voidsetModelService(ModelService modelService) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
MarketplaceCartValidationHook
public MarketplaceCartValidationHook()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
beforeValidateCart
public void beforeValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CartValidationHookExecuted before the cart validation- Specified by:
beforeValidateCartin interfaceCartValidationHook- Parameters:
parameter- object containing all the information for validationmodifications- list containing the validation results
-
afterValidateCart
public void afterValidateCart(CommerceCartParameter parameter, List<CommerceCartModification> modifications) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CartValidationHookExecuted after the cart validation- Specified by:
afterValidateCartin interfaceCartValidationHook- Parameters:
parameter- object containing all the information for validationmodifications- list containing the validation results
-
getModelService
Deprecated, for removal: This API element is subject to removal in a future version. -
setModelService
Deprecated, for removal: This API element is subject to removal in a future version. -
getCartEntryDao
Deprecated, for removal: This API element is subject to removal in a future version. -
setCartEntryDao
Deprecated, for removal: This API element is subject to removal in a future version.
-
MarketplaceCartValidationHookreplace