Interface CatalogItem

All Superinterfaces:
Serializable
All Known Implementing Classes:
Product

public interface CatalogItem extends Serializable
A reference to a catalog item, typically used as a holder for information communicated from an external service.
  • Method Details

    • getId

      String getId()
      The ID of the CatalogItem.
      Returns:
      The ID of the CatalogItem.
    • addAdditionalAttribute

      default void addAdditionalAttribute(String name, Object value)
      Takes in any additional attributes passed in the request not matching any defined properties.
      Parameters:
      name - Name of the additional attribute
      value - Value of the additional attribute
    • getAdditionalAttributes

      Map<String,Object> 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

      default Object getAdditionalAttribute(String name)