|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.aduna.gee.publication.simpleshop.Option
info.aduna.gee.publication.simpleshop.VolumeDiscountOption
public class VolumeDiscountOption
| Field Summary |
|---|
| Fields inherited from class info.aduna.gee.publication.simpleshop.Option |
|---|
_iteratorCount, description, id, selectedValue, values |
| Constructor Summary | |
|---|---|
VolumeDiscountOption(String serialized)
|
|
VolumeDiscountOption(String id,
String description,
WProperties values,
String selectedValue)
|
|
| Method Summary | |
|---|---|
protected void |
_sortValues()
|
double |
getPrice(Product p)
|
char |
getPriceType(Product p)
|
| Methods inherited from class info.aduna.gee.publication.simpleshop.Option |
|---|
_getValue, getFirstValue, getNextValue, hasMoreValues, startIterator, toShortString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VolumeDiscountOption(String id,
String description,
WProperties values,
String selectedValue)
public VolumeDiscountOption(String serialized)
| Method Detail |
|---|
public char getPriceType(Product p)
getPriceType in class Optionpublic double getPrice(Product p)
getPrice in class Optionprotected void _sortValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||