Class DefaultQuoteSellerApproverAutoApprovalStrategy
- java.lang.Object
-
- de.hybris.platform.commerceservices.order.strategies.impl.DefaultQuoteSellerApproverAutoApprovalStrategy
-
- All Implemented Interfaces:
QuoteSellerApproverAutoApprovalStrategy
public class DefaultQuoteSellerApproverAutoApprovalStrategy extends java.lang.Object implements QuoteSellerApproverAutoApprovalStrategy
Default implementation ofQuoteSellerApproverAutoApprovalStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultQuoteSellerApproverAutoApprovalStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConfigurationServicegetConfigurationService()voidsetConfigurationService(ConfigurationService configurationService)booleanshouldAutoApproveQuote(QuoteModel quoteModel)Check whether the quote's sub total amount is within the configured quote auto approval threshold.
-
-
-
Method Detail
-
shouldAutoApproveQuote
public boolean shouldAutoApproveQuote(QuoteModel quoteModel)
Description copied from interface:QuoteSellerApproverAutoApprovalStrategyCheck whether the quote's sub total amount is within the configured quote auto approval threshold.- Specified by:
shouldAutoApproveQuotein interfaceQuoteSellerApproverAutoApprovalStrategy- Parameters:
quoteModel- the quote to inspect- Returns:
- true if the quote is within the auto approval threshold, false otherwise
-
getConfigurationService
protected ConfigurationService getConfigurationService()
-
setConfigurationService
public void setConfigurationService(ConfigurationService configurationService)
-
-