public abstract class AbstractUpdateCartServiceExtensionHandler extends AbstractExtensionHandler implements UpdateCartServiceExtensionHandler
enabled, priority| Constructor and Description |
|---|
AbstractUpdateCartServiceExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
updateAndValidateCart(Order cart,
ExtensionResultHolder resultHolder)
Throws an exception if cart is invalid.
|
ExtensionResultStatusType |
validateAddToCartItem(OrderItemRequestDTO itemRequest,
Order cart)
Validates the item request just before it actually goes through the add or update workflow to get it into the cart
|
getPriority, isEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, isEnabledpublic AbstractUpdateCartServiceExtensionHandler()
public ExtensionResultStatusType updateAndValidateCart(Order cart, ExtensionResultHolder resultHolder)
updateAndValidateCart in interface UpdateCartServiceExtensionHandlercart - resultHolder - public ExtensionResultStatusType validateAddToCartItem(OrderItemRequestDTO itemRequest, Order cart) throws IllegalArgumentException
UpdateCartServiceExtensionHandlervalidateAddToCartItem in interface UpdateCartServiceExtensionHandlerIllegalArgumentExceptionCopyright © 2019. All rights reserved.