Interface AcceleratorCheckoutService
- All Known Implementing Classes:
DefaultAcceleratorCheckoutService
public interface AcceleratorCheckoutService
Defines checkout related accelerator services
-
Method Summary
Modifier and TypeMethodDescriptionconsolidateCheckoutCart(CartModel cartModel, PointOfServiceModel consolidatedPickupPointModel) Runs calculation again and updates cartgetConsolidatedPickupOptions(CartModel cartModel) Gets the points of service for item pickup for a cart
-
Method Details
-
getConsolidatedPickupOptions
Gets the points of service for item pickup for a cart- Parameters:
cartModel- the cart- Returns:
- a
ListofPointOfServiceDistanceData
-
consolidateCheckoutCart
List<CommerceCartModification> consolidateCheckoutCart(CartModel cartModel, PointOfServiceModel consolidatedPickupPointModel) throws CommerceCartModificationException Runs calculation again and updates cart- Parameters:
cartModel- the cartconsolidatedPickupPointModel- the point of service- Returns:
- any unsuccessful modifications that made to the cart (i.e. due to very, very recent stock changes)
- Throws:
CommerceCartModificationException- when the cart could not be modified
-