-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathOffers.java
More file actions
55 lines (44 loc) · 1.03 KB
/
Copy pathOffers.java
File metadata and controls
55 lines (44 loc) · 1.03 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
public class Offers {
String id;
String start;
String finish;
float cost;
String destination;
public Offers(String id, String start, String finish, float cost, String destination) {
this.id = id;
this.start = start;
this.finish = finish;
this.cost = cost;
this.destination = destination;
}
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getStart() {
return start;
}
public void setStart(String start) {
this.start = start;
}
public String getFinish() {
return finish;
}
public void setFinish(String finish) {
this.finish = finish;
}
public float getCost() {
return cost;
}
public void setCost(float cost) {
this.cost = cost;
}
public String getDestination() {
return destination;
}
public void setDestination(String destination) {
this.destination = destination;
}
}