public interface MergeCartService
| Modifier and Type | Method and Description |
|---|---|
MergeCartResponse |
mergeCart(OrderCustomer orderCustomer,
Order anonymousCart)
Delegates to mergeCart(Customer, Order, boolean) with priceOrder set to true
Merges the anonymous cart with the customer's current cart, taking into consideration the active
status of the SKUs to merge.
|
MergeCartResponse |
mergeCart(OrderCustomer orderCustomer,
Order anonymousCart,
boolean priceOrder)
Merges the anonymous cart with the customer's current cart, taking into consideration the active
status of the SKUs to merge.
|
ReconstructCartResponse |
reconstructCart(OrderCustomer orderCustomer)
Delegates to reconstructCart(Customer, boolean) with priceOrder set to true
Reconstruct the cart using previous stored state taking into
consideration sku activation
|
ReconstructCartResponse |
reconstructCart(OrderCustomer orderCustomer,
boolean priceOrder)
Reconstruct the cart using previous stored state taking into
consideration sku activation
|
MergeCartResponse mergeCart(OrderCustomer orderCustomer, Order anonymousCart, boolean priceOrder) throws PricingException, RemoveFromCartException
customer - the customer whose cart is to be mergedanonymousCartId - the anonymous cart idpriceOrder - whether or not to price the orderPricingExceptionRemoveFromCartExceptionMergeCartResponse mergeCart(OrderCustomer orderCustomer, Order anonymousCart) throws PricingException, RemoveFromCartException
customer - the customer whose cart is to be mergedanonymousCartId - the anonymous cart idPricingExceptionRemoveFromCartExceptionReconstructCartResponse reconstructCart(OrderCustomer orderCustomer, boolean priceOrder) throws PricingException, RemoveFromCartException
customer - the customer whose cart is to be reconstructedRemoveFromCartExceptionPricingExceptionReconstructCartResponse reconstructCart(OrderCustomer orderCustomer) throws PricingException, RemoveFromCartException
customer - the customer whose cart is to be reconstructedPricingExceptionRemoveFromCartExceptionCopyright © 2017. All rights reserved.