Overview

Packages

  • currencysymbol
  • MAbout
  • Mage
    • Admin
    • Adminhtml
    • AdminNotification
    • Api
    • Api2
    • Authorizenet
    • Backup
    • Bundle
    • Captcha
    • Catalog
    • CatalogIndex
    • CatalogInventory
    • CatalogRule
    • CatalogSearch
    • Centinel
    • Checkout
    • Cms
    • Compiler
    • Connect
    • Contacts
    • Core
    • Cron
    • CurrencySymbol
    • Customer
    • Dataflow
    • Directory
    • DirtectPost
    • Downloadable
    • Eav
    • GiftMessage
    • GoogleAnalytics
    • GoogleBase
    • GoogleCheckout
    • ImportExport
    • Index
    • Install
    • Log
    • Media
    • Newsletter
    • Oauth
    • Page
    • PageCache
    • Paygate
    • Payment
    • Paypal
    • PaypalUk
    • Persistent
    • Poll
    • ProductAlert
    • Rating
    • Reports
    • Review
    • Rss
    • Rule
    • Sales
    • SalesRule
    • Sedfriend
    • Sendfriend
    • Shipping
    • Sitemap
    • Tag
    • Tax
    • Usa
    • Weee
    • Widget
    • Wishlist
    • XmlConnect
  • None
  • Phoenix
    • Moneybookers
  • PHP
  • Zend
    • Date
    • Mime
    • XmlRpc

Classes

  • Mage_Weee_Block_Element_Weee_Tax
  • Mage_Weee_Helper_Data
  • Mage_Weee_Model_Attribute_Backend_Weee_Tax
  • Mage_Weee_Model_Config_Source_Display
  • Mage_Weee_Model_Mysql4_Attribute_Backend_Weee_Tax
  • Mage_Weee_Model_Mysql4_Setup
  • Mage_Weee_Model_Mysql4_Tax
  • Mage_Weee_Model_Observer
  • Mage_Weee_Model_Resource_Attribute_Backend_Weee_Tax
  • Mage_Weee_Model_Resource_Setup
  • Mage_Weee_Model_Resource_Tax
  • Mage_Weee_Model_Tax
  • Mage_Weee_Model_Total_Creditmemo_Weee
  • Mage_Weee_Model_Total_Invoice_Weee
  • Mage_Weee_Model_Total_Quote_Nominal_Weee
  • Mage_Weee_Model_Total_Quote_Weee
  • Overview
  • Package
  • Class
  • Tree

Class Mage_Weee_Model_Total_Quote_Weee

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 license@magentocommerce.com 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.

Mage_Sales_Model_Quote_Address_Total_Abstract
Extended by Mage_Tax_Model_Sales_Total_Quote_Tax
Extended by Mage_Weee_Model_Total_Quote_Weee

Direct known subclasses

Mage_Weee_Model_Total_Quote_Nominal_Weee
Package: Mage\Weee
Category: Mage
Copyright: Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
License: Open Software License (OSL 3.0)
Located at code/core/Mage/Weee/Model/Total/Quote/Weee.php
Methods summary
public
# __construct( )

Initialize Weee totals collector

Initialize Weee totals collector

Overrides

Mage_Tax_Model_Sales_Total_Quote_Tax::__construct()
public Mage_Weee_Model_Total_Quote_Weee
# collect( Mage_Sales_Model_Quote_Address $address )

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

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

Parameters

$address
Mage_Sales_Model_Quote_Address
$address

Returns

Mage_Weee_Model_Total_Quote_Weee

Overrides

Mage_Tax_Model_Sales_Total_Quote_Tax::collect()
protected Mage_Weee_Model_Total_Quote_Weee
# _process( Mage_Sales_Model_Quote_Address $address, Mage_Sales_Model_Quote_Item_Abstract $item )

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

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

Parameters

$address
Mage_Sales_Model_Quote_Address
$address
$item
Mage_Sales_Model_Quote_Item_Abstract
$item

Returns

Mage_Weee_Model_Total_Quote_Weee
protected Mage_Weee_Model_Total_Quote_Weee
# _processDiscountSettings( Mage_Sales_Model_Quote_Item_Abstract $item, float $value, float $baseValue )

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

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

Parameters

$item
Mage_Sales_Model_Quote_Item_Abstract
$item
$value
float
$value
$baseValue
float
$baseValue

Returns

