Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
316 B
3
Indexable
ResponseEntity<OrderDTO>
orderDetails=
template.getForEntity("http://CustomerMS/Ekart/customerorderapi/order"+transactionDTO.getOrder().getOrderId(),OrderDTO.class);
transactionDTO.setTransactionDate(orderDetails.getBody().getDateOfOrder());
transactionDTO.setTotalPrice(orderDetails.getBody().getTotalPrice());