Class DefaultQuoteSellerApproverAutoApprovalStrategy
java.lang.Object
de.hybris.platform.commerceservices.order.strategies.impl.DefaultQuoteSellerApproverAutoApprovalStrategy
- All Implemented Interfaces:
QuoteSellerApproverAutoApprovalStrategy
public class DefaultQuoteSellerApproverAutoApprovalStrategy
extends Object
implements QuoteSellerApproverAutoApprovalStrategy
Default implementation of
QuoteSellerApproverAutoApprovalStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ConfigurationServicevoidsetConfigurationService(ConfigurationService configurationService) booleanshouldAutoApproveQuote(QuoteModel quoteModel) Check whether the quote's sub total amount is within the configured quote auto approval threshold.
-
Constructor Details
-
DefaultQuoteSellerApproverAutoApprovalStrategy
public DefaultQuoteSellerApproverAutoApprovalStrategy()
-
-
Method Details
-
shouldAutoApproveQuote
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
-
setConfigurationService
-