java.lang.Object | +--com.ibm.commerce.discount.rules.FreebieItem
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
Constructor Detail |
---|
public FreebieItem()
Method Detail |
---|
public java.lang.Long getItemId()
public java.lang.Double getQuantity()
public void setItemId(java.lang.Long newItemId)
newItemId
- java.lang.Longpublic void setQuantity(java.lang.Double newQuantity)
newQuantity
- java.lang.Double