/Users/johnr/Desktop/IA pdf Downloads/Criteria__P__-_Coding_Project_Upload_all_2022-05-03/SPVCPortal_Panpan/src/main/java/com/mycompany/spvcportal/Order.java
 1 /*
 2  * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 3  * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 4  */
 5 package com.mycompany.spvcportal;
 6 
 7 /**
 8  *
 9  * @author 18916
10  */
11 public class Order {
12     
13     private int orderID = 10000;
14     private String buyerName = "not set yet";
15     private String date = "not set yet";
16     private String orderChannel = "not set yet";
17     private String address = "not set yet";
18     private String productName = "not set yet";
19     private double quantityOfProduct = 0;
20     private double pricePerUnit = 0;
21     
22     public Order(){
23         
24     }
25     
26     public Order(int orderID, String buyerName, String date, String orderChannel, String address, String productName, double quantityOfProduct, double pricePerUnit) {
27         this.orderID = orderID;
28         this.buyerName = buyerName;
29         this.date = date;
30         this.orderChannel = orderChannel;
31         this.address = address;
32         this.productName = productName;
33         this.quantityOfProduct = quantityOfProduct;
34         this.pricePerUnit = pricePerUnit;
35     }
36     
37     public int getOrderID () {
38         return orderID;
39     }
40     
41     public String getBuyerName () {
42         return buyerName;
43     }
44     
45     public String getDate () {
46         return date;
47     }
48     
49     public String getOrderChannel () {
50         return orderChannel;
51     }
52     
53     public String getAddress () {
54         return address;
55     }
56     
57     public String getProductName () {
58         return productName;
59     }
60     
61     public double getQuantityOfProduct () {
62         return quantityOfProduct;
63     }
64     
65     public double getPricePerUnit () {
66         return pricePerUnit;
67     }
68     
69 }
70