Services_Ebay
[ class tree: Services_Ebay ] [ index: Services_Ebay ] [ all elements ]

Source for file GetSellerList.php

Documentation is available at GetSellerList.php

  1. <?PHP
  2. /**
  3.  * Get all items a user is selling
  4.  *
  5.  * $Id$
  6.  *
  7.  * @package Services_Ebay
  8.  * @author  Stephan Schmidt <schst@php.net>
  9.  * @link    http://developer.ebay.com/DevZone/docs/API_Doc/Functions/GetRuName/GetRuNameLogic.htm
  10.  * @todo    test paginating
  11.  * @todo    build item list model
  12.  */
  13. {
  14.    /**
  15.     * verb of the API call
  16.     *
  17.     * @var  string 
  18.     */
  19.     protected $verb = 'GetSellerList';
  20.  
  21.    /**
  22.     * arguments of the call
  23.     *
  24.     * @var  array 
  25.     */
  26.     protected $args = array(
  27.                             'UserID'        => null,
  28.                             'DetailLevel'   => 'ReturnAll',
  29.                             'Pagination'    => array(
  30.                                                         'PageNumber'    => 1,
  31.                                                         'EntriesPerPage'=> 100
  32.                                                     )
  33.                         );
  34.    /**
  35.     * parameter map that is used, when scalar parameters are passed
  36.     *
  37.     * @var  array 
  38.     */
  39.     protected $paramMap = array(
  40.                                  'UserID',
  41.                                  'EntriesPerPage',
  42.                                  'Sort'
  43.                                 );
  44.     
  45.    /**
  46.     * make the API call
  47.     *
  48.     * @param    object Services_Ebay_Session 
  49.     * @return   string 
  50.     */
  51.     public function call(Services_Ebay_Session $session)
  52.     {
  53.         $return = parent::call($session);
  54.         return Services_Ebay::loadModel('ItemList'$return$session);
  55.     }
  56. }
  57. ?>

Documentation generated on Mon, 11 Mar 2019 15:49:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.