OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Application\Model\PaymentList Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Model\PaymentList:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Model\PaymentList:

Public Member Functions

 __construct ()
 
 setHomeCountry ($sHomeCountry)
 
 getCountryId ($oUser)
 
 getPaymentList ($sShipSetId, $dPrice, $oUser=null)
 
 loadNonRDFaPaymentList ()
 
 loadRDFaPaymentList ($dPrice=null)
 

Protected Member Functions

 _getFilterSelect ($sShipSetId, $dPrice, $oUser)
 

Protected Attributes

 $_sHomeCountry = null
 

Detailed Description

Payment list manager.

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Application\Model\PaymentList::__construct ( )

Class Constructor

Member Function Documentation

◆ _getFilterSelect()

OxidEsales\EshopCommunity\Application\Model\PaymentList::_getFilterSelect (   $sShipSetId,
  $dPrice,
  $oUser 
)
protected

Creates payment list filter SQL to load current state payment list

Parameters
string$sShipSetIduser chosen delivery set
double$dPricebasket products price
\OxidEsales\Eshop\Application\Model\User$oUsersession 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$oUseroxuser object
Returns
string

◆ getPaymentList()

OxidEsales\EshopCommunity\Application\Model\PaymentList::getPaymentList (   $sShipSetId,
  $dPrice,
  $oUser = null 
)

Loads and returns list of user payments.

Parameters
string$sShipSetIduser chosen delivery set
double$dPricebasket product price excl. discount
\OxidEsales\Eshop\Application\Model\User$oUsersession 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$dPriceproduct price

◆ setHomeCountry()

OxidEsales\EshopCommunity\Application\Model\PaymentList::setHomeCountry (   $sHomeCountry)

Home country setter

Parameters
string$sHomeCountrycountry id

Member Data Documentation

◆ $_sHomeCountry

OxidEsales\EshopCommunity\Application\Model\PaymentList::$_sHomeCountry = null
protected

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