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 booleancanEqual(Object other)booleanequals(Object o)Map<String,Object>getAdditionalAttributes()Map holding any additional attributes passed in the request not matching any defined properties.StringgetProductId()The ID of the Product.StringgetSku()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.StringgetVariantId()The ID of the Variant, if any.inthashCode()voidsetAdditionalAttributes(Map<String,Object> additionalAttributes)Map holding any additional attributes passed in the request not matching any defined properties.voidsetProductId(String productId)The ID of the Product.voidsetSku(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.voidsetVariantId(String variantId)The ID of the Variant, if any.StringtoString()
-
-
-
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)
-
-