com.ibm.commerce.marketingcenter.externalevent

Class WCSProductInfo

  • java.lang.Object
    • com.ibm.commerce.marketingcenter.externalevent.WCSProductInfo


  • public class WCSProductInfo
    extends java.lang.Object
    This class captures the information related to a product or an item.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
    • Constructor Summary

      Constructors 
      Constructor and Description
      WCSProductInfo(java.lang.Long itemId, java.lang.Long categoryId)
      Constructor for WCSProductInfo.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getCategoryId()
      Returns the category identifier associated with the product or item.
      java.lang.Long getItemId()
      Returns the identifier associated with the product or item.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WCSProductInfo

        public WCSProductInfo(java.lang.Long itemId,
                              java.lang.Long categoryId)
        Constructor for WCSProductInfo.
        Parameters:
        itemId - java.lang.Long The catalogEntryId of this product or item.
        categoryId - java.lang.Long The categoryId for this product or item.
    • Method Detail

      • getCategoryId

        public java.lang.Long getCategoryId()
        Returns the category identifier associated with the product or item. It may return null if the product or item does not belong to any category.
        Returns:
        java.lang.Long
      • getItemId

        public java.lang.Long getItemId()
        Returns the identifier associated with the product or item.
        Returns:
        java.lang.Long