|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object data.BasketEntryValues
public final class BasketEntryValues
A collection of convenience BasketEntryValues
.
Field Summary | |
---|---|
static BasketEntryValue |
COUNT_ITEMS
A BasketEntryValue that returns 1 for each entry. |
static BasketEntryValue |
ONLY_CATALOG_ITEMS
A BasketEntryValue returning the value of a DataBasketEntry under the assumption that this describes a CatalogItem movement. |
static BasketEntryValue |
ONLY_STOCK_ITEMS
A BasketEntryValue returning the value of a DataBasketEntry under the assumption that this describes a StockItem movement. |
Constructor Summary | |
---|---|
BasketEntryValues()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BasketEntryValue ONLY_STOCK_ITEMS
To obtain the associated CatalogItem, the BasketEntryValue first tries to use the DataBasketEntries
destination and only if this is null
it will try its source. If both are null
or if an exception occurs, the BasketEntryValue will return 0.
public static final BasketEntryValue ONLY_CATALOG_ITEMS
CatalogItem.getValue()
method.
public static final BasketEntryValue COUNT_ITEMS
Constructor Detail |
---|
public BasketEntryValues()
|
SalesPoint v3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |