Public Member Functions

PayPalDAO Class Reference

Operations for retrieving and modifying Transactions objects. More...

List of all members.

Public Member Functions

 insertTransaction ($txnId, $txnType, $payerEmail, $receiverEmail, $itemNumber, $paymentDate, $payerId, $receiverId)
 PayPalDAO ()
 transactionExists ($txnId)

Detailed Description

Operations for retrieving and modifying Transactions objects.

Definition at line 17 of file PayPalDAO.inc.php.


Member Function Documentation

PayPalDAO.insertTransaction ( txnId,
txnType,
payerEmail,
receiverEmail,
itemNumber,
paymentDate,
payerId,
receiverId 
)

Insert a payment into the payments table

Parameters:
$txnId string
$txnType string
$payerEmail string
$receiverEmail string
$itemNumber string
$paymentDate datetime
$payerId string
$receiverId string

Definition at line 36 of file PayPalDAO.inc.php.

PayPalDAO.PayPalDAO (  ) 

Constructor.

Definition at line 21 of file PayPalDAO.inc.php.

PayPalDAO.transactionExists ( txnId  ) 

Check whether a given transaction exists.

Parameters:
$txnId string
Returns:
boolean

Definition at line 72 of file PayPalDAO.inc.php.


The documentation for this class was generated from the following file: