class AdminBasicInfoServiceImpl implements AdminBasicInfoService {

    @Override
    public Response addPrice(PriceInfo pi, HttpHeaders headers) {

        HttpEntity requestEntity = new HttpEntity(pi, headers);
        ResponseEntity<Response> re = restTemplate.exchange(
                prices,
                HttpMethod.POST,
                requestEntity,
                Response.class);
        return re.getBody();

    }

}