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 Summary

    Modifier and Type
    Method
    Description
    boolean
    Check whether the quote's sub total amount is within the configured quote auto approval threshold.
  • Method Details

    • 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