/**
  * General REST PUT verb
  * Update resource item
  *
  * @param array $itemData
  *
  * @return array item updated or null
  */
 public function update(array $itemData = array())
 {
     if (!isset($itemData['id'])) {
         return null;
     }
     $itemId = $itemData['id'];
     unset($itemData['id']);
     $response = $this->_httpClient->request($this->_serviceResource . $itemId, $itemData, Services_Paymill_Apiclient_Interface::HTTP_PUT);
     return $response['data'];
 }
 /**
  * Returns the response of the last request as an array
  * @return mixed Response
  * @todo Add Unit test
  */
 public function getResponse()
 {
     return $this->_httpClient->getResponse();
 }