|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AddToBasketOptionsIf
An object used to contain options used when adding items to the basket.
Method Summary | |
---|---|
java.lang.String |
getCatalogId()
The id of the catalog which contains dynamic product information such as the price and quantity |
java.util.Calendar |
getPriceDate()
The date for which a price is requested. |
boolean |
isAllowMultipleEntriesForSameProduct()
Normally when an identical product is added to the basket more than once, rather than creating multiple basket entries we update the existing entry with an updated quantity. |
boolean |
isCalcQuantityForBundles()
When set to true the quantity available for a product is calculated by reading the quantities of the products within the bundle. |
boolean |
isUseExternalPrice()
If true we attempt to fetch the prices from the external table |
boolean |
isUseExternalQuantity()
If true we attempt to fetch the quantities from the external table |
void |
setAllowMultipleEntriesForSameProduct(boolean allowMultipleEntriesForSameProduct)
Normally when an identical product is added to the basket more than once, rather than creating multiple basket entries we update the existing entry with an updated quantity. |
void |
setCalcQuantityForBundles(boolean calcQuantityForBundles)
When set to true the quantity available for a product is calculated by reading the quantities of the products within the bundle. |
void |
setCatalogId(java.lang.String catalogId)
The id of the catalog which contains dynamic product information such as the price and quantity |
void |
setPriceDate(java.util.Calendar priceDate)
The date for which a price is requested. |
void |
setUseExternalPrice(boolean useExternalPrice)
If true we attempt to fetch the prices from the external table |
void |
setUseExternalQuantity(boolean useExternalQuantity)
If true we attempt to fetch the quantities from the external table |
Method Detail |
---|
boolean isAllowMultipleEntriesForSameProduct()
void setAllowMultipleEntriesForSameProduct(boolean allowMultipleEntriesForSameProduct)
allowMultipleEntriesForSameProduct
- The allowMultipleEntriesForSameProduct to set.java.lang.String getCatalogId()
void setCatalogId(java.lang.String catalogId)
catalogId
- the catalogId to setjava.util.Calendar getPriceDate()
void setPriceDate(java.util.Calendar priceDate)
priceDate
- the priceDate to setboolean isUseExternalPrice()
void setUseExternalPrice(boolean useExternalPrice)
useExternalPrice
- the useExternalPrice to setboolean isUseExternalQuantity()
void setUseExternalQuantity(boolean useExternalQuantity)
useExternalQuantity
- the useExternalQuantity to setboolean isCalcQuantityForBundles()
void setCalcQuantityForBundles(boolean calcQuantityForBundles)
calcQuantityForBundles
- the calcQuantityForBundles to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |