|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geebis.books.model.item.Item
org.geebis.books.model.item.retail.RetailItem
@Name(value="retailItem") public class RetailItem
The RetailItem class represents an retail item that can have cost associated with it.
Product,
Service,
Serialized Form| Constructor Summary | |
|---|---|
protected |
RetailItem()
|
protected |
RetailItem(java.lang.String name)
|
| Method Summary | |
|---|---|
java.lang.Double |
getAverageCost()
Gets the averageCost of this product |
java.lang.Double |
getRetail()
Gets the retail of this item. |
java.lang.Boolean |
getTrackable()
Gets whether this item is trackable. |
void |
setAverageCost(java.lang.Double averageCost)
Sets the averageCost of this product |
void |
setRetail(java.lang.Double retail)
Sets the retail of this item. |
void |
setTrackable(java.lang.Boolean trackable)
Sets the trackability of the item |
| Methods inherited from class org.geebis.books.model.item.Item |
|---|
getDescription, getId, getName, getSalesAccount, getVersion, setDescription, setId, setName, setSalesAccount, setVersion |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected RetailItem()
protected RetailItem(java.lang.String name)
| Method Detail |
|---|
public java.lang.Boolean getTrackable()
public void setTrackable(java.lang.Boolean trackable)
trackable - the new trackables value for this itempublic java.lang.Double getAverageCost()
public void setAverageCost(java.lang.Double averageCost)
averageCost - the new averageCost for this productpublic java.lang.Double getRetail()
public void setRetail(java.lang.Double retail)
retail - the new retail for this item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||