public class FixedPriceItem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
FixedPriceItem()
Constructor for an order item with fixed price.
|
Modifier and Type | Method and Description |
---|---|
java.math.BigDecimal |
getFixedPrice()
Get the fixed price.
|
java.lang.Long |
getItemId()
Get the ID of the item.
|
java.lang.Double |
getMaxQuantity()
Get the maximum quantity.
|
void |
setFixedPrice(java.math.BigDecimal newFixedPrice)
Set the fixed price of the item.
|
void |
setItemId(java.lang.Long newItemId)
Set the ID of item.
|
void |
setMaxQuantity(java.lang.Double newMaxQuantity)
Set the maximum quantity.
|
public static final java.lang.String COPYRIGHT
public FixedPriceItem()
public java.math.BigDecimal getFixedPrice()
public java.lang.Long getItemId()
public java.lang.Double getMaxQuantity()
public void setFixedPrice(java.math.BigDecimal newFixedPrice)
newFixedPrice
- The price to set of the item.public void setItemId(java.lang.Long newItemId)
newItemId
- The ID of the item to set.public void setMaxQuantity(java.lang.Double newMaxQuantity)
newMaxQuantity
- The maximum quantity of the item to set.