Example #1
0
 /**
  * make the API call
  *
  * @param  object \Services\Ebay\Session
  * @param  boolean  flag to indicate, whether the result should be parsed using XML_Serializer
  * @return array
  */
 public function call(\Services\Ebay\Session $session, $parseResult = true)
 {
     $session->setSerializerOptions($this->serializerOptions);
     $session->setUnserializerOptions($this->unserializerOptions);
     if (!is_null($this->since)) {
         $session->setCompatLevel($this->since);
     }
     $return = $session->sendRequest($this->verb, $this->args, $this->authType, $parseResult);
     return $return;
 }