Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
316 B
3
Indexable
Never
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());