Interface CommerceOrderService

  • All Known Implementing Classes:
    DefaultCommerceOrderService

    public interface CommerceOrderService
    Service interface that provides an API for commerce orders.
    • 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