-
Notifications
You must be signed in to change notification settings - Fork 1
/
AddPayment.java
80 lines (62 loc) · 2.23 KB
/
AddPayment.java
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package projectxsqlclasses;
import javafx.beans.property.SimpleStringProperty;
/**
* Query: Add payment to the previous query
* @author reshma
*/
public class AddPayment {
public static class Payment {
private final SimpleStringProperty Customer_id;
private final SimpleStringProperty Movie_id;
private final SimpleStringProperty Movie_type;
private final SimpleStringProperty sub_id;
private final SimpleStringProperty Payment_id;
private final SimpleStringProperty Payment_method;
private final SimpleStringProperty Payment_date;
private final SimpleStringProperty type;
private final SimpleStringProperty price;
public Payment (String inputID, String mID, String mType, String sID, String pID, String pMethod, String pDate, String mType, String inputPrice) {
this. Customer_id = inputID;
this. Movie_id = mID;
this.Movie_type = mType
this.sub_id = sID;
this.Payment_id = pID;
this.Payment_method = pMethod;
this.Payment_date = pDate;
this.type = mType;
this.price = inputPrice;
}
public SimpleStringProperty getCustomer_id() {
return Customer_id;
}
public SimpleStringProperty getMovie_id() {
return Movie_id;
}
public SimpleStringProperty getMovie_type() {
return Movie_type;
}
public SimpleStringProperty getSub_id() {
return sub_id;
}
public SimpleStringProperty getPayment_id() {
return Payment_id;
}
public SimpleStringProperty getPayment_method() {
return Payment_method;
}
public SimpleStringProperty getPayment_date() {
return Payment_date;
}
public SimpleStringProperty getType() {
return type;
}
public SimpleStringProperty getPrice() {
return price;
}
}
}