Source for file transactionsearch.php
Documentation is available at transactionsearch.php
* TransactionSearch Object
* This class is used to perform the TransactionSearch operation
* @author Israel Ekpo <perfectvista@users.sourceforge.net>
* @copyright Copyright 2007, Israel Ekpo
* @license http://phppaypalpro.sourceforge.net/LICENSE.txt BSD License
* @package TransactionSearch
* Used to invoke the TransactionSearch Operation
* @author Israel Ekpo <perfectvista@users.sourceforge.net>
* @copyright Copyright 2007, Israel Ekpo
* @license http://phppaypalpro.sourceforge.net/LICENSE.txt BSD License
* @package TransactionSearch
* Message Sent to the Webservice
* Generates the TransactionSearchRequestType
* Prepares a multi-dimensional array for the message to be used in the search.
* @param integer $StartDate UNIXTIMESTAMP
* @param intefer $EndDate UNIXTIMESTAMP
* @param string $PayerEmail
* @param string $ReceiverEmail
* @param string $ReceiptID
* @param string $TransactionID
* @param string $PayerName
* @param string $AuctionItemNumber
* @param string $InvoiceID
* @param string $CardNumber
* @param string $TransactionClass
* @param string $CurrencyCode
* @param string $currencyID
public function setParams($StartDate, $EndDate =
0, $PayerEmail =
'', $ReceiverEmail =
'', $ReceiptID =
'', $TransactionID =
'', $PayerName =
'', $AuctionItemNumber =
'', $InvoiceID =
'', $CardNumber =
'', $TransactionClass =
'', $Amount =
'', $CurrencyCode =
'', $Status =
'', $currencyID =
'USD')
$this->apiMessage =
PayPalTypes::TransactionSearchRequestType($StartDate, $EndDate, $PayerEmail, $ReceiverEmail, $ReceiptID, $TransactionID, $PayerName, $AuctionItemNumber, $InvoiceID, $CardNumber, $TransactionClass, $Amount, $CurrencyCode, $Status, $currencyID);
* Prepares the final message and the calls the Webservice operation. If it is successfull the response is registered
* and the OperationStatus is set to true, otherwise the Operation status will be set to false and an Exception of the type
* soapFault will be registered instead.
$this->apiMessage =
array('TransactionSearchRequest' =>
$this->apiMessage);
$this->apiMessage =
array($this->apiMessage);
parent::registerAPIResponse(PayPalBase::getSoapClient()->__soapCall('TransactionSearch', $this->apiMessage, null, PayPalBase::getSoapHeader()));
catch (SoapFault $Exception)
parent::registerAPIException($Exception);
Documentation generated on Sat, 03 Feb 2007 20:59:07 -0800 by phpDocumentor 1.3.1