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

Public Member Functions

 __get ($sName)
 __construct ()
 getPaymentKey ()
 load ($sOxId)
 setStoreCreditCardInfo ($blStoreCreditCardInfo)
 getStoreCreditCardInfo ()
 getPaymentByPaymentType ($oUser=null, $sPaymentType=null)
 getDynValues ()
 setDynValues ($aDynValues)
- Public Member Functions inherited from oxBase
 getUseSkipSaveFields ()
 setUseSkipSaveFields ($blUseSkipSaveFields)
 __set ($sName, $sValue)
 __isset ($mVar)
 __clone ()
 oxClone ($oObject)
 getUpdateSeo ()
 setUpdateSeo ($blUpdateSeo)
 init ($sTableName=null, $blForceAllFields=false)
 assign ($dbRecord)
 getClassName ()
 getCoreTableName ()
 getId ()
 setId ($sOXID=null)
 setShopId ($iShopId)
 getShopId ()
 getViewName ($blForceCoreTableUsage=null)
 modifyCacheKey ($sCacheKey, $blOverride=false)
 disableLazyLoading ()
 isDerived ()
 setIsDerived ($blVal)
 isMultilang ()
 isLoaded ()
 buildSelectString ($aWhere=null)
 assignRecord ($sSelect)
 getFieldData ($sFieldName)
 getSelectFields ($blForceCoreTableUsage=null)
 delete ($sOxId=null)
 save ()
 allowDerivedUpdate ()
 allowDerivedDelete ()
 exists ($sOXID=null)
 getSqlActiveSnippet ($blForceCoreTable=null)
 beforeUpdate ($sOXID=null)
 onChange ($iAction=null, $sOXID=null)
 setInList ()
 isOx ()
 isReadOnly ()
 setReadOnly ($blReadOnly)
 getFieldNames ()
 addFieldName ($sName)
 getLanguage ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _insert ()
 _update ()
- Protected Member Functions inherited from oxBase
 _setUpdateSeoOnFieldChange ($sField)
 _removeElement2ShopRelations ($sOxId)
 _isInList ()
 _getObjectViewName ($sTable, $sShopID=null)
 _getTableFields ($sTable, $blReturnSimple=false)
 _getAllFields ($blReturnSimple=false)
 _initDataStructure ($blForceFullStructure=false)
 _getNonCachedFieldNames ($blForceFullStructure=false)
 _getFieldStatus ($sFieldName)
 _addField ($sName, $iStatus, $sType=null, $sLength=null)
 _getFieldLongName ($sFieldName)
 _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT)
 _canFieldBeNull ($sFieldName)
 _getFieldDefaultValue ($sFieldName)
 _getUpdateFieldValue ($sFieldName, $oField)
 _getUpdateFields ($blUseSkipSaveFields=true)
 _isDisabledFieldCache ()
 _addSkippedSaveFieldsForMapping ()
 _disableLazyLoadingForCaching ()

Protected Attributes

 $_sPaymentKey = 'fq45QS09_fqyx09239QQ'
 $_sClassName = 'oxuserpayment'
 $_blStoreCreditCardInfo = null
 $_oPayment = null
 $_aDynValues = null
- Protected Attributes inherited from oxBase
 $_sOXID = null
 $_iShopId = null
 $_blIsSimplyClonable = true
 $_sClassName = 'oxbase'
 $_sCoreTable = null
 $_sViewTable = null
 $_aFieldNames = array('oxid' => 0)
 $_sCacheKey = null
 $_blUseLazyLoading = false
 $_aSkipSaveFields = array('oxtimestamp')
 $_blUseSkipSaveFields = true
 $_sExistKey = 'oxid'
 $_blIsDerived = null
 $_blIsSeoObject = false
 $_blUpdateSeo = true
 $_blReadOnly = false
 $_blIsInList = false
 $_isLoaded = false
 $_aInnerLazyCache = null
 $_blEmployMultilanguage = false

Additional Inherited Members

- Static Protected Attributes inherited from oxBase
static $_blDisableFieldCaching = array()

Detailed Description

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

Definition at line 9 of file oxuserpayment.php.

Constructor & Destructor Documentation

oxUserPayment::__construct ( )

Class constructor. Sets payment key for encoding sensitive data and

Reimplemented from oxBase.

Definition at line 85 of file oxuserpayment.php.

Member Function Documentation

oxUserPayment::__get (   $sName)

Special getter for oxpayments__oxdesc field

Parameters
string$sNamename of field
Returns
string

Reimplemented from oxBase.

Definition at line 59 of file oxuserpayment.php.

oxUserPayment::_insert ( )
protected

Inserts payment information to DB. Returns insert status.

Returns
bool

Reimplemented from oxBase.

Definition at line 124 of file oxuserpayment.php.

oxUserPayment::_update ( )
protected

Updates payment record in DB. Returns update status.

Returns
bool

Reimplemented from oxBase.

Definition at line 154 of file oxuserpayment.php.

oxUserPayment::getDynValues ( )

Returns an array of dyn payment values

Returns
array

Definition at line 222 of file oxuserpayment.php.

oxUserPayment::getPaymentByPaymentType (   $oUser = null,
  $sPaymentType = null 
)

Get user payment by payment id

Parameters
oxUser$oUseruser object
string$sPaymentTypepayment type
Returns
bool

Definition at line 202 of file oxuserpayment.php.

oxUserPayment::getPaymentKey ( )

Returns payment key used for DB value decription

Returns
string

Definition at line 98 of file oxuserpayment.php.

oxUserPayment::getStoreCreditCardInfo ( )

Get store or not credit card information in db parameter

Returns
bool

Definition at line 189 of file oxuserpayment.php.

oxUserPayment::load (   $sOxId)

Loads user payment object

Parameters
string$sOxIdoxuserpayment id
Returns
mixed

Reimplemented from oxBase.

Definition at line 110 of file oxuserpayment.php.

oxUserPayment::setDynValues (   $aDynValues)

sets the dyn values

Parameters
array$aDynValuesthe array of dy values

Definition at line 246 of file oxuserpayment.php.

oxUserPayment::setStoreCreditCardInfo (   $blStoreCreditCardInfo)

Set store or not credit card information in db

Parameters
bool$blStoreCreditCardInfostore or not credit card info

Definition at line 179 of file oxuserpayment.php.

Member Data Documentation

oxUserPayment::$_aDynValues = null
protected

Definition at line 50 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::$_sClassName = 'oxuserpayment'
protected

Definition at line 29 of file oxuserpayment.php.

oxUserPayment::$_sPaymentKey = 'fq45QS09_fqyx09239QQ'
protected

Definition at line 22 of file oxuserpayment.php.


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