Source for file AddItem.php
Documentation is available at AddItem.php
* @author Stephan Schmidt <schst@php.net>
* @link http://developer.ebay.com/DevZone/docs/API_Doc/Functions/AddItem/AddItemLogic.htm
protected $verb = 'AddItem';
* compatibility level this method was introduced
* parameter map that is used, when scalar parameters are passed
* options that will be passed to the serializer
* default parameters that will be used when
'ShippingDetails' => array (
* item that should be added
* @var object Services_Ebay_Model_Item
* set the item that should be added
* @param Services_Ebay_Model_Item
public function setItem(Services_Ebay_Model_Item $item)
* @param object Services_Ebay_Session
public function call(Services_Ebay_Session $session)
$return = parent ::call($session);
if (isset ($return['ItemID'])) {
$this->item->Id = $return['ItemID'];
$this->item->StartTime = $return['StartTime'];
$this->item->EndTime = $return['EndTime'];
$this->item->Fees = $return['Fees']['Fee'];
Documentation generated on Mon, 11 Mar 2019 15:49:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|