Subversion Repositories SmartDukaan

Rev

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

Rev 7308 Rev 7351
Line 42... Line 42...
42
	private long itemId;
42
	private long itemId;
43
	private double recommendedPrice;
43
	private double recommendedPrice;
44
	private double minPrice;
44
	private double minPrice;
45
	private double maxPrice;
45
	private double maxPrice;
46
	private double minAdvancePrice;
46
	private double minAdvancePrice;
-
 
47
	private double absoluteMinPrice;
-
 
48
	
-
 
49
 
47
	private long freebieItemId;
50
	private long freebieItemId;
48
	private String bestDealText;
51
	private String bestDealText;
49
	private boolean activeonstore;
52
	private boolean activeonstore;
50
	
53
	
51
	public String index()	{
54
	public String index()	{
Line 55... Line 58...
55
	public String show()	{
58
	public String show()	{
56
		return "index";
59
		return "index";
57
	}
60
	}
58
 
61
 
59
	public String create() {
62
	public String create() {
60
		StorePricing sp = new StorePricing(itemId, recommendedPrice, minPrice, maxPrice, minAdvancePrice, freebieItemId, bestDealText);
63
		StorePricing sp = new StorePricing(itemId, recommendedPrice, minPrice, maxPrice, minAdvancePrice, absoluteMinPrice, freebieItemId, bestDealText);
61
		try	{
64
		try	{
62
			CatalogClient csc = new CatalogClient();
65
			CatalogClient csc = new CatalogClient();
63
			in.shop2020.model.v1.catalog.CatalogService.Client catalogClient= csc.getClient();
66
			in.shop2020.model.v1.catalog.CatalogService.Client catalogClient= csc.getClient();
64
			catalogClient.updateStorePricing(sp);
67
			catalogClient.updateStorePricing(sp);
65
			Item item = getItem(itemId);
68
			Item item = getItem(itemId);
Line 228... Line 231...
228
 
231
 
229
	public String getBestDealText() {
232
	public String getBestDealText() {
230
		return bestDealText;
233
		return bestDealText;
231
	}
234
	}
232
 
235
 
-
 
236
	public double getAbsoluteMinPrice() {
-
 
237
		return absoluteMinPrice;
-
 
238
	}
-
 
239
 
-
 
240
	public void setAbsoluteMinPrice(double absoluteMinPrice) {
-
 
241
		this.absoluteMinPrice = absoluteMinPrice;
-
 
242
	}
-
 
243
	
233
}
244
}
234
245