OXID eShop CE  4.9.11
 All Classes Files Functions Variables Pages
oxPaymentGateway Class Reference
+ Inheritance diagram for oxPaymentGateway:
+ Collaboration diagram for oxPaymentGateway:

Public Member Functions

 setPaymentParams ($oUserpayment)
 executePayment ($dAmount, &$oOrder)
 getLastErrorNo ()
 getLastError ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _isActive ()

Protected Attributes

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

Additional Inherited Members

- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = 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$dAmountGoods amount
object&$oOrderUser 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$oUserpaymentUser 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: