File tree Expand file tree Collapse file tree 3 files changed +28
-0
lines changed
Expand file tree Collapse file tree 3 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 11/**
22 * @author Borja
3+ * @author María
34 * @version 0.2
45 * @see Order
56 */
Original file line number Diff line number Diff line change 1+ /**
2+ * @author María
3+ * @version 0.2
4+ */
5+
16package coreapi ;
27
38import java .math .BigDecimal ;
Original file line number Diff line number Diff line change 1+ /**
2+ * @author Fran
3+ * @version 0.2
4+ */
5+
16package coreapi ;
27
38import java .math .BigDecimal ;
49
510public interface Product {
611
12+ /**
13+ * Returns the unique id assigned by the product catalog to this specific catalog.
14+ * @return returns the id of this product.
15+ * @see ProductCatalog
16+ */
717 public int getId ();
18+
19+ /**
20+ * Returns the price of this product as a <code>BigDecimal</code> to avoid precision loss.
21+ * @return returns the price of this product.
22+ * @see BigDecimal
23+ */
824 public BigDecimal getPrice ();
25+
26+ /**
27+ * Returns the name assigned by the product catalog to this specific catalog.
28+ * @return returns the name of this product.
29+ * @see ProductCatalog
30+ */
931 public String getName ();
1032
1133}
You can’t perform that action at this time.
0 commit comments