public interface UpdateQuoteFromCartStrategy
CartModel to a QuoteModel associated with it.| Modifier and Type | Method and Description |
|---|---|
QuoteModel |
updateQuoteFromCart(CartModel cart)
Updates the
QuoteModel associated with the given CartModel with the contents of the cart. |
QuoteModel updateQuoteFromCart(CartModel cart)
QuoteModel associated with the given CartModel with the contents of the cart.
Implementations have to handle cases where no quote is associated with the cart by e.g. throwing a runtime
exception.cart - a CartModel associated with a QuoteModel.QuoteModelCopyright © 2018 SAP SE. All Rights Reserved.