Class Request

java.lang.Object
com.loop54.model.request.Request
Direct Known Subclasses:
AutoCompleteRequest, CreateEventsRequest, GetBasketRecommendationsRequest, GetComplementaryEntitiesRequest, GetEntitiesByAttributeRequest, GetEntitiesRequest, GetPopularOrRecentEntitiesRequest, GetRecommendedEntitiesRequest, GetRelatedEntitiesRequest, SearchRequest

public class Request extends Object
The base request class used for issuing custom requests to the Loop54 e-commerce search engine.
  • Field Details

    • customData

      public Map<String,Object> customData
      Any additional, non-standard, data. Contact support for information about how and when to use this.
  • Constructor Details

    • Request

      public Request()
  • Method Details

    • addCustomData

      public void addCustomData(String key, Object value)
      Adds the object value using the provided key to the custom data of the request.
      Parameters:
      key - Key to set the data on. The keys will be treated as case-sensitive.
      value - Value to add to the custom data.