OXID eShop CE
6.1.5
|
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.
OxidEsales\EshopCommunity\Application\Model\UserPayment::__construct | ( | ) |
Class constructor. Sets payment key for encoding sensitive data and
OxidEsales\EshopCommunity\Application\Model\UserPayment::__get | ( | $sName | ) |
Special getter for oxpayments__oxdesc field
string | $sName | name of field |
|
protected |
Inserts payment information to DB. Returns insert status.
|
protected |
Updates payment record in DB. Returns update status.
OxidEsales\EshopCommunity\Application\Model\UserPayment::getDynValues | ( | ) |
Returns an array of dyn payment values
OxidEsales\EshopCommunity\Application\Model\UserPayment::getPaymentByPaymentType | ( | $oUser = null , |
|
$sPaymentType = null |
|||
) |
Get user payment by payment id
\OxidEsales\Eshop\Application\Model\User | $oUser | user object |
string | $sPaymentType | payment type |
OxidEsales\EshopCommunity\Application\Model\UserPayment::getPaymentKey | ( | ) |
Returns payment key used for DB value decription
OxidEsales\EshopCommunity\Application\Model\UserPayment::getStoreCreditCardInfo | ( | ) |
Get store or not credit card information in db parameter
OxidEsales\EshopCommunity\Application\Model\UserPayment::load | ( | $sOxId | ) |
Loads user payment object
string | $sOxId | oxuserpayment id |
OxidEsales\EshopCommunity\Application\Model\UserPayment::setDynValues | ( | $aDynValues | ) |
sets the dyn values
array | $aDynValues | the array of dy values |
OxidEsales\EshopCommunity\Application\Model\UserPayment::setStoreCreditCardInfo | ( | $blStoreCreditCardInfo | ) |
Set store or not credit card information in db
bool | $blStoreCreditCardInfo | store or not credit card info |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |