Class BulkCategoryDetailsRequest

java.lang.Object
com.broadleafcommerce.catalogbrowse.domain.BulkCategoryDetailsRequest
All Implemented Interfaces:
Serializable

public class BulkCategoryDetailsRequest extends Object implements Serializable
DTO containing information pertaining to a request to be sent to the CatalogProvider to retrieve multiple categories' details.
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • BulkCategoryDetailsRequest

      public BulkCategoryDetailsRequest()
  • Method Details

    • getRequests

      public List<CategoryDetailsRequest> getRequests()
      List of CategoryDetailsRequests for fetching multiple Categories.
    • getParameters

      public org.springframework.util.MultiValueMap<String,String> getParameters()
      Other parameters to pass along in the request.
      Returns:
      The parameters included in the original request
    • getContextInfo

      public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      The ContextInfo derived from the original request containing tenant and sandbox info.
    • getPriceContext

      public com.broadleafcommerce.pricing.client.domain.context.PriceContext getPriceContext()
      The PriceContext from the original request containing general pricing info.
      Returns:
      PriceContext from the original request
    • getPriceInfoContext

      public com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext getPriceInfoContext()
      The PriceInfoContext from the original request containing info specific for getting PriceInfos such as prefetched PriceLists.
      Returns:
      The PriceInfoContext from the original request
    • setRequests

      public void setRequests(List<CategoryDetailsRequest> requests)
      List of CategoryDetailsRequests for fetching multiple Categories.
    • setParameters

      public void setParameters(org.springframework.util.MultiValueMap<String,String> parameters)
      Other parameters to pass along in the request.
    • setContextInfo

      public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      The ContextInfo derived from the original request containing tenant and sandbox info.
    • setPriceContext

      public void setPriceContext(com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext)
      The PriceContext from the original request containing general pricing info.
    • setPriceInfoContext

      public void setPriceInfoContext(com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext)
      The PriceInfoContext from the original request containing info specific for getting PriceInfos such as prefetched PriceLists.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object