Class Mage_Weee_Model_Total_Quote_Weee

Description

Magento

NOTICE OF LICENSE

This source file is subject to the Open Software License (OSL 3.0) that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://opensource.org/licenses/osl-3.0.php If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

DISCLAIMER

Do not edit or add to this file if you wish to upgrade Magento to newer versions in the future. If you wish to customize Magento for your needs please refer to http://www.magentocommerce.com for more information.

Located in /Weee/Model/Total/Quote/Weee.php (line 28)

Mage_Sales_Model_Quote_Address_Total_Abstract
   |
   --Mage_Tax_Model_Sales_Total_Quote_Tax
      |
      --Mage_Weee_Model_Total_Quote_Weee
Direct descendents
Class Description
Mage_Weee_Model_Total_Quote_Nominal_Weee Nominal fixed product tax total
Variable Summary
Method Summary
Variables
Methods
Constructor __construct (line 55)

Initialize Weee totals collector

  • access: public
Mage_Weee_Model_Total_Quote_Weee __construct ()

Redefinition of:
Mage_Tax_Model_Sales_Total_Quote_Tax::__construct()
Class constructor
collect (line 68)

Collect Weee taxes amount ant prepare items prices for taxation and discount

  • access: public
Mage_Weee_Model_Total_Quote_Weee collect ( $address)

Redefinition of:
Mage_Tax_Model_Sales_Total_Quote_Tax::collect()
Collect tax totals for quote address
fetch (line 302)

Fetch FPT data to address object for display in totals block

  • access: public

Redefinition of:
Mage_Tax_Model_Sales_Total_Quote_Tax::fetch()
Add tax totals information to address object
getLabel (line 517)

No aggregated label for fixed product tax

TODO: fix

  • access: public
void getLabel ()

Redefinition of:
Mage_Tax_Model_Sales_Total_Quote_Tax::getLabel()
Get Tax label
processConfigArray (line 315)

Process model configuration array.

This method can be used for changing totals collect sort order

  • access: public
array processConfigArray (array $config, store $store)
  • array $config
  • store $store

Redefinition of:
Mage_Tax_Model_Sales_Total_Quote_Tax::processConfigArray()
Process model configuration array.
_process (line 112)

Calculate item fixed tax and prepare information for discount and recular taxation

  • access: protected
_processDiscountSettings (line 205)

Check if discount should be applied to weee and add weee to discounted price

  • access: protected
Mage_Weee_Model_Total_Quote_Weee _processDiscountSettings (Mage_Sales_Model_Quote_Item_Abstract $item, float $value, float $baseValue)
_processItem (line 329)

Process item fixed taxes

  • deprecated: since 1.3.2.3
  • access: protected
Mage_Weee_Model_Total_Quote_Weee _processItem ( $address, Mage_Sales_Model_Quote_Item_Abstract $item, [bool $updateParent = false])
_processTaxSettings (line 223)

Add extra amount which should be taxable by regular tax

  • access: protected
Mage_Weee_Model_Total_Quote_Weee _processTaxSettings (Mage_Sales_Model_Quote_Item_Abstract $item, float $value, float $baseValue, float $rowValue, float $baseRowValue)
_processTotalAmount (line 249)

Proces row amount based on FPT total amount configuration setting

  • access: protected
Mage_Weee_Model_Total_Quote_Weee _processTotalAmount (Mage_Sales_Model_Quote_Address $address, float $rowValue, float $baseRowValue)
_recalculateParent (line 268)

Recalculate parent item amounts based on children results

  • access: protected
Mage_Weee_Model_Total_Quote_Weee _recalculateParent ( $item)

Redefinition of:
Mage_Tax_Model_Sales_Total_Quote_Tax::_recalculateParent()
Recalculate parent item amounts base on children data
_resetItemData (line 279)

Reset information about FPT for shopping cart item

  • access: protected

Inherited Methods

Inherited From Mage_Tax_Model_Sales_Total_Quote_Tax

Mage_Tax_Model_Sales_Total_Quote_Tax::__construct()
Mage_Tax_Model_Sales_Total_Quote_Tax::collect()
Mage_Tax_Model_Sales_Total_Quote_Tax::fetch()
Mage_Tax_Model_Sales_Total_Quote_Tax::getLabel()
Mage_Tax_Model_Sales_Total_Quote_Tax::processConfigArray()
Mage_Tax_Model_Sales_Total_Quote_Tax::_aggregateTaxPerRate()
Mage_Tax_Model_Sales_Total_Quote_Tax::_calcRowTaxAmount()
Mage_Tax_Model_Sales_Total_Quote_Tax::_calculateShippingTax()
Mage_Tax_Model_Sales_Total_Quote_Tax::_calcUnitTaxAmount()
Mage_Tax_Model_Sales_Total_Quote_Tax::_deltaRound()
Mage_Tax_Model_Sales_Total_Quote_Tax::_processHiddenTaxes()
Mage_Tax_Model_Sales_Total_Quote_Tax::_recalculateParent()
Mage_Tax_Model_Sales_Total_Quote_Tax::_rowBaseCalculation()
Mage_Tax_Model_Sales_Total_Quote_Tax::_saveAppliedTaxes()
Mage_Tax_Model_Sales_Total_Quote_Tax::_totalBaseCalculation()
Mage_Tax_Model_Sales_Total_Quote_Tax::_unitBaseCalculation()
Mage_Tax_Model_Sales_Total_Quote_Tax::_usePriceIncludeTax()

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:16:21 +0200 by phpDocumentor 1.4.3