Public Member Functions | Protected Member Functions | Protected Attributes

oxPaymentGateway Class Reference

Inheritance diagram for oxPaymentGateway:
Collaboration diagram for oxPaymentGateway:

List of all members.

Public Member Functions

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

Protected Member Functions

 _isActive ()

Protected Attributes

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

Detailed Description

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

Definition at line 9 of file oxpaymentgateway.php.


Member Function Documentation

oxPaymentGateway._isActive (  )  [protected]

Returns true is payment active.

Returns:
bool

Definition at line 104 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 61 of file oxpaymentgateway.php.

oxPaymentGateway.getLastError (  ) 

Returns last payment processing error.

Returns:
int

Definition at line 94 of file oxpaymentgateway.php.

oxPaymentGateway.getLastErrorNo (  ) 

Returns last payment processing error nr.

Returns:
int

Definition at line 84 of file oxpaymentgateway.php.

oxPaymentGateway.setPaymentParams ( oUserpayment  ) 

Sets payment parameters.

Parameters:
object $oUserpayment User payment object

Definition at line 47 of file oxpaymentgateway.php.


Member Data Documentation

oxPaymentGateway.$_blActive = false [protected]

Definition at line 17 of file oxpaymentgateway.php.

oxPaymentGateway.$_iLastErrorNo = 4 [protected]

Definition at line 32 of file oxpaymentgateway.php.

oxPaymentGateway.$_oPaymentInfo = null [protected]

Definition at line 24 of file oxpaymentgateway.php.

oxPaymentGateway.$_sLastError = null [protected]

Definition at line 40 of file oxpaymentgateway.php.


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