|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.stock.business.order.Item
@Entity public class Item
Item
| Constructor Summary | |
|---|---|
Item()
|
|
| Method Summary | |
|---|---|
Basket |
getBasket()
Get the basket where the item is set |
int |
getIdItem()
Return the item id |
int |
getIdProduct()
Return the product id |
float |
getPrice()
Return the total price for product ordered in this item |
int |
getQuantity()
Get the quantity ordered |
java.lang.String |
getSummary()
Get the summary of the product ordered |
void |
setBasket(Basket basket)
Set the basket linked to the item |
void |
setIdItem(int nIdItem)
Set the item id |
void |
setIdProduct(int nIdProduct)
Set the product id |
void |
setPrice(float price)
Set the price |
void |
setQuantity(int quantity)
Set the quantity ordered |
void |
setSummary(java.lang.String summary)
Set the summary |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Item()
| Method Detail |
|---|
public int getIdItem()
public void setIdItem(int nIdItem)
nIdItem - the item idpublic Basket getBasket()
public void setBasket(Basket basket)
basket - the basketpublic int getQuantity()
public void setQuantity(int quantity)
quantity - the quantity orderedpublic java.lang.String getSummary()
public void setSummary(java.lang.String summary)
summary - the summarypublic float getPrice()
public void setPrice(float price)
price - the pricepublic int getIdProduct()
public void setIdProduct(int nIdProduct)
nIdProduct - the new id of the product
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||