summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java')
-rw-r--r--sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java54
1 files changed, 49 insertions, 5 deletions
diff --git a/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java b/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java
index 8f264c7f1d..aac90c7bd5 100644
--- a/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java
+++ b/sandbox/travelsample/common-contribution/src/scatours/common/TripItem.java
@@ -27,22 +27,34 @@ public class TripItem {
private String name;
private String description;
private String location;
+ private String fromDate;
+ private String toDate;
+ private double price;
+ private String currency;
private String link;
public TripItem() {
}
public TripItem(String id,
- String type,
- String name,
- String description,
- String location,
- String link) {
+ String type,
+ String name,
+ String description,
+ String location,
+ String fromDate,
+ String toDate,
+ double price,
+ String currency,
+ String link) {
this.id = id;
this.type = type;
this.name = name;
this.description = description;
this.location = location;
+ this.fromDate = fromDate;
+ this.toDate = toDate;
+ this.price = price;
+ this.currency = currency;
this.link = link;
}
@@ -86,6 +98,38 @@ public class TripItem {
this.location = location;
}
+ public String getFromDate() {
+ return fromDate;
+ }
+
+ public void setFromDate(String fromDate) {
+ this.fromDate = fromDate;
+ }
+
+ public String getToDate() {
+ return toDate;
+ }
+
+ public void setToDate(String toDate) {
+ this.toDate = toDate;
+ }
+
+ public double getPrice() {
+ return price;
+ }
+
+ public void setPrice(double price) {
+ this.price = price;
+ }
+
+ public String getCurrency() {
+ return currency;
+ }
+
+ public void setCurrency(String currency) {
+ this.currency = currency;
+ }
+
public String getLink() {
return link;
}