oxPriceList Class Reference

List of all members.


Detailed Description

Price list class. Deals with a list of oxPrice object. The main reason why we can't just sum oxPrice objects is that they have different VAT percents.

Public Member Functions

 getBruttoSum ()
 getNettoSum ()
 getVatInfo ()
 getPriceInfo ()
 getMostUsedVatPercent ()
 addToPriceList ($oPrice)

Protected Attributes

 $_aList = array()

Member Function Documentation

oxPriceList.getBruttoSum (  ) 

Returns Brutto price sum

Returns:
double

oxPriceList.getNettoSum (  ) 

Returns the sum of list Netto prices

Returns:
double

oxPriceList.getVatInfo (  ) 

Returns VAT values sum separated to different array elements depending on VAT

Returns:
array

oxPriceList.getPriceInfo (  ) 

Return prices separated to different array elements depending on VAT

Returns:
array

oxPriceList.getMostUsedVatPercent (  ) 

Iterates through applied VATs and fetches VAT for delivery. If not VAT was applied - default VAT (myConfig->dDefaultVAT) will be used

Returns:
double

oxPriceList.addToPriceList ( oPrice  ) 

Add an oxPrice object to prices array

Parameters:
oxprice $oPrice oxprice object
Returns:
null


Member Data Documentation

oxPriceList.$_aList = array() [protected]


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

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