org.geebis.books.model.partner.pricelevel
Class PerProductPriceLevel
java.lang.Object
org.geebis.books.model.partner.pricelevel.PriceLevel
org.geebis.books.model.partner.pricelevel.PerProductPriceLevel
- All Implemented Interfaces:
- java.io.Serializable
@Name(value="perProductPriceLevel")
public class PerProductPriceLevel
- extends PriceLevel
- implements java.io.Serializable
The PerProductPriceLevel class represents a customer price level for which the user
defines the prices for products individually.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerProductPriceLevel
public PerProductPriceLevel()
PerProductPriceLevel
public PerProductPriceLevel(java.lang.String name)
getLines
public java.util.List<PerProductPriceLevelLine> getLines()
- Gets the lines for this price level
- Returns:
- the lines for this price level
setLines
public void setLines(java.util.List<PerProductPriceLevelLine> lines)
- Sets the lines for this price level
- Parameters:
lines - the new lines for this price level
calculateRetailItemPrice
public double calculateRetailItemPrice(RetailItem retailItem)
- Description copied from class:
PriceLevel
- Calculates the price of a retail item at this price level
- Specified by:
calculateRetailItemPrice in class PriceLevel
- Parameters:
retailItem - the retail item to calculate the price of
- Returns:
- the price of the retail item