java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.domain.catalog.CatalogItemRequest
All Implemented Interfaces:
Serializable

public class CatalogItemRequest extends Object implements Serializable
A request DTO to fetch a catalog item, typically used as a holder for information required to determine the item within the catalog.
Author:
Marie Standeven (mariestandeven)
See Also:
  • Constructor Details

    • CatalogItemRequest

      public CatalogItemRequest()
  • Method Details

    • getProductId

      public String getProductId()
      The ID of the Product.
    • getVariantId

      public String getVariantId()
      The ID of the Variant, if any.
    • getSku

      public String getSku()
      This Stock Keeping Unit uniquely identifies this item in the catalog when it is sold and is used for other contexts like inventory and pricing.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Map holding any additional attributes passed in the request not matching any defined properties.
    • setProductId

      public void setProductId(String productId)
      The ID of the Product.
    • setVariantId

      public void setVariantId(String variantId)
      The ID of the Variant, if any.
    • setSku

      public void setSku(String sku)
      This Stock Keeping Unit uniquely identifies this item in the catalog when it is sold and is used for other contexts like inventory and pricing.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Map holding any additional attributes passed in the request not matching any defined properties.
    • 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