|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.json.app.J_Basket
public class J_Basket
One basket object corresponds to an item in the shopping cart.
| Constructor Summary | |
|---|---|
J_Basket()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCustom1()
|
java.lang.String |
getCustom2()
|
java.lang.String |
getCustom3()
|
java.lang.String |
getCustom4()
|
java.lang.String |
getCustom5()
|
java.util.Calendar |
getDateAdded()
|
java.util.Calendar |
getDateAvailable()
The date when the product will become available |
java.lang.String |
getEncodedProduct()
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id. |
java.math.BigDecimal |
getFinalPriceExTax()
This is the price without including tax. |
java.math.BigDecimal |
getFinalPriceIncTax()
This is the price including tax. |
int |
getId()
|
J_Option[] |
getOpts()
An array of Option objects that further defines the product. |
J_Product |
getProduct()
|
int |
getProductId()
|
int |
getQuantity()
|
int |
getQuantityInStock()
|
java.lang.String |
getSku()
The SKU of the product |
int |
getWishListId()
Set to the id of the wish list (gift registry) to keep track that it has been added from a gift registry. |
int |
getWishListItemId()
Set to the id of the wish list item (gift registry item) to keep track that it has been added from a gift registry and which item it corresponds to. |
boolean |
isUseBasketPrice()
When set, the price of the basket object is used rather than getting the price from the product object. |
void |
setCustom1(java.lang.String _custom1)
|
void |
setCustom2(java.lang.String _custom2)
|
void |
setCustom3(java.lang.String _custom3)
|
void |
setCustom4(java.lang.String _custom4)
|
void |
setCustom5(java.lang.String _custom5)
|
void |
setDateAdded(java.util.Calendar _dateAdded)
|
void |
setDateAvailable(java.util.Calendar _dateAvailable)
The date when the product will become available |
void |
setEncodedProduct(java.lang.String _encodedProduct)
The encodedProduct is in the form 1{3}5{4}1 where the first number is the product id. |
void |
setFinalPriceExTax(java.math.BigDecimal _finalPriceExTax)
This is the price without including tax. |
void |
setFinalPriceIncTax(java.math.BigDecimal _finalPriceIncTax)
This is the price including tax. |
void |
setId(int _id)
|
void |
setOpts(J_Option[] _opts)
An array of Option objects that further defines the product. |
void |
setProduct(J_Product _product)
|
void |
setProductId(int _productId)
|
void |
setQuantity(int _quantity)
|
void |
setQuantityInStock(int _quantityInStock)
|
void |
setSku(java.lang.String _sku)
The SKU of the product |
void |
setUseBasketPrice(boolean _useBasketPrice)
When set, the price of the basket object is used rather than getting the price from the product object. |
void |
setWishListId(int _wishListId)
Set to the id of the wish list (gift registry) to keep track that it has been added from a gift registry. |
void |
setWishListItemId(int _wishListItemId)
Set to the id of the wish list item (gift registry item) to keep track that it has been added from a gift registry and which item it corresponds to. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public J_Basket()
| Method Detail |
|---|
public java.util.Calendar getDateAdded()
public void setDateAdded(java.util.Calendar _dateAdded)
_dateAdded - The dateAdded to set.public java.lang.String getEncodedProduct()
public void setEncodedProduct(java.lang.String _encodedProduct)
_encodedProduct - The encodedProduct to set.public int getId()
public void setId(int _id)
_id - The id to set.public J_Option[] getOpts()
public void setOpts(J_Option[] _opts)
_opts - The opts to set.public J_Product getProduct()
public void setProduct(J_Product _product)
_product - The product to set.public int getProductId()
public void setProductId(int _productId)
_productId - The productId to set.public int getQuantity()
public void setQuantity(int _quantity)
_quantity - The quantity to set.public java.math.BigDecimal getFinalPriceExTax()
public void setFinalPriceExTax(java.math.BigDecimal _finalPriceExTax)
_finalPriceExTax - The finalPriceExTax to set.public java.math.BigDecimal getFinalPriceIncTax()
public void setFinalPriceIncTax(java.math.BigDecimal _finalPriceIncTax)
_finalPriceIncTax - The finalPriceIncTax to set.public int getQuantityInStock()
public void setQuantityInStock(int _quantityInStock)
_quantityInStock - The quantityInStock to set.public java.util.Calendar getDateAvailable()
public void setDateAvailable(java.util.Calendar _dateAvailable)
_dateAvailable - the dateAvailable to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String _custom1)
_custom1 - The custom1 to set.public java.lang.String getCustom2()
public void setCustom2(java.lang.String _custom2)
_custom2 - The custom2 to set.public java.lang.String getCustom3()
public void setCustom3(java.lang.String _custom3)
_custom3 - The custom3 to set.public java.lang.String getCustom4()
public void setCustom4(java.lang.String _custom4)
_custom4 - The custom4 to set.public java.lang.String getCustom5()
public void setCustom5(java.lang.String _custom5)
_custom5 - The custom5 to set.public java.lang.String getSku()
public void setSku(java.lang.String _sku)
_sku - the sku to setpublic int getWishListId()
public void setWishListId(int _wishListId)
_wishListId - the wishListId to setpublic int getWishListItemId()
public void setWishListItemId(int _wishListItemId)
_wishListItemId - the wishListItemId to setpublic boolean isUseBasketPrice()
public void setUseBasketPrice(boolean _useBasketPrice)
_useBasketPrice - the useBasketPrice to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||