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 |
User payment manager. Performs assigning, loading, inserting and updating functions for user payment.
Definition at line 8 of file oxuserpayment.php.
oxUserPayment.__construct | ( | ) |
Class constructor. Sets payment key for encoding sensitive data and
Reimplemented from oxBase.
Definition at line 82 of file oxuserpayment.php.
oxUserPayment.__get | ( | $ | sName | ) |
Special getter for oxpayments__oxdesc field
string | $sName name of field |
Reimplemented from oxBase.
Definition at line 58 of file oxuserpayment.php.
oxUserPayment._insert | ( | ) | [protected] |
Inserts payment information to DB. Returns insert status.
Reimplemented from oxBase.
Definition at line 121 of file oxuserpayment.php.
oxUserPayment._update | ( | ) | [protected] |
Updates payment record in DB. Returns update status.
Reimplemented from oxBase.
Definition at line 151 of file oxuserpayment.php.
oxUserPayment.getDynValues | ( | ) |
Returns an array of dyn payment values
Definition at line 221 of file oxuserpayment.php.
oxUserPayment.getPaymentByPaymentType | ( | $ | oUser = null , |
|
$ | sPaymentType = null | |||
) |
Get user payment by payment id
oxUser | $oUser user object | |
string | $sPaymentType payment type |
Definition at line 201 of file oxuserpayment.php.
oxUserPayment.getPaymentKey | ( | ) |
Returns payment key used for DB value decription
Definition at line 95 of file oxuserpayment.php.
oxUserPayment.getStoreCreditCardInfo | ( | ) |
Get store or not credit card information in db parameter
Definition at line 188 of file oxuserpayment.php.
oxUserPayment.load | ( | $ | sOxId | ) |
Loads user payment object
string | $sOxId oxuserpayment id |
Reimplemented from oxBase.
Definition at line 107 of file oxuserpayment.php.
oxUserPayment.setDynValues | ( | $ | aDynValues | ) |
sets the dyn values
array | $aDynValues the array of dy values |
Definition at line 246 of file oxuserpayment.php.
oxUserPayment.setStoreCreditCardInfo | ( | $ | blStoreCreditCardInfo | ) |
Set store or not credit card information in db
bool | $blStoreCreditCardInfo store or not credit card info |
Definition at line 178 of file oxuserpayment.php.
oxUserPayment.$_aDynValues = null [protected] |
Definition at line 49 of file oxuserpayment.php.
oxUserPayment.$_blStoreCreditCardInfo = null [protected] |
Definition at line 35 of file oxuserpayment.php.
oxUserPayment.$_oPayment = null [protected] |
Definition at line 42 of file oxuserpayment.php.
oxUserPayment.$_sClassName = 'oxuserpayment' [protected] |
Reimplemented from oxBase.
Definition at line 28 of file oxuserpayment.php.
oxUserPayment.$_sPaymentKey = 'fq45QS09_fqyx09239QQ' [protected] |
Definition at line 21 of file oxuserpayment.php.