Interface RequoteStrategy

  • All Known Implementing Classes:
    DefaultRequoteStrategy

    public interface RequoteStrategy
    Strategy for re-quote an inactive quote
    • Method Detail

      • requote

        QuoteModel requote​(QuoteModel quote)
        Re-quote an existing quote to get a new quote

        fields in the new created quoteModel are cleared including: name, description, expire time, cart comments, line item comments, cartReference, assignee and generatedNotifications

        the new quote's version will be set to 1; and state is set to CREATE

        Parameters:
        quote - quoteModel which will be re-quoted
        Returns:
        new quoteModel