public interface OrderServiceExtensionHandler extends ExtensionHandler
| 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, isEnabledExtensionResultStatusType attachAdditionalDataToNewNamedCart(Customer customer, Order cart)
ExtensionResultStatusType preValidateCartOperation(Order cart, ExtensionResultHolder erh)
ExtensionResultStatusType preValidateUpdateQuantityOperation(Order cart, OrderItemRequestDTO dto, ExtensionResultHolder erh)
ExtensionResultStatusType attachAdditionalDataToOrder(Order order, boolean priceOrder)
ExtensionResultStatusType findCartForCustomerWithEnhancements(Customer customer, ExtensionResultHolder erh)
OrderServiceExtensionHandler
can provide one or more interesting enhancements.customer - the user for whom the cart is retrievederh - the holder for the enhanced cart to be set by the handlerExtensionResultStatusType findCartForCustomerWithEnhancements(Customer customer, Order candidateCart, ExtensionResultHolder erh)
OrderServiceExtensionHandler can provide one or more interesting enhancements.customer - 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.