| Line 677... |
Line 677... |
| 677 |
attr1.setName("Refund_Option");
|
677 |
attr1.setName("Refund_Option");
|
| 678 |
in.shop2020.model.v1.order.Attribute attr2 = new in.shop2020.model.v1.order.Attribute();
|
678 |
in.shop2020.model.v1.order.Attribute attr2 = new in.shop2020.model.v1.order.Attribute();
|
| 679 |
attr2.setName("Refund_Amount");
|
679 |
attr2.setName("Refund_Amount");
|
| 680 |
in.shop2020.model.v1.order.Attribute attr3 = new in.shop2020.model.v1.order.Attribute();
|
680 |
in.shop2020.model.v1.order.Attribute attr3 = new in.shop2020.model.v1.order.Attribute();
|
| 681 |
attr2.setName("Refund_TimeStamp");
|
681 |
attr2.setName("Refund_TimeStamp");
|
| 682 |
SimpleDateFormat timestmapFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
682 |
SimpleDateFormat timestmapFormat = new SimpleDateFormat("dd-MMM-yyyy HH:mm:ss");
|
| 683 |
PaymentClient paymentServiceClient = new PaymentClient();
|
683 |
PaymentClient paymentServiceClient = new PaymentClient();
|
| 684 |
List<Payment> orderPayments =null;
|
684 |
List<Payment> orderPayments =null;
|
| 685 |
if(!t_order.isCod()){
|
685 |
if(!t_order.isCod()){
|
| 686 |
orderPayments =paymentServiceClient.getClient()
|
686 |
orderPayments =paymentServiceClient.getClient()
|
| 687 |
.getPaymentForTxnId(t_order.getTransactionId());
|
687 |
.getPaymentForTxnId(t_order.getTransactionId());
|