Subversion Repositories SmartDukaan

Rev

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

Rev 30277 Rev 30278
Line 241... Line 241...
241
			pud.setShopOwnership("rented");
241
			pud.setShopOwnership("rented");
242
			pud.setShopPincode(customRetailer.getAddress().getPinCode());
242
			pud.setShopPincode(customRetailer.getAddress().getPinCode());
243
			pud.setShopAddress(customRetailer.getAddress().getLine1() + " " + customRetailer.getAddress().getLine2());
243
			pud.setShopAddress(customRetailer.getAddress().getLine1() + " " + customRetailer.getAddress().getLine2());
244
			pud.setShopCity(customRetailer.getAddress().getCity());
244
			pud.setShopCity(customRetailer.getAddress().getCity());
245
			pud.setShopState(customRetailer.getAddress().getState());
245
			pud.setShopState(customRetailer.getAddress().getState());
246
			pud.setMobile("8448775878");
246
			pud.setMobile("9816068341");
247
			pud.setCity(fk.getCity());
247
			pud.setCity(fk.getCity());
248
			pud.setAddress(fk.getAddress1() + " " + fk.getAddress2() + " " + fk.getAddress3());
248
			pud.setAddress(fk.getAddress1() + " " + fk.getAddress2() + " " + fk.getAddress3());
249
			pud.setEmailId(customRetailer.getEmail());
249
			pud.setEmailId(customRetailer.getEmail());
250
			pud.setPan(fk.getPan());
250
			pud.setPan(fk.getPan());
251
			pud.setPincode(fk.getPincode());
251
			pud.setPincode(fk.getPincode());
Line 362... Line 362...
362
 
362
 
363
	@RequestMapping(value = "/fundfina/pushNotification", method = RequestMethod.POST)
363
	@RequestMapping(value = "/fundfina/pushNotification", method = RequestMethod.POST)
364
	public String pushNotification(HttpServletRequest request,
364
	public String pushNotification(HttpServletRequest request,
365
			@RequestBody PushNotificationRequest pushNotificationRequest, Model model) throws Exception {
365
			@RequestBody PushNotificationRequest pushNotificationRequest, Model model) throws Exception {
366
 
366
 
-
 
367
		logger.info("pushNotificationRequest {}", pushNotificationRequest);
367
		PushNotificationResponse pnr = new PushNotificationResponse();
368
		PushNotificationResponse pnr = new PushNotificationResponse();
368
		pnr.setRequestRef(String.valueOf(Timestamp.valueOf(LocalDateTime.now()).getTime()));
369
		pnr.setRequestRef(String.valueOf(Timestamp.valueOf(LocalDateTime.now()).getTime()));
369
		pnr.setStatus("success");
370
		pnr.setStatus("success");
370
 
371
 
371
		model.addAttribute("response", mvcResponseSender.createResponseString(pnr));
372
		model.addAttribute("response", mvcResponseSender.createResponseString(pnr));