Interface CommerceOrderService

All Known Implementing Classes:
DefaultCommerceOrderService

public interface CommerceOrderService
Service interface that provides an API for commerce orders.
  • Method Summary

    Modifier and Type
    Method
    Description
    If the quote is associated with an order then the associated order will be returned, else null is returned
  • Method Details

    • 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:
      IllegalArgumentException - if quote is null