1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package Utilities;
21
22 import java.math.BigDecimal;
23
24 public class formattedProduct {
25 public final int productKey;
26
27 public final String productID;
28 public final String productName;
29 public final String productSize;
30 public final BigDecimal productUnitPrice;
31 public final String productCategory;
32 public final int orderedQuantity;
33 public final BigDecimal extendedCost;
34
35 public formattedProduct(int productKey, String productID, String productName, String productSize, BigDecimal productUnitPrice, String productCategory, int orderedQuantity, BigDecimal extendedCost) {
36 this.productKey = productKey;
37 this.productID = productID;
38 this.productName = productName;
39 this.productSize = productSize;
40 this.productUnitPrice = productUnitPrice;
41 this.productCategory = productCategory;
42 this.orderedQuantity = orderedQuantity;
43 this.extendedCost = extendedCost;
44 }
45 }