Class CatalogItemRequest
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CatalogItemRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<String,Object>
getAdditionalAttributes()
Map holding any additional attributes passed in the request not matching any defined properties.String
getProductId()
The ID of the Product.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.String
getVariantId()
The ID of the Variant, if any.int
hashCode()
void
setAdditionalAttributes(Map<String,Object> additionalAttributes)
Map holding any additional attributes passed in the request not matching any defined properties.void
setProductId(String productId)
The ID of the Product.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.void
setVariantId(String variantId)
The ID of the Variant, if any.String
toString()
-
-
-
Method Detail
-
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.
-
canEqual
protected boolean canEqual(Object other)
-
-