| Line 220... |
Line 220... |
| 220 |
row.getCell(PINCODE_INDEX).setCellType(Cell.CELL_TYPE_STRING);
|
220 |
row.getCell(PINCODE_INDEX).setCellType(Cell.CELL_TYPE_STRING);
|
| 221 |
t_order.setCustomer_pincode(row.getCell(PINCODE_INDEX).getStringCellValue());
|
221 |
t_order.setCustomer_pincode(row.getCell(PINCODE_INDEX).getStringCellValue());
|
| 222 |
t_order.setTotal_amount(lineItem.getTotal_price());
|
222 |
t_order.setTotal_amount(lineItem.getTotal_price());
|
| 223 |
t_order.setTotal_weight(lineItem.getTotal_weight());
|
223 |
t_order.setTotal_weight(lineItem.getTotal_weight());
|
| 224 |
t_order.setLineitems(Collections.singletonList(lineItem));
|
224 |
t_order.setLineitems(Collections.singletonList(lineItem));
|
| 225 |
t_order.setStatus(OrderStatus.SUBMITTED_FOR_PROCESSING);
|
225 |
t_order.setStatus(OrderStatus.PAYMENT_PENDING);
|
| 226 |
t_order.setStatusDescription("In Process");
|
226 |
t_order.setStatusDescription("In Process");
|
| 227 |
t_order.setCreated_timestamp(new Date().getTime());
|
227 |
t_order.setCreated_timestamp(new Date().getTime());
|
| 228 |
t_order.setOrderType(OrderType.B2C);
|
228 |
t_order.setOrderType(OrderType.B2C);
|
| 229 |
t_order.setCod(false);
|
229 |
t_order.setCod(false);
|
| 230 |
try {
|
230 |
try {
|