Interface ATPResourcePathBuilder


public interface ATPResourcePathBuilder
Resource Builder for ATP Service
  • 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

      String buildBatchRessourceServicePath(ProductModel product, List<String> sourcesList)
      Assembles the resource service path string for batch call
      Parameters:
      product -
      sourcesList -
      Returns:
      assembled service path
    • buildBatchRessourceServicePath

      String buildBatchRessourceServicePath(List<ProductModel> productList)
      Assembles the resource service path string for batch call
      Parameters:
      productList -
      Returns:
      assembled service path
    • buildRessourceServicePath

      String buildRessourceServicePath(ProductModel product, String source)
      Assembles the resource service path string for product / source ATP call
      Parameters:
      product -
      source -
      Returns:
      assembled service path
    • buildRessourceServicePath

      String buildRessourceServicePath(ProductModel product)
      Assembles the resource service path string for product ATP call
      Parameters:
      product -
      Returns:
      assembled service path