◆ __construct()
OxidEsales\EshopCommunity\Application\Model\PaymentList::__construct |
( |
| ) |
|
◆ _getFilterSelect()
OxidEsales\EshopCommunity\Application\Model\PaymentList::_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 |
\OxidEsales\Eshop\Application\Model\User | $oUser | session user object |
- Returns
- string
◆ getCountryId()
OxidEsales\EshopCommunity\Application\Model\PaymentList::getCountryId |
( |
|
$oUser | ) |
|
Returns user country id for for payment selection
- Parameters
-
\OxidEsales\Eshop\Application\Model\User | $oUser | oxuser object |
- Returns
- string
◆ getPaymentList()
OxidEsales\EshopCommunity\Application\Model\PaymentList::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 |
\OxidEsales\Eshop\Application\Model\User | $oUser | session user object |
- Returns
- array
◆ loadNonRDFaPaymentList()
OxidEsales\EshopCommunity\Application\Model\PaymentList::loadNonRDFaPaymentList |
( |
| ) |
|
Loads an object including all payments which are not mapped to a predefined GoodRelations payment method.
◆ loadRDFaPaymentList()
OxidEsales\EshopCommunity\Application\Model\PaymentList::loadRDFaPaymentList |
( |
|
$dPrice = null | ) |
|
Loads payments mapped to a predefined GoodRelations payment method.
- Parameters
-
double | $dPrice | product price |
◆ setHomeCountry()
OxidEsales\EshopCommunity\Application\Model\PaymentList::setHomeCountry |
( |
|
$sHomeCountry | ) |
|
Home country setter
- Parameters
-
string | $sHomeCountry | country id |
◆ $_sHomeCountry
OxidEsales\EshopCommunity\Application\Model\PaymentList::$_sHomeCountry = null |
|
protected |
The documentation for this class was generated from the following file: