Class CatalogItemRequest
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.domain.catalog.CatalogItemRequest
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Map holding any additional attributes passed in the request not matching any defined properties.The ID of the Product.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.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
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.toString()
-
Constructor Details
-
CatalogItemRequest
public CatalogItemRequest()
-
-
Method Details
-
getProductId
The ID of the Product. -
getVariantId
The ID of the Variant, if any. -
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
Map holding any additional attributes passed in the request not matching any defined properties. -
setProductId
The ID of the Product. -
setVariantId
The ID of the Variant, if any. -
setSku
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
Map holding any additional attributes passed in the request not matching any defined properties. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-