Public Member Functions | |
__construct () | |
getBruttoSum () | |
getNettoSum () | |
getVatInfo () | |
getPriceInfo () | |
getMostUsedVatPercent () | |
addToPriceList ($oPrice) | |
Protected Attributes | |
$_aList = array() |
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.
Definition at line 8 of file oxpricelist.php.
oxPriceList.__construct | ( | ) |
Class constructor. The constructor is defined in order to be possible to call parent.__construct() in modules.
Definition at line 22 of file oxpricelist.php.
oxPriceList.addToPriceList | ( | $ | oPrice | ) |
Add an oxPrice object to prices array
oxprice | $oPrice oxprice object |
Definition at line 118 of file oxpricelist.php.
oxPriceList.getBruttoSum | ( | ) |
oxPriceList.getMostUsedVatPercent | ( | ) |
Iterates through applied VATs and fetches VAT for delivery. If not VAT was applied - default VAT (myConfig->dDefaultVAT) will be used
Definition at line 101 of file oxpricelist.php.
oxPriceList.getNettoSum | ( | ) |
oxPriceList.getPriceInfo | ( | ) |
Return prices separated to different array elements depending on VAT
Definition at line 81 of file oxpricelist.php.
oxPriceList.getVatInfo | ( | ) |
Returns VAT values sum separated to different array elements depending on VAT
Definition at line 61 of file oxpricelist.php.
oxPriceList.$_aList = array() [protected] |
Definition at line 15 of file oxpricelist.php.