Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

tx_commerce_payment_debit Class Reference

List of all members.

Public Member Functions

 needAdditionalData ($pObj)
 getAdditonalFieldsConfig ($pObj)
 proofData ($formData, $pObj)
 finishingFunction ($config, $session, $basket, $pObj)
 updateOrder ($orderUid, $session, $pObj)
 getLastError ($finish=0, $pObj)
 getReadableError ()

Public Attributes

 $LOCAL_LANG
 $errorFields = array()
 In this var the wrong fields are stored (for future use).
 $errorMessages = array()
 This var holds the errormessages (keys are the fieldnames).

Member Function Documentation

tx_commerce_payment_debit::finishingFunction config,
session,
basket,
pObj
 

This method is called in the last step. Here can be made some final checks or whatever is needed to be done before saving some data in the database. Write any errors into $this->errorMessages! To save some additonal data in the database use the method updateOrder().

Parameters:
array $config: The configuration from the TYPO3_CONF_VARS
array $basket: The basket object
Returns:
boolean True or false

tx_commerce_payment_debit::getAdditonalFieldsConfig pObj  ) 
 

tx_commerce_payment_debit::getLastError finish = 0,
pObj
 

Returns the last error message

tx_commerce_payment_debit::getReadableError  ) 
 

tx_commerce_payment_debit::needAdditionalData pObj  ) 
 

tx_commerce_payment_debit::proofData formData,
pObj
 

tx_commerce_payment_debit::updateOrder orderUid,
session,
pObj
 

This method can make something with the created order. For example add the reference id for payments with creditcards.


Member Data Documentation

tx_commerce_payment_debit::$errorFields = array()
 

In this var the wrong fields are stored (for future use).

tx_commerce_payment_debit::$errorMessages = array()
 

This var holds the errormessages (keys are the fieldnames).

tx_commerce_payment_debit::$LOCAL_LANG
 

Initial value:

 array (
                'default' => array (
                        'payment_debit_bic' => 'Bank Identification Number',
                        'payment_debit_an' => 'Account number',
                        'payment_debit_bn' => 'Bankname',
                        'payment_debit_ah' => 'Account holder',
                        'payment_debit_company' => 'Company',
                ),
                'de' => array (
                        'payment_debit_bic' => 'Bankleitzahl',
                        'payment_debit_an' => 'Kontonummer',
                        'payment_debit_bn' => 'Bankname',
                        'payment_debit_ah' => 'Kontoinhaber',
                        'payment_debit_company' => 'Firma',
                ),
                'fr' => array (
                        'payment_debit_bic' => 'Code de banque',
                        'payment_debit_an' => 'Numéro de compte',
                        'payment_debit_bn' => 'Nom bancaire',
                        'payment_debit_ah' => 'Détenteur de compte',
                        'payment_debit_company' => 'Firme',
                ),
        )
The locallang array for this payment module This is only needed, if individual fields are defined


The documentation for this class was generated from the following file:
Generated on Sun Jan 13 23:12:23 2008 for tx_commerce by  doxygen 1.4.4