Subversion Repositories SmartDukaan

Rev

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

Rev 5945 Rev 6025
Line 167... Line 167...
167
		
167
		
168
		try	{
168
		try	{
169
			PromotionClient promotionServiceClient = new PromotionClient();
169
			PromotionClient promotionServiceClient = new PromotionClient();
170
			in.shop2020.model.v1.user.PromotionService.Client promotionClient = promotionServiceClient.getClient();
170
			in.shop2020.model.v1.user.PromotionService.Client promotionClient = promotionServiceClient.getClient();
171
			
171
			
172
			discounts = promotionClient.getDiscountsForEntity(productId);
172
			discounts = new HashMap<String, Double>();
173
			
173
			
174
		} catch (Exception e) {
174
		} catch (Exception e) {
175
			log.error("Unable to retrieve discounts", e);
175
			log.error("Unable to retrieve discounts", e);
176
		}
176
		}
177
    	
177