|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.app.AddToBasketOptions
public class AddToBasketOptions
An object used to contain options used when adding items to the basket.
| Constructor Summary | |
|---|---|
AddToBasketOptions()
Constructor |
|
| 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 |
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 |
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 AddToBasketOptions()
| Method Detail |
|---|
public boolean isAllowMultipleEntriesForSameProduct()
AddToBasketOptionsIf
isAllowMultipleEntriesForSameProduct in interface AddToBasketOptionsIfpublic void setAllowMultipleEntriesForSameProduct(boolean allowMultipleEntriesForSameProduct)
AddToBasketOptionsIf
setAllowMultipleEntriesForSameProduct in interface AddToBasketOptionsIfallowMultipleEntriesForSameProduct - The allowMultipleEntriesForSameProduct to set.public java.lang.String getCatalogId()
AddToBasketOptionsIf
getCatalogId in interface AddToBasketOptionsIfpublic void setCatalogId(java.lang.String catalogId)
AddToBasketOptionsIf
setCatalogId in interface AddToBasketOptionsIfcatalogId - the catalogId to setpublic java.util.Calendar getPriceDate()
AddToBasketOptionsIf
getPriceDate in interface AddToBasketOptionsIfpublic void setPriceDate(java.util.Calendar priceDate)
AddToBasketOptionsIf
setPriceDate in interface AddToBasketOptionsIfpriceDate - the priceDate to setpublic boolean isUseExternalPrice()
AddToBasketOptionsIf
isUseExternalPrice in interface AddToBasketOptionsIfpublic void setUseExternalPrice(boolean useExternalPrice)
AddToBasketOptionsIf
setUseExternalPrice in interface AddToBasketOptionsIfuseExternalPrice - the useExternalPrice to setpublic boolean isUseExternalQuantity()
AddToBasketOptionsIf
isUseExternalQuantity in interface AddToBasketOptionsIfpublic void setUseExternalQuantity(boolean useExternalQuantity)
AddToBasketOptionsIf
setUseExternalQuantity in interface AddToBasketOptionsIfuseExternalQuantity - the useExternalQuantity to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||