Interface CreateQuoteFromCartStrategy
- All Known Implementing Classes:
DefaultCreateQuoteFromCartStrategy
public interface CreateQuoteFromCartStrategy
Strategy for creating a
QuoteModel instance based on a given CartModel instance.-
Method Summary
Modifier and TypeMethodDescriptioncreateQuoteFromCart(CartModel cart) Creates a newQuoteModelbased on the givenCartModel.
-
Method Details
-
createQuoteFromCart
Creates a newQuoteModelbased on the givenCartModel.- Parameters:
cart- theCartModelbase on which to create a newQuoteModel- Returns:
- the new
QuoteModel
-