Class GetComplementaryEntitiesRequest

java.lang.Object
com.loop54.model.request.Request
com.loop54.model.request.GetComplementaryEntitiesRequest

public class GetComplementaryEntitiesRequest extends Request
This class is used to configure a GetComplementaryEntities request to the Loop54 e-commerce search engine.
  • Field Details

    • entity

      public Entity entity
      The entity whose complementary entities we want to get. Only needs the type and id set.
    • resultsOptions

      public final EntityCollectionParameters resultsOptions
      Parameters for specifying which entities to retrieve. Such as filtering, faceting, sorting and paging. Note that filtering is advised when doing this request.
  • Constructor Details

    • GetComplementaryEntitiesRequest

      public GetComplementaryEntitiesRequest(String entityType, String entityId)
      Parameters:
      entityType - Type of the entity to query
      entityId - Id of the entity to query
    • GetComplementaryEntitiesRequest

      public GetComplementaryEntitiesRequest(Entity entity)
      Parameters:
      entity - The entity to use in the query.