|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.konakart.json.app.J_AddToBasketOptions
public class J_AddToBasketOptions
An object used to contain options used when adding items to the basket.
Constructor Summary | |
---|---|
J_AddToBasketOptions()
|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public J_AddToBasketOptions()
Method Detail |
---|
public boolean isAllowMultipleEntriesForSameProduct()
public void setAllowMultipleEntriesForSameProduct(boolean _allowMultipleEntriesForSameProduct)
_allowMultipleEntriesForSameProduct
- The allowMultipleEntriesForSameProduct to set.public java.lang.String getCatalogId()
public void setCatalogId(java.lang.String _catalogId)
_catalogId
- the catalogId to setpublic java.util.Calendar getPriceDate()
public void setPriceDate(java.util.Calendar _priceDate)
_priceDate
- the priceDate to setpublic boolean isUseExternalPrice()
public void setUseExternalPrice(boolean _useExternalPrice)
_useExternalPrice
- the useExternalPrice to setpublic boolean isUseExternalQuantity()
public void setUseExternalQuantity(boolean _useExternalQuantity)
_useExternalQuantity
- the useExternalQuantity to setpublic boolean isCalcQuantityForBundles()
public 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 |