oxUserPayment Class Reference

Inheritance diagram for oxUserPayment:
[legend]
Collaboration diagram for oxUserPayment:
[legend]

List of all members.


Detailed Description

User payment manager. Performs assigning, loading, inserting and updating functions for user payment.

Definition at line 9 of file oxuserpayment.php.


Public Member Functions

 __get ($sName)
 __construct ()
 getPaymentKey ()
 load ($sOxId)
 setStoreCreditCardInfo ($blStoreCreditCardInfo)
 getStoreCreditCardInfo ()
 getPaymentByPaymentType ($oUser=null, $sPaymentType=null)
 getDynValues ()
 setDynValues ($aDynValues)

Protected Member Functions

 _insert ()
 _update ()

Protected Attributes

 $_sPaymentKey = 'fq45QS09_fqyx09239QQ'
 $_sClassName = 'oxuserpayment'
 $_blStoreCreditCardInfo = null
 $_oPayment = null
 $_aDynValues = null

Constructor & Destructor Documentation

oxUserPayment.__construct (  ) 

Class constructor. Sets payment key for encoding sensitive data and

Reimplemented from oxBase.

Definition at line 80 of file oxuserpayment.php.


Member Function Documentation

oxUserPayment.__get ( sName  ) 

Special getter for oxpayments__oxdesc field

Parameters:
string $sName name of field
Returns:
string

Reimplemented from oxBase.

Definition at line 59 of file oxuserpayment.php.

oxUserPayment.getPaymentKey (  ) 

Returns payment key used for DB value decription

Returns:
string

Definition at line 93 of file oxuserpayment.php.

oxUserPayment.load ( sOxId  ) 

Loads user payment object

Parameters:
string $sOxId oxuserpayment id
Returns:
mixed

Reimplemented from oxBase.

Definition at line 105 of file oxuserpayment.php.

oxUserPayment._insert (  )  [protected]

Inserts payment information to DB. Returns insert status.

Returns:
bool

Reimplemented from oxBase.

Definition at line 119 of file oxuserpayment.php.

oxUserPayment._update (  )  [protected]

Updates payment record in DB. Returns update status.

Returns:
bool

Reimplemented from oxBase.

Definition at line 141 of file oxuserpayment.php.

oxUserPayment.setStoreCreditCardInfo ( blStoreCreditCardInfo  ) 

Set store or not credit card information in db

Parameters:
bool $blStoreCreditCardInfo store or not credit card info
Returns:
null

Definition at line 159 of file oxuserpayment.php.

oxUserPayment.getStoreCreditCardInfo (  ) 

Get store or not credit card information in db parameter

Returns:
bool

Definition at line 169 of file oxuserpayment.php.

oxUserPayment.getPaymentByPaymentType ( oUser = null,
sPaymentType = null 
)

Get user payment by payment id

Parameters:
oxUser $oUser user object
string $sPaymentType payment type
Returns:
bool

Definition at line 182 of file oxuserpayment.php.

oxUserPayment.getDynValues (  ) 

Returns an array of dyn payment values

Returns:
array

Definition at line 205 of file oxuserpayment.php.

oxUserPayment.setDynValues ( aDynValues  ) 

sets the dyn values

Parameters:
array $aDynValues the array of dy values
Returns:
null

Definition at line 224 of file oxuserpayment.php.


Member Data Documentation

oxUserPayment.$_sPaymentKey = 'fq45QS09_fqyx09239QQ' [protected]

Definition at line 22 of file oxuserpayment.php.

oxUserPayment.$_sClassName = 'oxuserpayment' [protected]

Reimplemented from oxBase.

Definition at line 29 of file oxuserpayment.php.

oxUserPayment.$_blStoreCreditCardInfo = null [protected]

Definition at line 36 of file oxuserpayment.php.

oxUserPayment.$_oPayment = null [protected]

Definition at line 43 of file oxuserpayment.php.

oxUserPayment.$_aDynValues = null [protected]

Definition at line 50 of file oxuserpayment.php.


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

Generated on Thu Dec 4 12:05:35 2008 for OXID eShop CE by  doxygen 1.5.5