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
static java.lang.String COPYRIGHT
           
 
Constructor Summary
WCSProductInfo(java.lang.Long itemId, java.lang.Long categoryId)
          Constructor for WCSProductInfo.
 
Method Summary
 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
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