OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\PaymentGateway Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Model\PaymentGateway:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Model\PaymentGateway:

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.

Member Function Documentation

◆ _isActive()

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::_isActive ( )
protected

Returns true is payment active.

Returns
bool

◆ executePayment()

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::executePayment (   $dAmount,
$oOrder 
)

Executes payment, returns true on success.

Parameters
double$dAmountGoods amount
object$oOrderUser ordering object
Returns
bool

◆ getLastError()

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::getLastError ( )

Returns last payment processing error.

Returns
int

◆ getLastErrorNo()

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::getLastErrorNo ( )

Returns last payment processing error nr.

Returns
int

◆ setPaymentParams()

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::setPaymentParams (   $oUserpayment)

Sets payment parameters.

Parameters
object$oUserpaymentUser payment object

Member Data Documentation

◆ $_blActive

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::$_blActive = false
protected

◆ $_iLastErrorNo

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::$_iLastErrorNo = 4
protected

◆ $_oPaymentInfo

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::$_oPaymentInfo = null
protected

◆ $_sLastError

OxidEsales\EshopCommunity\Application\Model\PaymentGateway::$_sLastError = null
protected

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