public abstract class AbstractOrderServiceExtensionHandler extends AbstractExtensionHandler implements OrderServiceExtensionHandler
enabled, priority| Constructor and Description |
|---|
AbstractOrderServiceExtensionHandler() |
getPriority, isEnabled, setEnabled, setPriorityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPriority, isEnabledpublic AbstractOrderServiceExtensionHandler()
public ExtensionResultStatusType attachAdditionalDataToNewNamedCart(Customer customer, Order cart)
attachAdditionalDataToNewNamedCart in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType preValidateCartOperation(Order cart, ExtensionResultHolder erh)
preValidateCartOperation in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh)
preValidateUpdateQuantityOperation in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType attachAdditionalDataToOrder(Order order, boolean priceOrder)
OrderServiceExtensionHandlerattachAdditionalDataToOrder in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType addOfferCodes(Order order, List<OfferCode> offerCodes, boolean priceOrder)
addOfferCodes in interface OrderServiceExtensionHandlerpublic ExtensionResultStatusType findCartForCustomerWithEnhancements(Customer customer, ExtensionResultHolder erh)
OrderServiceExtensionHandlerOrderServiceExtensionHandler
can provide one or more interesting enhancements.findCartForCustomerWithEnhancements in interface OrderServiceExtensionHandlercustomer - the user for whom the cart is retrievederh - the holder for the enhanced cart to be set by the handlerpublic ExtensionResultStatusType findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh)
OrderServiceExtensionHandlerOrderServiceExtensionHandler can provide one or more interesting enhancements.findCartForCustomerWithEnhancements in interface OrderServiceExtensionHandlercustomer - the user for whom the cart is enhancedcandidateCart - the source cart to enhanceerh - the holder for the enhanced cart to be set by the handlerCopyright © 2017. All rights reserved.