Static Protected Attributes |
static | $_instance = null |
Detailed Description
Payment list manager.
Definition at line 6 of file oxpaymentlist.php.
Constructor & Destructor Documentation
oxPaymentList::__construct |
( |
|
$sObjectsInListName = 'oxpayment' | ) |
|
Class Constructor
- Parameters
-
string | $sObjectsInListName | Associated list item object type |
Reimplemented from oxList.
Definition at line 26 of file oxpaymentlist.php.
Member Function Documentation
oxPaymentList::_getFilterSelect |
( |
|
$sShipSetId, |
|
|
|
$dPrice, |
|
|
|
$oUser |
|
) |
| |
|
protected |
Creates payment list filter SQL to load current state payment list
- Parameters
-
string | $sShipSetId | user chosen delivery set |
double | $dPrice | basket products price |
oxuser | $oUser | session user object |
- Returns
- string
Definition at line 69 of file oxpaymentlist.php.
oxPaymentList::getCountryId |
( |
|
$oUser | ) |
|
Returns user country id for for payment selection
- Parameters
-
oxuser | $oUser | oxuser object |
- Returns
- string
Definition at line 121 of file oxpaymentlist.php.
static oxPaymentList::getInstance |
( |
| ) |
|
|
static |
oxPaymentList::getPaymentList |
( |
|
$sShipSetId, |
|
|
|
$dPrice, |
|
|
|
$oUser = null |
|
) |
| |
Loads and returns list of user payments.
- Parameters
-
string | $sShipSetId | user chosen delivery set |
double | $dPrice | basket product price excl. discount |
oxuser | $oUser | session user object |
- Returns
- array
Definition at line 144 of file oxpaymentlist.php.
oxPaymentList::loadNonRDFaPaymentList |
( |
| ) |
|
Loads an object including all payments which are not mapped to a predefined GoodRelations payment method.
- Returns
- null
Definition at line 156 of file oxpaymentlist.php.
oxPaymentList::loadRDFaPaymentList |
( |
|
$dPrice = null | ) |
|
Loads payments mapped to a predefined GoodRelations payment method.
- Parameters
-
double | $dPrice | product price |
- Returns
- array
Definition at line 171 of file oxpaymentlist.php.
oxPaymentList::setHomeCountry |
( |
|
$sHomeCountry | ) |
|
Home country setter
- Parameters
-
string | $sHomeCountry | country id |
- Returns
- null
Definition at line 39 of file oxpaymentlist.php.
Member Data Documentation
oxPaymentList::$_instance = null |
|
staticprotected |
oxPaymentList::$_sHomeCountry = null |
|
protected |
The documentation for this class was generated from the following file: