com.ibm.commerce.marketing.promotion.choice.gift

Interface GiftItem

  • All Superinterfaces:
    java.io.Serializable, XMLizable
    All Known Implementing Classes:
    CatalogEntryGiftItem


    public interface GiftItem
    extends XMLizable
    This is the interface of a gift item object. The object will contains the gift item key as well the quantity information.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String ATTRIBUTE_NAME_IMPL
      XML attribute name - impl
      static java.lang.String COPYRIGHT
      IBM Copyright notice field.
      static java.lang.String TAG_GIFT_ITEM
      XML tag - GiftItem
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      Key getKey()
      Gets key object of the gift item.
      java.lang.Integer getQuantity()
      Gets the quantity associated with the gift item.
      void setKey(Key aKey)
      Sets the gift item key.
      void setQuantity(java.lang.Integer aQuantity)
      Sets the quantity associated with this gift item.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • TAG_GIFT_ITEM

        static final java.lang.String TAG_GIFT_ITEM
        XML tag - GiftItem
        See Also:
        Constant Field Values
      • ATTRIBUTE_NAME_IMPL

        static final java.lang.String ATTRIBUTE_NAME_IMPL
        XML attribute name - impl
        See Also:
        Constant Field Values
    • Method Detail

      • getQuantity

        java.lang.Integer getQuantity()
        Gets the quantity associated with the gift item.
        Returns:
        The quantity associated with the gift item.
      • setQuantity

        void setQuantity(java.lang.Integer aQuantity)
        Sets the quantity associated with this gift item.
        Parameters:
        aQuantity - The quantity to set.
      • getKey

        Key getKey()
        Gets key object of the gift item.
        Returns:
        The gift item key object.
      • setKey

        void setKey(Key aKey)
        Sets the gift item key.
        Parameters:
        aKey - The key object to set.