Cheetah
Public Member Functions | Public Attributes | List of all members
ChPmt2Checkout Class Reference
Inheritance diagram for ChPmt2Checkout:
ChPmtProvider

Public Member Functions

 __construct ($oDb, $oConfig, $aConfig)
 
 initializeCheckout ($iPendingId, $aCartInfo, $bRecurring=false, $iRecurringDays=0)
 
 finalizeCheckout (&$aData)
 
 _registerCheckout (&$aData, $bSubscription=false, $iPendingId=0)
 
 _validateCheckout (&$aData)
 
 _generateKey ($sOrder, $sAmount)
 
- Public Member Functions inherited from ChPmtProvider
 checkoutFinished ()
 
 needRedirect ()
 

Public Attributes

 $_sDataReturnUrl
 
- Public Attributes inherited from ChPmtProvider
 $_oDb
 
 $_oConfig
 
 $_iId
 
 $_sName
 
 $_sCaption
 
 $_sPrefix
 
 $_aOptions
 
 $_bRedirectOnResult
 

Additional Inherited Members

- Protected Member Functions inherited from ChPmtProvider
 getOptionsByPending ($iPendingId)
 
 getOption ($sName)
 

Detailed Description

Definition at line 18 of file ChPmt2Checkout.php.

Constructor & Destructor Documentation

◆ __construct()

ChPmt2Checkout::__construct (   $oDb,
  $oConfig,
  $aConfig 
)

Constructor

Reimplemented from ChPmtProvider.

Definition at line 25 of file ChPmt2Checkout.php.

Member Function Documentation

◆ _generateKey()

ChPmt2Checkout::_generateKey (   $sOrder,
  $sAmount 
)

Definition at line 126 of file ChPmt2Checkout.php.

◆ _registerCheckout()

ChPmt2Checkout::_registerCheckout ( $aData,
  $bSubscription = false,
  $iPendingId = 0 
)
Parameters
$aData- data from payment provider.
$bSubscription- Is not needed. May be used in the future for subscriptions.
$iPendingId- Is not needed. May be used in the future for subscriptions.
Returns
array with results.

Definition at line 74 of file ChPmt2Checkout.php.

◆ _validateCheckout()

ChPmt2Checkout::_validateCheckout ( $aData)

Definition at line 98 of file ChPmt2Checkout.php.

◆ finalizeCheckout()

ChPmt2Checkout::finalizeCheckout ( $aData)

Reimplemented from ChPmtProvider.

Definition at line 62 of file ChPmt2Checkout.php.

◆ initializeCheckout()

ChPmt2Checkout::initializeCheckout (   $iPendingId,
  $aCartInfo,
  $bRecurring = false,
  $iRecurringDays = 0 
)

Reimplemented from ChPmtProvider.

Definition at line 32 of file ChPmt2Checkout.php.

Member Data Documentation

◆ $_sDataReturnUrl

ChPmt2Checkout::$_sDataReturnUrl

Definition at line 20 of file ChPmt2Checkout.php.


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