|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geebis.books.model.partner.pricelevel.PriceLevel
@Name(value="priceLevel") public abstract class PriceLevel
The PriceLevel class represents a customer price level that can be used to give different customers
different prices
| Constructor Summary | |
|---|---|
protected |
PriceLevel()
|
protected |
PriceLevel(java.lang.String name)
|
| Method Summary | |
|---|---|
abstract double |
calculateRetailItemPrice(RetailItem retailItem)
Calculates the price of a retail item at this price level |
java.lang.Long |
getId()
|
java.lang.String |
getName()
The name of the customer price level |
java.lang.Integer |
getVersion()
|
void |
setId(java.lang.Long id)
|
void |
setName(java.lang.String name)
Sets the name of the price level |
void |
setVersion(java.lang.Integer version)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PriceLevel()
protected PriceLevel(java.lang.String name)
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the new name for the price levelpublic java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public abstract double calculateRetailItemPrice(RetailItem retailItem)
retailItem - the retail item to calculate the price of
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||