Interface AcceleratorCheckoutService
-
- All Known Implementing Classes:
DefaultAcceleratorCheckoutService
public interface AcceleratorCheckoutService
Defines checkout related accelerator services
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<CommerceCartModification>
consolidateCheckoutCart(CartModel cartModel, PointOfServiceModel consolidatedPickupPointModel)
Runs calculation again and updates cartjava.util.List<PointOfServiceDistanceData>
getConsolidatedPickupOptions(CartModel cartModel)
Gets the points of service for item pickup for a cart
-
-
-
Method Detail
-
getConsolidatedPickupOptions
java.util.List<PointOfServiceDistanceData> getConsolidatedPickupOptions(CartModel cartModel)
Gets the points of service for item pickup for a cart- Parameters:
cartModel
- the cart- Returns:
- a
List
ofPointOfServiceDistanceData
-
consolidateCheckoutCart
java.util.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
-
-