Class DefaultATPResourcePathBuilder
java.lang.Object
com.sap.sapoaacarintegration.services.atp.impl.DefaultATPResourcePathBuilder
- All Implemented Interfaces:
ATPResourcePathBuilder
Default Resource Builder for ATP Service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildBatchRessourceServicePath(ProductModel product, List<String> sourcesList) Assembles the resource service path string for batch callbuildBatchRessourceServicePath(List<ProductModel> productList) Assembles the resource service path string for batch callbuildRessourceServicePath(ProductModel product) Assembles the resource service path string for product ATP callbuildRessourceServicePath(ProductModel product, String source) Assembles the resource service path string for product / source ATP callcompileUriQueryParameters(String cartId, String itemId, String productUnit, RestServiceConfiguration restConfiguration) Set URI Query Parameters for calling availability servicecompileUriQueryParameters(String cartId, List<String> itemIdList, String productUnit, RestServiceConfiguration restConfiguration) Set URI Query Parameters for calling availability service for batch callde.hybris.platform.servicelayer.config.ConfigurationServiceprotected ServiceUtilsvoidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) voidsetServiceUtils(ServiceUtils serviceUtils)
-
Constructor Details
-
DefaultATPResourcePathBuilder
public DefaultATPResourcePathBuilder()
-
-
Method Details
-
compileUriQueryParameters
public org.springframework.util.MultiValueMap<String,String> compileUriQueryParameters(String cartId, List<String> itemIdList, String productUnit, RestServiceConfiguration restConfiguration) Description copied from interface:ATPResourcePathBuilderSet URI Query Parameters for calling availability service for batch call- Specified by:
compileUriQueryParametersin interfaceATPResourcePathBuilder- Returns:
- URI Query parameters
-
compileUriQueryParameters
public org.springframework.util.MultiValueMap<String,String> compileUriQueryParameters(String cartId, String itemId, String productUnit, RestServiceConfiguration restConfiguration) Description copied from interface:ATPResourcePathBuilderSet URI Query Parameters for calling availability service- Specified by:
compileUriQueryParametersin interfaceATPResourcePathBuilder- Returns:
- URI Query parameters
-
buildBatchRessourceServicePath
Description copied from interface:ATPResourcePathBuilderAssembles the resource service path string for batch call- Specified by:
buildBatchRessourceServicePathin interfaceATPResourcePathBuilder- Returns:
- assembled service path
-
buildBatchRessourceServicePath
Description copied from interface:ATPResourcePathBuilderAssembles the resource service path string for batch call- Specified by:
buildBatchRessourceServicePathin interfaceATPResourcePathBuilder- Returns:
- assembled service path
-
buildRessourceServicePath
Description copied from interface:ATPResourcePathBuilderAssembles the resource service path string for product / source ATP call- Specified by:
buildRessourceServicePathin interfaceATPResourcePathBuilder- Returns:
- assembled service path
-
buildRessourceServicePath
Description copied from interface:ATPResourcePathBuilderAssembles the resource service path string for product ATP call- Specified by:
buildRessourceServicePathin interfaceATPResourcePathBuilder- Returns:
- assembled service path
-
setServiceUtils
- Parameters:
serviceUtils- the serviceUtils to set
-
getServiceUtils
- Returns:
- the serviceUtils
-
getConfigurationService
public de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) - Parameters:
configurationService- the configurationService to set
-