public abstract class AbstractOrderServiceExtensionHandler extends AbstractExtensionHandler implements OrderServiceExtensionHandler
enabled, priority| Constructor and Description |
|---|
AbstractOrderServiceExtensionHandler() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionResultStatusType |
attachAdditionalDataToNewNamedCart(Customer customer,
Order cart) |
ExtensionResultStatusType |
attachAdditionalDataToOrder(Order order,
boolean priceOrder)
Can be used to attach or update fields must prior to saving an order.
|
ExtensionResultStatusType |
findCartForCustomerWithEnhancements(Customer customer,
ExtensionResultHolder erh)
Retrieve an enhanced version of the cart for the customer.
|
ExtensionResultStatusType |
findCartForCustomerWithEnhancements(Customer customer,
Order candidateCart,
ExtensionResultHolder erh)
Retrieve an enhanced version of the cart for the customer.
|
ExtensionResultStatusType |
preValidateCartOperation(Order cart,
ExtensionResultHolder erh) |
ExtensionResultStatusType |
preValidateUpdateQuantityOperation(Order cart,
OrderItemRequestDTO dto,
ExtensionResultHolder erh) |
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 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.