public interface MergeCartService
| Modifier and Type | Method and Description |
|---|---|
MergeCartResponse |
mergeCart(Customer customer,
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(Customer customer,
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(Customer customer)
Delegates to reconstructCart(Customer, boolean) with priceOrder set to true
Reconstruct the cart using previous stored state taking into
consideration sku activation
|
ReconstructCartResponse |
reconstructCart(Customer customer,
boolean priceOrder)
Reconstruct the cart using previous stored state taking into
consideration sku activation
|
MergeCartResponse mergeCart(Customer customer, 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(Customer customer, Order anonymousCart) throws PricingException, RemoveFromCartException
customer - the customer whose cart is to be mergedanonymousCartId - the anonymous cart idPricingExceptionRemoveFromCartExceptionReconstructCartResponse reconstructCart(Customer customer, boolean priceOrder) throws PricingException, RemoveFromCartException
customer - the customer whose cart is to be reconstructedRemoveFromCartExceptionPricingExceptionReconstructCartResponse reconstructCart(Customer customer) throws PricingException, RemoveFromCartException
customer - the customer whose cart is to be reconstructedPricingExceptionRemoveFromCartExceptionCopyright © 2014. All Rights Reserved.