| Line 165... |
Line 165... |
| 165 |
if(linepojo.getLogisticsInfo().getBusinessDays()==-1){
|
165 |
if(linepojo.getLogisticsInfo().getBusinessDays()==-1){
|
| 166 |
cartPojo.setLocationServiceable(false);
|
166 |
cartPojo.setLocationServiceable(false);
|
| 167 |
cartPojo.setLocationServiceableMessage("Location not serviceable. Please specify a different address");
|
167 |
cartPojo.setLocationServiceableMessage("Location not serviceable. Please specify a different address");
|
| 168 |
}
|
168 |
}
|
| 169 |
try {
|
169 |
try {
|
| 170 |
CatalogClient csc = new CatalogClient();
|
- |
|
| 171 |
Item item = csc.getClient().getItem(line.getItemId());
|
170 |
Item item = catalogClient.getItem(line.getItemId());
|
| 172 |
linepojo.setName(item.getBrand() + " " + item.getModelName() + " " + item.getModelNumber());
|
171 |
linepojo.setName(item.getBrand() + " " + item.getModelName() + " " + item.getModelNumber());
|
| 173 |
linepojo.setColor(item.getColor());
|
172 |
linepojo.setColor(item.getColor());
|
| 174 |
linepojo.setImageUrl(PojoPopulator.getShortContent(item.getCatalogItemId()).getImageUrl());
|
173 |
linepojo.setImageUrl(PojoPopulator.getShortContent(item.getCatalogItemId()).getImageUrl());
|
| 175 |
linepojos.add(linepojo);
|
174 |
linepojos.add(linepojo);
|
| 176 |
|
175 |
|