com.konakart.al
Class CartItem
java.lang.Object
com.konakart.al.CartItem
- All Implemented Interfaces:
- java.io.Serializable
public class CartItem
- extends java.lang.Object
- implements java.io.Serializable
Used by EditCartForm to present the cart data in a list on the screen
- See Also:
- Serialized Form
Constructor Summary |
CartItem()
Constructor |
CartItem(int basketItemId,
int prodId,
java.lang.String prodName,
java.lang.String prodImage,
java.math.BigDecimal totalPriceExTax,
java.math.BigDecimal totalPriceIncTax,
int quantity,
int quantityAvailable)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CartItem
public CartItem()
- Constructor
CartItem
public CartItem(int basketItemId,
int prodId,
java.lang.String prodName,
java.lang.String prodImage,
java.math.BigDecimal totalPriceExTax,
java.math.BigDecimal totalPriceIncTax,
int quantity,
int quantityAvailable)
- Constructor
- Parameters:
basketItemId
- prodId
- prodName
- prodImage
- totalPriceExTax
- totalPriceIncTax
- quantity
- quantityAvailable
-
getInStock
public boolean getInStock()
- Returns:
- Returns true if product is in stock
getBasketItemId
public int getBasketItemId()
- Returns:
- Returns the basketItemId.
setBasketItemId
public void setBasketItemId(int basketItemId)
- Parameters:
basketItemId
- The basketItemId to set.
getOptNameArray
public java.lang.String[] getOptNameArray()
- Returns:
- Returns the optNameArray.
setOptNameArray
public void setOptNameArray(java.lang.String[] optNameArray)
- Parameters:
optNameArray
- The optNameArray to set.
getProdId
public int getProdId()
- Returns:
- Returns the prodId.
setProdId
public void setProdId(int prodId)
- Parameters:
prodId
- The prodId to set.
getProdImage
public java.lang.String getProdImage()
- Returns:
- Returns the prodImage.
setProdImage
public void setProdImage(java.lang.String prodImage)
- Parameters:
prodImage
- The prodImage to set.
getProdName
public java.lang.String getProdName()
- Returns:
- Returns the prodName.
setProdName
public void setProdName(java.lang.String prodName)
- Parameters:
prodName
- The prodName to set.
getQuantity
public int getQuantity()
- Returns:
- Returns the quantity.
setQuantity
public void setQuantity(int quantity)
- Parameters:
quantity
- The quantity to set.
getQuantityAvailable
public int getQuantityAvailable()
- Returns:
- Returns the quantityAvailable.
setQuantityAvailable
public void setQuantityAvailable(int quantityAvailable)
- Parameters:
quantityAvailable
- The quantityAvailable to set.
isRemove
public boolean isRemove()
- Returns:
- Returns the remove.
setRemove
public void setRemove(boolean remove)
- Parameters:
remove
- The remove to set.
getTotalPriceExTax
public java.math.BigDecimal getTotalPriceExTax()
- Returns:
- Returns the totalPriceExTax.
setTotalPriceExTax
public void setTotalPriceExTax(java.math.BigDecimal totalPriceExTax)
- Parameters:
totalPriceExTax
- The totalPriceExTax to set.
getTotalPriceIncTax
public java.math.BigDecimal getTotalPriceIncTax()
- Returns:
- Returns the totalPriceIncTax.
setTotalPriceIncTax
public void setTotalPriceIncTax(java.math.BigDecimal totalPriceIncTax)
- Parameters:
totalPriceIncTax
- The totalPriceIncTax to set.
getCustom1
public java.lang.String getCustom1()
- Returns:
- Returns the custom1.
setCustom1
public void setCustom1(java.lang.String custom1)
- Parameters:
custom1
- The custom1 to set.
getCustom2
public java.lang.String getCustom2()
- Returns:
- Returns the custom2.
setCustom2
public void setCustom2(java.lang.String custom2)
- Parameters:
custom2
- The custom2 to set.
getCustom3
public java.lang.String getCustom3()
- Returns:
- Returns the custom3.
setCustom3
public void setCustom3(java.lang.String custom3)
- Parameters:
custom3
- The custom3 to set.
getCustom4
public java.lang.String getCustom4()
- Returns:
- Returns the custom4.
setCustom4
public void setCustom4(java.lang.String custom4)
- Parameters:
custom4
- The custom4 to set.
getCustom5
public java.lang.String getCustom5()
- Returns:
- Returns the custom5.
setCustom5
public void setCustom5(java.lang.String custom5)
- Parameters:
custom5
- The custom5 to set.
getUnitPriceIncTax
public java.math.BigDecimal getUnitPriceIncTax()
- Returns:
- the unitPriceIncTax
setUnitPriceIncTax
public void setUnitPriceIncTax(java.math.BigDecimal unitPriceIncTax)
- Parameters:
unitPriceIncTax
- the unitPriceIncTax to set
getUnitPriceExTax
public java.math.BigDecimal getUnitPriceExTax()
- Returns:
- the unitPriceExTax
setUnitPriceExTax
public void setUnitPriceExTax(java.math.BigDecimal unitPriceExTax)
- Parameters:
unitPriceExTax
- the unitPriceExTax to set
getSpecialPriceIncTax
public java.math.BigDecimal getSpecialPriceIncTax()
- Returns:
- the specialPriceIncTax
setSpecialPriceIncTax
public void setSpecialPriceIncTax(java.math.BigDecimal specialPriceIncTax)
- Parameters:
specialPriceIncTax
- the specialPriceIncTax to set
getSpecialPriceExTax
public java.math.BigDecimal getSpecialPriceExTax()
- Returns:
- the specialPriceExTax
setSpecialPriceExTax
public void setSpecialPriceExTax(java.math.BigDecimal specialPriceExTax)
- Parameters:
specialPriceExTax
- the specialPriceExTax to set
Copyright © 2011 DS Data Systems UK Ltd.