Interface CommerceOrderService
- All Known Implementing Classes:
DefaultCommerceOrderService
public interface CommerceOrderService
Service interface that provides an API for commerce orders.
-
Method Summary
Modifier and TypeMethodDescriptiongetOrderForQuote(QuoteModel quoteModel) If the quote is associated with an order then the associated order will be returned, else null is returned
-
Method Details
-
getOrderForQuote
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:
IllegalArgumentException- if quote is null
-