Subversion Repositories SmartDukaan

Rev

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

Rev 13756 Rev 13757
Line 50... Line 50...
50
		sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
50
		sdf = new java.text.SimpleDateFormat("yyyy-MM-dd-HH:mm:ss");
51
		emailFromAddress = "build@shop2020.in";
51
		emailFromAddress = "build@shop2020.in";
52
		password = "cafe@nes";
52
		password = "cafe@nes";
53
		mailer = new GmailUtils();
53
		mailer = new GmailUtils();
54
		//sendTo = new String[]{"vikram.raghav@shop2020.in"};
54
		//sendTo = new String[]{"vikram.raghav@shop2020.in"};
55
		sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "vikram.raghav@shop2020.in", "rajneesh.arora@shop2020.in",
55
		sendTo = new String[]{ "sandeep.sachdeva@shop2020.in", "manish.sharma@shop2020.in", "rajneesh.arora@shop2020.in",
56
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
56
				"khushal.bhatia@shop2020.in","manoj.kumar@saholic.com","chaitnaya.vats@saholic.com",
57
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","anikendra.das@shop2020.in"};
57
				"yukti.jain@shop2020.in","manisha.sharma@shop2020.in","chandan.kumar@shop2020.in","ankush.dhingra@shop2020.in","anikendra.das@shop2020.in"};
58
		Client catalogServiceClient = null;
58
		Client catalogServiceClient = null;
59
		try {
59
		try {
60
			catalogServiceClient = new CatalogClient().getClient();
60
			catalogServiceClient = new CatalogClient().getClient();
Line 158... Line 158...
158
			System.out.println("Item ID  " + entry.getItem_id());
158
			System.out.println("Item ID  " + entry.getItem_id());
159
			System.out.println("Product Name " + getProductName(item));
159
			System.out.println("Product Name " + getProductName(item));
160
			System.out.println("Selling Price " + entry.getSellingPrice());
160
			System.out.println("Selling Price " + entry.getSellingPrice());
161
			jsonRequest.append("{\"skuId\":"+"\""+flipkartItemsMap.get(entry.getItem_id()).getSkuAtFlipkart()+
161
			jsonRequest.append("{\"skuId\":"+"\""+flipkartItemsMap.get(entry.getItem_id()).getSkuAtFlipkart()+
162
					"\","+"\"attributeValues\""+":"+
162
					"\","+"\"attributeValues\""+":"+
163
					"{\"selling_price\""+":"+"\""+ new Double(entry.getSellingPrice()).intValue()+"\""+"}}");
163
					"{\"selling_price\""+":"+"\""+ new Double(entry.getSellingPrice()).intValue()+"\""+"},"+"\"listingValidations\":" +
-
 
164
			        "{\"PRICE_ERROR_CHECK\":" +
-
 
165
			        "\"disable\"}"+"}");
164
 
166
 
165
			pricingItems.append("<tr>" 
167
			pricingItems.append("<tr>" 
166
					+ "<td>" +getProductName(item)+"</td>"
168
					+ "<td>" +getProductName(item)+"</td>"
167
					+"<td>" + item.getId() + "</td>"
169
					+"<td>" + item.getId() + "</td>"
168
					+"<td>" + entry.getSellingPrice() + "</td>"
170
					+"<td>" + entry.getSellingPrice() + "</td>"