|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BasketIf
One basket object corresponds to an item in the shopping cart.
| 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.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()
|
OptionIf[] |
getOpts()
An array of Option objects that further defines the product. |
ProductIf |
getProduct()
|
int |
getProductId()
|
int |
getQuantity()
|
int |
getQuantityInStock()
|
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 |
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(OptionIf[] opts)
An array of Option objects that further defines the product. |
void |
setProduct(ProductIf product)
|
void |
setProductId(int productId)
|
void |
setQuantity(int quantity)
|
void |
setQuantityInStock(int quantityInStock)
|
| Method Detail |
|---|
java.util.Calendar getDateAdded()
void setDateAdded(java.util.Calendar dateAdded)
dateAdded - The dateAdded to set.java.lang.String getEncodedProduct()
void setEncodedProduct(java.lang.String encodedProduct)
encodedProduct - The encodedProduct to set.int getId()
void setId(int id)
id - The id to set.OptionIf[] getOpts()
void setOpts(OptionIf[] opts)
opts - The opts to set.ProductIf getProduct()
void setProduct(ProductIf product)
product - The product to set.int getProductId()
void setProductId(int productId)
productId - The productId to set.int getQuantity()
void setQuantity(int quantity)
quantity - The quantity to set.java.math.BigDecimal getFinalPriceExTax()
void setFinalPriceExTax(java.math.BigDecimal finalPriceExTax)
finalPriceExTax - The finalPriceExTax to set.java.math.BigDecimal getFinalPriceIncTax()
void setFinalPriceIncTax(java.math.BigDecimal finalPriceIncTax)
finalPriceIncTax - The finalPriceIncTax to set.int getQuantityInStock()
void setQuantityInStock(int quantityInStock)
quantityInStock - The quantityInStock to set.java.lang.String getCustom1()
void setCustom1(java.lang.String custom1)
custom1 - The custom1 to set.java.lang.String getCustom2()
void setCustom2(java.lang.String custom2)
custom2 - The custom2 to set.java.lang.String getCustom3()
void setCustom3(java.lang.String custom3)
custom3 - The custom3 to set.java.lang.String getCustom4()
void setCustom4(java.lang.String custom4)
custom4 - The custom4 to set.java.lang.String getCustom5()
void setCustom5(java.lang.String custom5)
custom5 - The custom5 to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||