Mage_Weee_Model_Total_Quote_Weee
protected Mage_Weee_Model_Total_Quote_Weee
# _processTaxSettings( Mage_Sales_Model_Quote_Item_Abstract $item, float $value, float $baseValue, float $rowValue, float $baseRowValue )

Add extra amount which should be taxable by regular tax

Add extra amount which should be taxable by regular tax

Parameters

$item
Mage_Sales_Model_Quote_Item_Abstract
$item
$value
float
$value
$baseValue
float
$baseValue
$rowValue
float
$rowValue
$baseRowValue
float
$baseRowValue

Returns

Mage_Weee_Model_Total_Quote_Weee
protected Mage_Weee_Model_Total_Quote_Weee
# _processTotalAmount( Mage_Sales_Model_Quote_Address $address, float $rowValue, float $baseRowValue )

Proces row amount based on FPT total amount configuration setting

Proces row amount based on FPT total amount configuration setting

Parameters

$address
Mage_Sales_Model_Quote_Address
$address
$rowValue
float
$rowValue
$baseRowValue
float
$baseRowValue

Returns

Mage_Weee_Model_Total_Quote_Weee
protected Mage_Weee_Model_Total_Quote_Weee
# _recalculateParent( Mage_Sales_Model_Quote_Item_Abstract $item )

Recalculate parent item amounts based on children results

Recalculate parent item amounts based on children results

Parameters

$item
Mage_Sales_Model_Quote_Item_Abstract
$item

Returns

Mage_Weee_Model_Total_Quote_Weee

Overrides

Mage_Tax_Model_Sales_Total_Quote_Tax::_recalculateParent()
protected Mage_Weee_Model_Total_Quote_Weee
# _resetItemData( Mage_Sales_Model_Quote_Item_Abstract $item )

Reset information about FPT for shopping cart item

Reset information about FPT for shopping cart item

Parameters

$item
Mage_Sales_Model_Quote_Item_Abstract
$item

Returns

Mage_Weee_Model_Total_Quote_Weee
public Mage_Weee_Model_Total_Quote_Weee
# fetch( Mage_Sales_Model_Quote_Address $address )

Fetch FPT data to address object for display in totals block

Fetch FPT data to address object for display in totals block

Parameters

$address
Mage_Sales_Model_Quote_Address
$address

Returns

Mage_Weee_Model_Total_Quote_Weee

Overrides

Mage_Tax_Model_Sales_Total_Quote_Tax::fetch()
public array
# processConfigArray( array $config, store $store )

Process model configuration array. This method can be used for changing totals collect sort order

Process model configuration array. This method can be used for changing totals collect sort order

Parameters

$config
array
$config
$store
store
$store

Returns

array

Overrides

Mage_Tax_Model_Sales_Total_Quote_Tax::processConfigArray()
public string
# getLabel( )

No aggregated label for fixed product tax

No aggregated label for fixed product tax

TODO: fix

Returns

string

Overrides

Mage_Tax_Model_Sales_Total_Quote_Tax::getLabel()
Methods inherited from Mage_Tax_Model_Sales_Total_Quote_Tax
_aggregateTaxPerRate(), _calcRowTaxAmount(), _calcUnitTaxAmount(), _calculateShippingTax(), _deltaRound(), _processHiddenTaxes(), _rowBaseCalculation(), _saveAppliedTaxes(), _totalBaseCalculation(), _unitBaseCalculation(), _usePriceIncludeTax()
Methods inherited from Mage_Sales_Model_Quote_Address_Total_Abstract
_addAmount(), _addBaseAmount(), _getAddress(), _getAddressItems(), _setAddress(), _setAmount(), _setBaseAmount(), getCode(), getIsItemRowTotalCompoundable(), getItemBaseRowTotal(), getItemRowTotal(), setCode()
Properties summary
protected Mage_Weee_Helper_Data $_helper
#

Weee module helper object

Weee module helper object

protected mixed $_store
#
protected Mage_Tax_Model_Config $_config
#

Tax configuration object

Tax configuration object

protected boolean $_isTaxAffected
#

Flag which notify what tax amount can be affected by fixed porduct tax

Flag which notify what tax amount can be affected by fixed porduct tax

Properties inherited from Mage_Tax_Model_Sales_Total_Quote_Tax
$_areTaxRequestsSimilar, $_baseRoundingDeltas, $_calculator, $_hiddenTaxes, $_roundingDeltas
Properties inherited from Mage_Sales_Model_Quote_Address_Total_Abstract
$_address, $_canAddAmountToAddress, $_canSetAddressAmount, $_code, $_itemRowTotalKey
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0