예제 #1
0
 public function addMemberMessage($params)
 {
     $this->session->setRequestToken($params['AuthToken']);
     $req = new AddMemberMessageRTQRequestType();
     $req->setItemID($params['ItemID']);
     $MemberMessage = new MemberMessageType();
     $MemberMessage->setBody($params['Body']);
     $MemberMessage->setParentMessageID($params['ParentMessageID']);
     $MemberMessage->setRecipientID($params['RecipientID']);
     $req->setMemberMessage($MemberMessage);
     $res = $this->proxy->AddMemberMessageRTQ($req);
     if ($this->testValid($res)) {
         return true;
     } else {
         $this->dumpObject($res);
         return false;
     }
 }
 /**
  * @return AddMemberMessageRTQResponseType
  * @param AddMemberMessageRTQRequestType $request 
  */
 function AddMemberMessageRTQ($request)
 {
     $request->setVersion(EBAY_WSDL_VERSION);
     return $this->call('AddMemberMessageRTQ', $request);
 }