Interface CommerceOrderService
-
- All Known Implementing Classes:
DefaultCommerceOrderService
public interface CommerceOrderServiceService interface that provides an API for commerce orders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OrderModelgetOrderForQuote(QuoteModel quoteModel)If the quote is associated with an order then the associated order will be returned, else null is returned
-
-
-
Method Detail
-
getOrderForQuote
OrderModel getOrderForQuote(QuoteModel quoteModel)
If the quote is associated with an order then the associated order will be returned, else null is returned- Parameters:
quoteModel- the quote model- Returns:
- the associated order model if any
- Throws:
java.lang.IllegalArgumentException- if quote is null
-
-