Package com.loop54.model.request
Class Request
java.lang.Object
com.loop54.model.request.Request
- Direct Known Subclasses:
AutoCompleteRequest,CreateEventsRequest,GetBasketRecommendationsRequest,GetComplementaryEntitiesRequest,GetEntitiesByAttributeRequest,GetEntitiesRequest,GetPopularOrRecentEntitiesRequest,GetRecommendedEntitiesRequest,GetRelatedEntitiesRequest,SearchRequest
The base request class used for issuing custom requests to the Loop54 e-commerce search engine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionAny additional, non-standard, data. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCustomData(String key, Object value) Adds the object value using the provided key to the custom data of the request.
-
Field Details
-
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
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.
-