-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCart.java
More file actions
48 lines (37 loc) · 1.04 KB
/
Copy pathCart.java
File metadata and controls
48 lines (37 loc) · 1.04 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
package com.app.yourrestaurantapp.models;
public class Cart {
private String MenuId;
private String MenuName;
private String MenuQuantity;
private String MenuPrice;
public Cart(String menuId, String menuName, String menuQuantity, String menuPrice) {
MenuId = menuId;
MenuName = menuName;
MenuQuantity = menuQuantity;
MenuPrice = menuPrice;
}
public String getMenuId() {
return MenuId;
}
public void setMenuId(String menuId) {
MenuId = menuId;
}
public String getMenuName() {
return MenuName;
}
public void setMenuName(String menuName) {
MenuName = menuName;
}
public String getMenuQuantity() {
return MenuQuantity;
}
public void setMenuQuantity(String menuQuantity) {
MenuQuantity = menuQuantity;
}
public String getMenuPrice() {
return MenuPrice;
}
public void setMenuPrice(String menuPrice) {
MenuPrice = menuPrice;
}
}