class OrderServiceImpl implements OrderService {

    @Override
    public Response getOrderById(String orderId, HttpHeaders headers) {
        Order order = orderRepository.findById(UUID.fromString(orderId));
        if (order == null) {
            return new Response<>(0, orderNotFound, null);
        } else {
            return new Response<>(1, "Success.", order);
        }
    }

}