java.lang.Object | +--com.ibm.commerce.discount.rules.FixedPriceItem
This class represents an order item with fixed price.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Constructor Summary | |
---|---|
FixedPriceItem() Constructor for OrderItemFixedPrice. |
Method Summary | |
---|---|
java.math.BigDecimal |
getFixedPrice() Get the fixed price |
java.lang.Long |
getItemId() Get the ID of the item |
java.lang.Double |
getMaxQuantity() Get the maximun quantity |
void |
setFixedPrice(java.math.BigDecimal newFixedPrice) Get the fixed price. |
void |
setItemId(java.lang.Long newItemId) Set the ID of item |
void |
setMaxQuantity(java.lang.Double newMaxQuantity) Set the maximum 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 FixedPriceItem()
Method Detail |
---|
public java.math.BigDecimal getFixedPrice()
public java.lang.Long getItemId()
public java.lang.Double getMaxQuantity()
public void setFixedPrice(java.math.BigDecimal newFixedPrice)
public void setItemId(java.lang.Long newItemId)
newItemId
- java.lang.Longpublic void setMaxQuantity(java.lang.Double newMaxQuantity)
newMaxQuantity
- java.lang.Double