oxPaymentList Class Reference

Inheritance diagram for oxPaymentList:

Inheritance graph
[legend]
Collaboration diagram for oxPaymentList:

Collaboration graph
[legend]

List of all members.


Detailed Description

Payment list manager.

Public Member Functions

 __construct ($sObjectsInListName= 'oxpayment')
 setHomeCountry ($sHomeCountry)
 getCountryId ($oUser)
 getPaymentList ($sShipSetId, $dPrice, $oUser=null)

Static Public Member Functions

static getInstance ()

Protected Member Functions

 _getFilterSelect ($sShipSetId, $dPrice, $oUser)

Protected Attributes

 $_sHomeCountry = null

Static Protected Attributes

static $_instance = null

Constructor & Destructor Documentation

oxPaymentList.__construct ( sObjectsInListName = 'oxpayment'  ) 

Class Constructor

Parameters:
string $sObjectsInListName Associated list item object type

Reimplemented from oxList.


Member Function Documentation

oxPaymentList.setHomeCountry ( sHomeCountry  ) 

Home country setter

Parameters:
string $sHomeCountry country id
Returns:
null

static oxPaymentList.getInstance (  )  [static]

Returns oxPaymentList instance

Returns:
oxpaymentList

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

oxPaymentList.getCountryId ( oUser  ) 

Returns user country id for for payment selection

Parameters:
oxuser $oUser oxuser object
Returns:
string

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


Member Data Documentation

oxPaymentList.$_instance = null [static, protected]

oxPaymentList.$_sHomeCountry = null [protected]


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

Generated on Wed Oct 29 23:45:20 2008 for OXID eShop CE by  doxygen 1.5.5