Calculate items and address amounts including/excluding tax
Located in /Tax/Model/Sales/Total/Quote/Subtotal.php (line 30)
Mage_Sales_Model_Quote_Address_Total_Abstract | --Mage_Tax_Model_Sales_Total_Quote_Subtotal
| Class | Description |
|---|---|
| Mage_Tax_Model_Sales_Total_Quote_Nominal_Subtotal | Nominal subtotal tax total |
Flag which is initialized when collect method is started and catalog prices include tax.
Is used for checking if store tax and customer tax requests are similar
Tax calculation model
Tax configuration object
Request which can be used for tax rate calculation
Inherited from Mage_Sales_Model_Quote_Address_Total_Abstract
Mage_Sales_Model_Quote_Address_Total_Abstract::$_address
Mage_Sales_Model_Quote_Address_Total_Abstract::$_canAddAmountToAddress
Mage_Sales_Model_Quote_Address_Total_Abstract::$_canSetAddressAmount
Mage_Sales_Model_Quote_Address_Total_Abstract::$_code
Mage_Sales_Model_Quote_Address_Total_Abstract::$_itemRowTotalKey
Class constructor
Calculate item price including/excluding tax, row total including/excluding tax and subotal including/excluding tax.
Determine discount price if needed
Add row total item amount to subtotal
Round price based on previous rounding operation delta
Get request for fetching address tax rate
Get request for fetching store tax rate
Check if we need subtract store tax amount from item prices
Caclulate item price and row total with configured rounding level
Recalculate row information for item based on children calculation
Recollect item price and row total using after taxes subtract.
Declare item price including tax attributes
Unset item prices/totals with price include tax.
Operation is necessary for reset item state in case if configuration was changed
Calculate item price and row total including/excluding tax based on row total price rounding level
Checks whether request for an item has same rate as store one Used only after collect() started, as far as uses optimized $_areTaxRequestsSimilar property Used only in case of prices including tax
Calculate item price and row total including/excluding tax based on total price rounding level
Calculate item price and row total including/excluding tax based on unit price rounding level
Inherited From Mage_Sales_Model_Quote_Address_Total_Abstract
Mage_Sales_Model_Quote_Address_Total_Abstract::collect()
Mage_Sales_Model_Quote_Address_Total_Abstract::fetch()
Mage_Sales_Model_Quote_Address_Total_Abstract::getCode()
Mage_Sales_Model_Quote_Address_Total_Abstract::getIsItemRowTotalCompoundable()
Mage_Sales_Model_Quote_Address_Total_Abstract::getItemBaseRowTotal()
Mage_Sales_Model_Quote_Address_Total_Abstract::getItemRowTotal()
Mage_Sales_Model_Quote_Address_Total_Abstract::getLabel()
Mage_Sales_Model_Quote_Address_Total_Abstract::processConfigArray()
Mage_Sales_Model_Quote_Address_Total_Abstract::setCode()
Mage_Sales_Model_Quote_Address_Total_Abstract::_addAmount()
Mage_Sales_Model_Quote_Address_Total_Abstract::_addBaseAmount()
Mage_Sales_Model_Quote_Address_Total_Abstract::_getAddress()
Mage_Sales_Model_Quote_Address_Total_Abstract::_getAddressItems()
Mage_Sales_Model_Quote_Address_Total_Abstract::_setAddress()
Mage_Sales_Model_Quote_Address_Total_Abstract::_setAmount()
Mage_Sales_Model_Quote_Address_Total_Abstract::_setBaseAmount()
Documentation generated on Fri, 11 Feb 2011 17:13:38 +0200 by phpDocumentor 1.4.3