@Deprecated public class LegacyMergeCartServiceImpl extends Object implements MergeCartService
| Modifier and Type | Field and Description |
|---|---|
protected FulfillmentGroupService |
fulfillmentGroupService
Deprecated.
|
| Constructor and Description |
|---|
LegacyMergeCartServiceImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected OrderItem |
addOrderItemToOrder(Order order,
OrderItem newOrderItem,
Boolean priceOrder)
Deprecated.
|
MergeCartResponse |
mergeCart(Customer customer,
Order anonymousCart)
Deprecated.
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)
Deprecated.
Merges the anonymous cart with the customer's current cart, taking into consideration the active
status of the SKUs to merge.
|
protected Order |
mergeGiftWrapOrderItems(MergeCartResponse mergeCartResponse,
Order customerCart,
Map<OrderItem,OrderItem> oldNewItemMap)
Deprecated.
|
protected Order |
mergeOfferCodes(Order anonymousCart,
Order customerCart)
Deprecated.
|
protected Order |
mergeRegularOrderItems(Order anonymousCart,
MergeCartResponse mergeCartResponse,
Order customerCart,
Map<OrderItem,OrderItem> oldNewItemMap)
Deprecated.
|
ReconstructCartResponse |
reconstructCart(Customer customer)
Deprecated.
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)
Deprecated.
Reconstruct the cart using previous stored state taking into
consideration sku activation
|
protected Order |
removeExpiredGiftWrapOrderItems(MergeCartResponse mergeCartResponse,
Order customerCart,
Map<OrderItem,OrderItem> oldNewItemMap)
Deprecated.
|
protected Order |
removeItemFromOrder(Order order,
OrderItem item,
boolean priceOrder)
Deprecated.
|
protected FulfillmentGroupService fulfillmentGroupService
public MergeCartResponse mergeCart(Customer customer, Order anonymousCart) throws PricingException
MergeCartServicemergeCart in interface MergeCartServicecustomer - the customer whose cart is to be mergedPricingExceptionpublic ReconstructCartResponse reconstructCart(Customer customer) throws PricingException
MergeCartServicereconstructCart in interface MergeCartServicecustomer - the customer whose cart is to be reconstructedPricingExceptionpublic MergeCartResponse mergeCart(Customer customer, Order anonymousCart, boolean priceOrder) throws PricingException
MergeCartServicemergeCart in interface MergeCartServicecustomer - the customer whose cart is to be mergedpriceOrder - whether or not to price the orderPricingExceptionpublic ReconstructCartResponse reconstructCart(Customer customer, boolean priceOrder) throws PricingException
MergeCartServicereconstructCart in interface MergeCartServicecustomer - the customer whose cart is to be reconstructedPricingExceptionprotected Order mergeGiftWrapOrderItems(MergeCartResponse mergeCartResponse, Order customerCart, Map<OrderItem,OrderItem> oldNewItemMap) throws PricingException
PricingExceptionprotected Order removeExpiredGiftWrapOrderItems(MergeCartResponse mergeCartResponse, Order customerCart, Map<OrderItem,OrderItem> oldNewItemMap) throws PricingException
PricingExceptionprotected Order mergeOfferCodes(Order anonymousCart, Order customerCart)
protected Order mergeRegularOrderItems(Order anonymousCart, MergeCartResponse mergeCartResponse, Order customerCart, Map<OrderItem,OrderItem> oldNewItemMap) throws PricingException
PricingExceptionprotected OrderItem addOrderItemToOrder(Order order, OrderItem newOrderItem, Boolean priceOrder) throws PricingException
PricingExceptionprotected Order removeItemFromOrder(Order order, OrderItem item, boolean priceOrder) throws PricingException
PricingExceptionCopyright © 2014. All Rights Reserved.