All Packages Class Hierarchy This Package Previous Next Index
Class semper.BApp.bargainer.messages.Item
java.lang.Object
|
+----semper.BApp.bargainer.messages.Item
- public class Item
- extends Object
- implements Serializable
-
Item()
- Constructs a new Item object.
-
Item(String, String, Integer, Float, Float)
- Constructs a new Item object.
-
getCode()
- Returns the item's code.
-
getDescription()
- Returns the item's description.
-
getDifferencesFrom(Item, String)
-
-
getNetPrice()
- Returns the item's net price.
-
getQuantity()
- Returns the item's quantity.
-
getSubTotal()
- Returns the subtotal of the item.
-
getVat()
- Returns the item's vat.
-
setCode(String)
- Sets the item's code.
-
setDescription(String)
- Sets the item's description.
-
setNetPrice(Float)
- Sets the item's net price.
-
setQuantity(Integer)
- Sets the item's quantity.
-
setVat(Float)
- Sets the item's vat.
Item
public Item(String code,
String description,
Integer quantity,
Float netPrice,
Float vat)
- Constructs a new Item object.
- Parameters:
- code - this item's code
- description - this item's description
- quantity - this item's quantity
- netPrice - this item's net price
- vat - this item's vat
Item
public Item()
- Constructs a new Item object.
setCode
public void setCode(String code)
- Sets the item's code.
- Parameters:
- code - the item's code
getCode
public String getCode()
- Returns the item's code.
setDescription
public void setDescription(String description)
- Sets the item's description.
- Parameters:
- description - the item's description
getDescription
public String getDescription()
- Returns the item's description.
setQuantity
public void setQuantity(Integer quantity)
- Sets the item's quantity.
- Parameters:
- quantity - the item's quantity
getQuantity
public Integer getQuantity()
- Returns the item's quantity.
setNetPrice
public void setNetPrice(Float netPrice)
- Sets the item's net price.
- Parameters:
- netPrice - the item's net price
getNetPrice
public Float getNetPrice()
- Returns the item's net price.
setVat
public void setVat(Float vat)
- Sets the item's vat.
- Parameters:
- vat - the item's vat
getVat
public Float getVat()
- Returns the item's vat.
getSubTotal
public Float getSubTotal()
- Returns the subtotal of the item.
getDifferencesFrom
public String getDifferencesFrom(Item old,
String code)
All Packages Class Hierarchy This Package Previous Next Index