Subversion Repositories SmartDukaan

Rev

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

Rev 16541 Rev 16543
Line 2... Line 2...
2
 
2
 
3
import in.shop2020.model.v1.catalog.ExclusiveAffiliateItemInfo;
3
import in.shop2020.model.v1.catalog.ExclusiveAffiliateItemInfo;
4
 
4
 
5
import java.util.List;
5
import java.util.List;
6
 
6
 
-
 
7
import org.json.JSONObject;
-
 
8
 
7
public class ContentPojo extends HeaderInfoPojo {
9
public class ContentPojo extends HeaderInfoPojo {
8
	
10
	
9
	public ContentPojo(String title, List<String> keySpecs,
11
	public ContentPojo(String title, List<String> keySpecs,
10
			List<SpecificationGroup> detailedSpecs, String warranty) {
12
			List<SpecificationGroup> detailedSpecs, String warranty) {
11
		super();
13
		super();
Line 30... Line 32...
30
	private String name;
32
	private String name;
31
	private String categoryName;
33
	private String categoryName;
32
	private String categoryUrl;
34
	private String categoryUrl;
33
	private String breadCrumb;
35
	private String breadCrumb;
34
	private List<ExclusiveAffiliateItemInfo> exclusiveAffiliateInfo;
36
	private List<ExclusiveAffiliateItemInfo> exclusiveAffiliateInfo;
35
	private String dtrAffiliateString;
37
	private JSONObject dtrAffiliateJSON;
36
	
38
	
37
	//To be set at runtime
39
	//To be set at runtime
38
	private List<ProductPojo> reocmmendedAccessories;
40
	private List<ProductPojo> reocmmendedAccessories;
39
	public String getDefaultImageUrl() {
41
	public String getDefaultImageUrl() {
40
		return defaultImageUrl;
42
		return defaultImageUrl;
Line 212... Line 214...
212
 
214
 
213
	public List<ExclusiveAffiliateItemInfo> getExclusiveAffiliateInfo() {
215
	public List<ExclusiveAffiliateItemInfo> getExclusiveAffiliateInfo() {
214
		return exclusiveAffiliateInfo;
216
		return exclusiveAffiliateInfo;
215
	}
217
	}
216
 
218
 
217
	public void setDtrAffiliateString(String dtrAffiliateString) {
219
	public void setDtrAffiliateJSON(JSONObject dtrAffiliateJSON) {
218
		this.dtrAffiliateString = dtrAffiliateString;
220
		this.dtrAffiliateJSON = dtrAffiliateJSON;
219
	}
221
	}
220
 
222
 
221
	public String getDtrAffiliateString() {
223
	public JSONObject getDtrAffiliateJSON() {
222
		return dtrAffiliateString;
224
		return dtrAffiliateJSON;
223
	}
225
	}
224
}
226
}