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

Source for file GetSellerTransactions.php

Documentation is available at GetSellerTransactions.php

  1. <?PHP
  2. /**
  3.  * Get all transactions for the current user
  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/GetSellerTransactions/GetSellerTransactionsLogic.htm
  10.  * @todo    create a model for the result set
  11.  */
  12. {
  13.    /**
  14.     * verb of the API call
  15.     *
  16.     * @var  string 
  17.     */
  18.     protected $verb = 'GetSellerTransactions';
  19.  
  20.     protected $args = array(
  21.                             'Pagination'    => array(
  22.                                                         'EntriesPerPage'=> 100,
  23.                                                         'PageNumber'    => 1
  24.                                                     )
  25.                         );
  26.  
  27.    /**
  28.     * parameter map that is used, when scalar parameters are passed
  29.     *
  30.     * @var  array 
  31.     */
  32.     protected $paramMap = array(
  33.                                  'ModTimeFrom',
  34.                                  'ModTimeTo',
  35.                                 );
  36.    /**
  37.     * make the API call
  38.     *
  39.     * @param    object Services_Ebay_Session 
  40.     * @return   string 
  41.     */
  42.     public function call(Services_Ebay_Session $session)
  43.     {
  44.         $return = parent::call($session);
  45.         if (isset($result['TransactionArray'])) {
  46.             $result Services_Ebay::loadModel('TransactionList'$return['TransactionArray']$session);
  47.             return $result;
  48.         }
  49.  
  50.         return false;
  51.     }
  52. }
  53. ?>

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