/**
  * sample_AddTransactionConfirmationItem::dispatchCall()
  * 
  * Dispatch the call
  *
  * @param array $params array of parameters for the eBay API call
  * 
  * @return boolean success
  */
 public function dispatchCall($params)
 {
     $req = new AddTransactionConfirmationItemRequestType();
     $req->setItemID($params['ItemID']);
     $req->setListingDuration($params['ListingDuration']);
     $req->setNegotiatedPrice($params['NegotiatedPrice']);
     $res = $this->proxy->AddSecondChanceItem($req);
     if ($this->testValid($res)) {
         $this->dumpObject($res);
         return true;
     } else {
         return false;
     }
 }
コード例 #2
0
 /**
  * @return AddTransactionConfirmationItemResponseType
  * @param AddTransactionConfirmationItemRequestType $request 
  */
 function AddTransactionConfirmationItem($request)
 {
     $request->setVersion(EBAY_WSDL_VERSION);
     return $this->call('AddTransactionConfirmationItem', $request);
 }