Class DefaultSapCpqSbFetchQuoteDiscountsService
- java.lang.Object
-
- com.sap.hybris.sapcpqsbintegration.service.impl.DefaultSapCpqSbFetchQuoteDiscountsService
-
- All Implemented Interfaces:
SapCpqSbFetchQuoteDiscountsService
public class DefaultSapCpqSbFetchQuoteDiscountsService extends java.lang.Object implements SapCpqSbFetchQuoteDiscountsService
Default Quote API client Service to communicate with Sap CPQ system
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringORDER_BY_VERSION_DESCprotected static java.lang.StringQUOTES_QUERYprotected static java.lang.StringWHERE_CODE_CLAUSE
-
Constructor Summary
Constructors Constructor Description DefaultSapCpqSbFetchQuoteDiscountsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<QuoteModel>getCurrentQuoteVendorDiscounts(java.lang.String quoteId)Get Quote discountsde.hybris.platform.servicelayer.search.FlexibleSearchServicegetFlexibleSearchService()voidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
-
-
Field Detail
-
QUOTES_QUERY
protected static final java.lang.String QUOTES_QUERY
- See Also:
- Constant Field Values
-
WHERE_CODE_CLAUSE
protected static final java.lang.String WHERE_CODE_CLAUSE
- See Also:
- Constant Field Values
-
ORDER_BY_VERSION_DESC
protected static final java.lang.String ORDER_BY_VERSION_DESC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCurrentQuoteVendorDiscounts
public java.util.Optional<QuoteModel> getCurrentQuoteVendorDiscounts(java.lang.String quoteId)
Description copied from interface:SapCpqSbFetchQuoteDiscountsServiceGet Quote discounts- Specified by:
getCurrentQuoteVendorDiscountsin interfaceSapCpqSbFetchQuoteDiscountsService- Parameters:
quoteId- logo code- Returns:
- QuoteModel with the discounts of
QuoteModel
-
getFlexibleSearchService
public de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()
-
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService)
-
-