Interface ATPResourcePathBuilder
public interface ATPResourcePathBuilder
Resource Builder for ATP Service
-
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 call
-
Method Details
-
compileUriQueryParameters
org.springframework.util.MultiValueMap<String,String> compileUriQueryParameters(String cartId, List<String> itemIdList, String productUnit, RestServiceConfiguration restConfiguration) Set URI Query Parameters for calling availability service for batch call- Parameters:
cartId-itemIdList-productUnit-restConfiguration-- Returns:
- URI Query parameters
-
compileUriQueryParameters
org.springframework.util.MultiValueMap<String,String> compileUriQueryParameters(String cartId, String itemId, String productUnit, RestServiceConfiguration restConfiguration) Set URI Query Parameters for calling availability service- Parameters:
cartId-itemId-productUnit-restConfiguration-- Returns:
- URI Query parameters
-
buildBatchRessourceServicePath
Assembles the resource service path string for batch call- Parameters:
product-sourcesList-- Returns:
- assembled service path
-
buildBatchRessourceServicePath
Assembles the resource service path string for batch call- Parameters:
productList-- Returns:
- assembled service path
-
buildRessourceServicePath
Assembles the resource service path string for product / source ATP call- Parameters:
product-source-- Returns:
- assembled service path
-
buildRessourceServicePath
Assembles the resource service path string for product ATP call- Parameters:
product-- Returns:
- assembled service path
-