Source for file ReviseItem.php
Documentation is available at ReviseItem.php
* Revise (change) an item that has been added to Ebay
* $item = $eBay->GetItem('12345678');
* $item->Title = 'New title';
* $eBay->ReviseItem($item);
* @author Stephan Schmidt <schst@php.net>
* @link http://developer.ebay.com/DevZone/docs/API_Doc/Functions/ReviseItem/ReviseItemLogic.htm
* @see Services_Ebay_Model_Item::Revise()
protected $verb = 'ReviseItem';
* parameter map that is used, when scalar parameters are passed
* options that will be passed to the serializer
$this->args = $item->GetModifiedProperties ();
if (isset ($this->args['Id'])) {
$this->args['ItemID'] = $id;
* @param object Services_Ebay_Session
public function call(Services_Ebay_Session $session)
$return = parent ::call($session);
if (isset ($return['Item'])) {
$returnItem = $return['Item'];
$this->item->Id = $returnItem['Id'];
$this->item->StartTime = $returnItem['StartTime'];
$this->item->EndTime = $returnItem['EndTime'];
$this->item->Fees = $returnItem['Fees'];
Documentation generated on Mon, 11 Mar 2019 15:49:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|