Interface QuoteSellerApproverAutoApprovalStrategy
-
- All Known Implementing Classes:
DefaultQuoteSellerApproverAutoApprovalStrategy
public interface QuoteSellerApproverAutoApprovalStrategyStrategy that will be used by business process to check a quote can be auto approved or require seller approval action
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanshouldAutoApproveQuote(QuoteModel quoteModel)Check whether the quote's sub total amount is within the configured quote auto approval threshold.
-
-
-
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
-
-