Subversion Repositories SmartDukaan

Rev

Rev 9297 | Rev 9324 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9297 Rev 9312
Line 22... Line 22...
22
	private String url;
22
	private String url;
23
	private List<String> keySpecs;
23
	private List<String> keySpecs;
24
	private List<SpecificationGroup> detailedSpecs;
24
	private List<SpecificationGroup> detailedSpecs;
25
	private List<ExpertReviewPojo> expertReviews;
25
	private List<ExpertReviewPojo> expertReviews;
26
	private String warranty;
26
	private String warranty;
27
	private Double minEmi;
27
	private String pinCode;
28
 
28
 
29
	//To be set at runtime
29
	//To be set at runtime
30
	private List<ProductPojo> reocmmendedAccessories;
30
	private List<ProductPojo> reocmmendedAccessories;
31
	public String getDefaultImageUrl() {
31
	public String getDefaultImageUrl() {
32
		return defaultImageUrl;
32
		return defaultImageUrl;
Line 49... Line 49...
49
	private String thumbnailImageUrl;
49
	private String thumbnailImageUrl;
50
	private List<MediaPojo> images;
50
	private List<MediaPojo> images;
51
	private List<MediaPojo> videos;
51
	private List<MediaPojo> videos;
52
	private List<String> packageContents;
52
	private List<String> packageContents;
53
	
53
	
54
	//Catalog
-
 
55
	private double price;
-
 
56
	private double mrp;
-
 
57
	private String offerText;
54
	private String offerText;
58
	//private EmiPojo bankEmis;
55
	//private EmiPojo bankEmis;
59
	private List<ItemPojo> items;
56
	private List<ItemPojo> items;
60
	
57
	
61
	public String getTitle() {
58
	public String getTitle() {
Line 93... Line 90...
93
	}
90
	}
94
	public long getId() {
91
	public long getId() {
95
		return id;
92
		return id;
96
	}
93
	}
97
	
94
	
98
	public double getMrp() {
-
 
99
		return mrp;
-
 
100
	}
-
 
101
	public void setMrp(double mrp) {
-
 
102
		this.mrp = mrp;
-
 
103
	}
-
 
104
	public String getOfferText() {
95
	public String getOfferText() {
105
		return offerText;
96
		return offerText;
106
	}
97
	}
107
	public void setOfferText(String offerText) {
98
	public void setOfferText(String offerText) {
108
		this.offerText = offerText;
99
		this.offerText = offerText;
Line 118... Line 109...
118
	}
109
	}
119
	public List<String> getPackageContents() {
110
	public List<String> getPackageContents() {
120
		return packageContents;
111
		return packageContents;
121
	}
112
	}
122
	
113
	
123
	public void setCatalogInfo(double sellingPrice, double mrp, String offerText, List<ItemPojo> items) {
114
	public void setCatalogInfo(String offerText, List<ItemPojo> items) {
124
		this.setPrice(sellingPrice);
-
 
125
		this.mrp = mrp;
-
 
126
		this.offerText = offerText;
115
		this.offerText = offerText;
127
		this.items = items;
116
		this.items = items;
128
	}
117
	}
129
 
118
 
130
	public void setPrice(double price) {
-
 
131
		this.price = price;
-
 
132
	}
-
 
133
 
-
 
134
	public double getPrice() {
-
 
135
		return price;
-
 
136
	}
-
 
137
 
-
 
138
	public String getThumbnailImageUrl() {
119
	public String getThumbnailImageUrl() {
139
		return thumbnailImageUrl;
120
		return thumbnailImageUrl;
140
	}
121
	}
141
	
122
	
142
	public void setThumbnailImageUrl(String thumbnailImageUrl) {
123
	public void setThumbnailImageUrl(String thumbnailImageUrl) {
Line 157... Line 138...
157
 
138
 
158
	public List<ExpertReviewPojo> getExpertReviews() {
139
	public List<ExpertReviewPojo> getExpertReviews() {
159
		return expertReviews;
140
		return expertReviews;
160
	}
141
	}
161
 
142
 
162
	public void setMinEmi(Double minEmi) {
-
 
163
		this.minEmi = minEmi;
-
 
164
	}
-
 
165
 
-
 
166
	public Double getMinEmi() {
-
 
167
		return minEmi;
-
 
168
	}
-
 
169
 
-
 
170
	public void setUrl(String url) {
143
	public void setUrl(String url) {
171
		this.url = url;
144
		this.url = url;
172
	}
145
	}
173
 
146
 
174
	public String getUrl() {
147
	public String getUrl() {
Line 180... Line 153...
180
	}
153
	}
181
 
154
 
182
	public List<ProductPojo> getReocmmendedAccessories() {
155
	public List<ProductPojo> getReocmmendedAccessories() {
183
		return reocmmendedAccessories;
156
		return reocmmendedAccessories;
184
	}
157
	}
-
 
158
 
-
 
159
	public void setPinCode(String pinCode) {
-
 
160
		this.pinCode = pinCode;
-
 
161
	}
-
 
162
 
-
 
163
	public String getPinCode() {
-
 
164
		return pinCode;
-
 
165
	}
185
}
166
}