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 101 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 58 of file oxpaymentgateway.php.

oxPaymentGateway.getLastError (  ) 

Returns last payment processing error.

Returns:
int

Definition at line 91 of file oxpaymentgateway.php.

oxPaymentGateway.getLastErrorNo (  ) 

Returns last payment processing error nr.

Returns:
int

Definition at line 81 of file oxpaymentgateway.php.

oxPaymentGateway.setPaymentParams ( oUserpayment  ) 

Sets payment parameters.

Parameters:
object $oUserpayment User payment object
Returns:
null

Definition at line 44 of file oxpaymentgateway.php.


Member Data Documentation

oxPaymentGateway.$_blActive = false [protected]

Definition at line 15 of file oxpaymentgateway.php.

oxPaymentGateway.$_iLastErrorNo = 4 [protected]

Definition at line 28 of file oxpaymentgateway.php.

oxPaymentGateway.$_oPaymentInfo = null [protected]

Definition at line 21 of file oxpaymentgateway.php.

oxPaymentGateway.$_sLastError = null [protected]

Definition at line 35 of file oxpaymentgateway.php.


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