Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<?PHP
2
/**
3
 * Get all transactions for the current user
4
 *
5
 * $Id: GetSellerTransactions.php,v 1.1 2004/10/28 17:14:53 schst Exp $
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
class Services_Ebay_Call_GetSellerTransactions extends Services_Ebay_Call
13
{
14
   /**
15
    * verb of the API call
16
    *
17
    * @var  string
18
    */
19
    protected $verb = 'GetSellerTransactions';
20
 
21
   /**
22
    * parameter map that is used, when scalar parameters are passed
23
    *
24
    * @var  array
25
    */
26
    protected $paramMap = array(
27
                                 'LastModifiedFrom',
28
                                 'LastModifiedTo',
29
                                 'TransactionsPerPage',
30
                                 'PageNumber'
31
                                );
32
   /**
33
    * make the API call
34
    *
35
    * @param    object Services_Ebay_Session
36
    * @return   string
37
    */
38
    public function call(Services_Ebay_Session $session)
39
    {
40
        $return = parent::call($session);
41
        $result = Services_Ebay::loadModel('TransactionList', $return['GetSellerTransactionsResult'], $session);
42
        return $result;
43
    }
44
}
45
?>