com.ibm.commerce.discount.rules
Class FreebieItem

java.lang.Object
  |
  +--com.ibm.commerce.discount.rules.FreebieItem

public class FreebieItem
extends java.lang.Object

This class represents the freebie item.


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
 
Constructor Summary
FreebieItem()
          Constructor for FreebieItem.
 
Method Summary
 java.lang.Long getItemId()
          Get the item ID.
 java.lang.Double getQuantity()
          Get the quantity
 void setItemId(java.lang.Long newItemId)
          Set the item ID.
 void setQuantity(java.lang.Double newQuantity)
          Set the quantity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

FreebieItem

public FreebieItem()
Constructor for FreebieItem.
Method Detail

getItemId

public java.lang.Long getItemId()
Get the item ID.
Returns:
java.lang.Long

getQuantity

public java.lang.Double getQuantity()
Get the quantity
Returns:
java.lang.Double

setItemId

public void setItemId(java.lang.Long newItemId)
Set the item ID.
Parameters:
newItemId - java.lang.Long

setQuantity

public void setQuantity(java.lang.Double newQuantity)
Set the quantity.
Parameters:
newQuantity - java.lang.Double