Interface QuoteSellerApproverAutoApprovalStrategy

  • All Known Implementing Classes:
    DefaultQuoteSellerApproverAutoApprovalStrategy

    public interface QuoteSellerApproverAutoApprovalStrategy
    Strategy that will be used by business process to check a quote can be auto approved or require seller approval action
    • Method Detail

      • shouldAutoApproveQuote

        boolean shouldAutoApproveQuote​(QuoteModel quoteModel)
        Check whether the quote's sub total amount is within the configured quote auto approval threshold.
        Parameters:
        quoteModel - the quote to inspect
        Returns:
        true if the quote is within the auto approval threshold, false otherwise