Subversion Repositories SmartDukaan

Rev

Rev 20702 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20702 Rev 20704
Line 8... Line 8...
8
public class ProductPojo {
8
public class ProductPojo {
9
 
9
 
10
    private Long id;
10
    private Long id;
11
    @SerializedName(value = "image_url")
11
    @SerializedName(value = "image_url")
12
	private String imageUrl;
12
	private String imageUrl;
-
 
13
    @SerializedName(value = "default_img_url")
-
 
14
	private String defaultImageUrl;
13
    private String title;
15
	private String title;
14
    private String url;
16
    private String url;
15
    private String description;
17
    private String description;
16
    private Double price;
18
    private Double price;
17
    private Double mrp;
19
    private Double mrp;
18
    private List<ItemPojo> itemPojos;
20
    private List<ItemPojo> itemPojos;
19
    
21
    
20
    @SerializedName(value = "offer_text")
22
    @SerializedName(value = "offer_text")
21
    private String offerText;
23
    private String offerText;
22
    
24
    
23
	public String getImageUrl() {
25
	public String getImageUrl() {
24
		return "http://staging.profittill.com/app/webroot/timthumb.php?src="+imageUrl+"&h=150&q=100";
26
		return imageUrl;
25
	}
27
	}
26
	public void setImageUrl(String imageUrl) {
28
	public void setImageUrl(String imageUrl) {
27
		this.imageUrl = imageUrl;
29
		this.imageUrl = imageUrl;
28
	}
30
	}
29
	public String getDescription() {
31
	public String getDescription() {
Line 140... Line 142...
140
		this.itemPojos = itemPojos;
142
		this.itemPojos = itemPojos;
141
	}
143
	}
142
	public List<ItemPojo> getItemPojos() {
144
	public List<ItemPojo> getItemPojos() {
143
		return itemPojos;
145
		return itemPojos;
144
	}
146
	}
-
 
147
	public String getDefaultImageUrl() {
-
 
148
		return "http://staging.profittill.com/app/webroot/timthumb.php?src="+defaultImageUrl+"&h=150&q=100";
-
 
149
	}
-
 
150
	public void setDefaultImageUrl(String defaultImageUrl) {
-
 
151
		this.defaultImageUrl = defaultImageUrl;
-
 
152
	}
145
}
153
}