com.ibm.commerce.discount.rules
Class FixedPriceItem

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

public class FixedPriceItem
extends java.lang.Object

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
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

FixedPriceItem

public FixedPriceItem()
Constructor for OrderItemFixedPrice.
Method Detail

getFixedPrice

public java.math.BigDecimal getFixedPrice()
Get the fixed price
Returns:
java.math.BigDecimal

getItemId

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

getMaxQuantity

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

setFixedPrice

public void setFixedPrice(java.math.BigDecimal newFixedPrice)
Get the fixed price.

setItemId

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

setMaxQuantity

public void setMaxQuantity(java.lang.Double newMaxQuantity)
Set the maximum quantity
Parameters:
newMaxQuantity - java.lang.Double