oxPaymentGateway Class Reference

Inheritance diagram for oxPaymentGateway:

Inheritance graph
[legend]
Collaboration diagram for oxPaymentGateway:

Collaboration graph
[legend]

List of all members.


Detailed Description

Payment gateway manager. Checks and sets payment method data, executes payment.

Definition at line 8 of file oxpaymentgateway.php.


Public Member Functions

 setPaymentParams ($oUserpayment)
 executePayment ($dAmount, &$oOrder)
 getLastErrorNo ()
 getLastError ()

Protected Member Functions

 _isActive ()

Protected Attributes

 $_blActive = false
 $_oPaymentInfo = null
 $_iLastErrorNo = 4
 $_sLastError = null

Member Function Documentation

oxPaymentGateway.setPaymentParams ( oUserpayment  ) 

Sets payment parameters.

Parameters:
object $oUserpayment User payment object
Returns:
null

Definition at line 43 of file oxpaymentgateway.php.

oxPaymentGateway.executePayment ( dAmount,
&$  oOrder 
)

Executes payment, returns true on success.

Parameters:
double $dAmount Goods amount
object &$oOrder User ordering object
Returns:
bool

Definition at line 57 of file oxpaymentgateway.php.

oxPaymentGateway.getLastErrorNo (  ) 

Returns last payment processing error nr.

Returns:
int

Definition at line 80 of file oxpaymentgateway.php.

oxPaymentGateway.getLastError (  ) 

Returns last payment processing error.

Returns:
int

Definition at line 90 of file oxpaymentgateway.php.

oxPaymentGateway._isActive (  )  [protected]

Returns true is payment active.

Returns:
bool

Definition at line 100 of file oxpaymentgateway.php.


Member Data Documentation

oxPaymentGateway.$_blActive = false [protected]

Definition at line 14 of file oxpaymentgateway.php.

oxPaymentGateway.$_oPaymentInfo = null [protected]

Definition at line 20 of file oxpaymentgateway.php.

oxPaymentGateway.$_iLastErrorNo = 4 [protected]

Definition at line 27 of file oxpaymentgateway.php.

oxPaymentGateway.$_sLastError = null [protected]

Definition at line 34 of file oxpaymentgateway.php.


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

Generated on Wed Apr 22 12:32:09 2009 for OXID eShop CE by  doxygen 1.5.5