1 /*
2 * Copyright (c) Patrick Magauran 2018.
3 * Licensed under the AGPLv3. All conditions of said license apply.
4 * This file is part of ABOS.
5 *
6 * ABOS is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * ABOS is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU Affero General Public License for more details.
15 *
16 * You should have received a copy of the GNU Affero General Public License
17 * along with ABOS. If not, see <http://www.gnu.org/licenses/>.
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 }