-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBill.java
More file actions
58 lines (54 loc) · 1.12 KB
/
Bill.java
File metadata and controls
58 lines (54 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import java.util.Date;
public class Bill {
private int billNumber;
private Date date;
private double total;
private double cgst;
private double sgst;
private double finalTotal;
public Bill(int billNumber, Date date, double total, double cgst, double sgst, double finalTotal) {
super();
this.billNumber = billNumber;
this.date = date;
this.total = total;
this.cgst = cgst;
this.sgst = sgst;
this.finalTotal = finalTotal;
}
public int getBillNumber() {
return billNumber;
}
public void setBillNumber(int billNumber) {
this.billNumber = billNumber;
}
public Date getDate() {
return date;
}
public void setDate(Date date) {
this.date = date;
}
public double getTotal() {
return total;
}
public void setTotal(double total) {
this.total = total;
}
public double getCgst() {
return cgst;
}
public void setCgst(double cgst) {
this.cgst = cgst;
}
public double getSgst() {
return sgst;
}
public void setSgst(double sgst) {
this.sgst = sgst;
}
public double getFinalTotal() {
return finalTotal;
}
public void setFinalTotal(double finalTotal) {
this.finalTotal = finalTotal;
}
}