Browse Source

Added: Javadoc for Item class

feature-pr/shop
Maxim Volkov 3 years ago
parent
commit
b48c04fc39
  1. 12
      projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Item.java

12
projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Item.java

@ -62,14 +62,26 @@ public class Item {
this.price = newPrice;
}
/**
*
* @return Current Price of the Item.
*/
public float getCurrentPrice() {
return price;
}
/**
*
* @return Current public Title of this Item.
*/
public String getTitel() {
return this.productTitle;
}
/**
*
* @return Current public Description of this Item.
*/
public String getDescription() {
return this.description;
}

Loading…
Cancel
Save