fr.paris.lutece.plugins.stock.business.order
Class Item

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.business.order.Item

@Entity
public class Item
extends java.lang.Object

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

Item

public Item()
Method Detail

getIdItem

public int getIdItem()
Return the item id

Returns:
the item id

setIdItem

public void setIdItem(int nIdItem)
Set the item id

Parameters:
nIdItem - the item id

getBasket

public Basket getBasket()
Get the basket where the item is set

Returns:
basket

setBasket

public void setBasket(Basket basket)
Set the basket linked to the item

Parameters:
basket - the basket

getQuantity

public int getQuantity()
Get the quantity ordered

Returns:
the quantity ordered

setQuantity

public void setQuantity(int quantity)
Set the quantity ordered

Parameters:
quantity - the quantity ordered

getSummary

public java.lang.String getSummary()
Get the summary of the product ordered

Returns:
the summary

setSummary

public void setSummary(java.lang.String summary)
Set the summary

Parameters:
summary - the summary

getPrice

public float getPrice()
Return the total price for product ordered in this item

Returns:
the price

setPrice

public void setPrice(float price)
Set the price

Parameters:
price - the price

getIdProduct

public int getIdProduct()
Return the product id

Returns:
the product id

setIdProduct

public void setIdProduct(int nIdProduct)
Set the product id

Parameters:
nIdProduct - the new id of the product


Copyright © 2011 Mairie de Paris. All Rights Reserved.