Subversion Repositories SmartDukaan

Rev

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

Rev 21393 Rev 21407
Line 229... Line 229...
229
		vc = new ValidateCartResponse(cartResponse, "Success","Items added to cart successfully");
229
		vc = new ValidateCartResponse(cartResponse, "Success","Items added to cart successfully");
230
		final ProfitMandiResponse<?> profitMandiResponse=new ProfitMandiResponse<>(LocalDateTime.now(), request.getRequestURL().toString() , HttpStatus.OK.toString(), HttpStatus.OK, ResponseStatus.SUCCESS, vc);
230
		final ProfitMandiResponse<?> profitMandiResponse=new ProfitMandiResponse<>(LocalDateTime.now(), request.getRequestURL().toString() , HttpStatus.OK.toString(), HttpStatus.OK, ResponseStatus.SUCCESS, vc);
231
		return new ResponseEntity<>(profitMandiResponse,HttpStatus.OK);
231
		return new ResponseEntity<>(profitMandiResponse,HttpStatus.OK);
232
	}
232
	}
233
 
233
 
234
	@RequestMapping(value = ProfitMandiConstants.URL_CART, method=RequestMethod.POST,produces = MediaType.APPLICATION_JSON_VALUE)
234
	@RequestMapping(value = ProfitMandiConstants.URL_CART_CHANGE_ADDRESS, method=RequestMethod.POST,produces = MediaType.APPLICATION_JSON_VALUE)
235
	@ApiImplicitParams({
235
	@ApiImplicitParams({
236
		@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", 
236
		@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", 
237
				required = true, dataType = "string", paramType = "header")
237
				required = true, dataType = "string", paramType = "header")
238
	})
238
	})
239
	
239