Interface CatalogItem
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Product
A reference to a catalog item, typically used as a holder for information communicated from an
external service.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addAdditionalAttribute
(String name, Object value) Takes in any additional attributes passed in the request not matching any defined properties.default Object
getAdditionalAttribute
(String name) Return any additional attributes passed in the request not matching any defined properties.getId()
The ID of the CatalogItem.
-
Method Details
-
getId
String getId()The ID of the CatalogItem.- Returns:
- The ID of the CatalogItem.
-
addAdditionalAttribute
Takes in any additional attributes passed in the request not matching any defined properties.- Parameters:
name
- Name of the additional attributevalue
- Value of the additional attribute
-
getAdditionalAttributes
Return any additional attributes passed in the request not matching any defined properties.- Returns:
- any additional attributes passed in the request not matching any defined properties.
-
getAdditionalAttribute
-