Class Mage_Weee_Model_Tax

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/Tax.php (line 27)

Varien_Object
   |
   --Mage_Core_Model_Abstract
      |
      --Mage_Weee_Model_Tax
Class Constant Summary
Variable Summary
Method Summary
void getProductWeeeAttributes ( $product, [ $shipping = null], [ $billing = null], [ $website = null], [ $calculateTax = null], [ $ignoreDiscount = false])
void getWeeeAmount ( $product, [ $shipping = null], [ $billing = null], [ $website = null], [ $calculateTax = false], [ $ignoreDiscount = false])
void getWeeeAttributeCodes ([ $forceEnabled = false])
void getWeeeTaxAttributeCodes ([ $forceEnabled = false])
void _construct ()
void _getDiscountPercentForProduct ( $product)
Variables
Methods
getProductWeeeAttributes (line 85)
  • access: public
void getProductWeeeAttributes ( $product, [ $shipping = null], [ $billing = null], [ $website = null], [ $calculateTax = null], [ $ignoreDiscount = false])
  • $product
  • $shipping
  • $billing
  • $website
  • $calculateTax
  • $ignoreDiscount
getWeeeAmount (line 58)
  • access: public
void getWeeeAmount ( $product, [ $shipping = null], [ $billing = null], [ $website = null], [ $calculateTax = false], [ $ignoreDiscount = false])
  • $product
  • $shipping
  • $billing
  • $website
  • $calculateTax
  • $ignoreDiscount
getWeeeAttributeCodes (line 68)
  • access: public
void getWeeeAttributeCodes ([ $forceEnabled = false])
  • $forceEnabled
getWeeeTaxAttributeCodes (line 73)
  • access: public
void getWeeeTaxAttributeCodes ([ $forceEnabled = false])
  • $forceEnabled
updateDiscountPercents (line 195)

Update discounts for FPT amounts of all products

  • access: public
Mage_Weee_Model_Tax updateDiscountPercents ()
updateProductsDiscountPercent (line 207)

Update discounts for FPT amounts base on products condiotion

  • access: public
Mage_Weee_Model_Tax updateProductsDiscountPercent (mixed $products)
  • mixed $products
_construct (line 52)

Initialize resource

  • access: protected
void _construct ()
_getDiscountPercentForProduct (line 175)
  • access: protected
void _getDiscountPercentForProduct ( $product)
  • $product

Inherited Methods

Inherited From Mage_Core_Model_Abstract

Mage_Core_Model_Abstract::afterCommitCallback()
Mage_Core_Model_Abstract::afterLoad()
Mage_Core_Model_Abstract::cleanModelCache()
Mage_Core_Model_Abstract::clearInstance()
Mage_Core_Model_Abstract::delete()
Mage_Core_Model_Abstract::getCacheIdTags()
Mage_Core_Model_Abstract::getCacheTags()
Mage_Core_Model_Abstract::getCollection()
Mage_Core_Model_Abstract::getEntityId()
Mage_Core_Model_Abstract::getId()
Mage_Core_Model_Abstract::getIdFieldName()
Mage_Core_Model_Abstract::getResource()
Mage_Core_Model_Abstract::getResourceCollection()
Mage_Core_Model_Abstract::getResourceName()
Mage_Core_Model_Abstract::isObjectNew()
Mage_Core_Model_Abstract::load()
Mage_Core_Model_Abstract::save()
Mage_Core_Model_Abstract::setId()
Mage_Core_Model_Abstract::_afterDelete()
Mage_Core_Model_Abstract::_afterDeleteCommit()
Mage_Core_Model_Abstract::_afterLoad()
Mage_Core_Model_Abstract::_afterSave()
Mage_Core_Model_Abstract::_afterSaveCommit()
Mage_Core_Model_Abstract::_beforeDelete()
Mage_Core_Model_Abstract::_beforeLoad()
Mage_Core_Model_Abstract::_beforeSave()
Mage_Core_Model_Abstract::_clearData()
Mage_Core_Model_Abstract::_clearReferences()
Mage_Core_Model_Abstract::_getEventData()
Mage_Core_Model_Abstract::_getResource()
Mage_Core_Model_Abstract::_hasModelChanged()
Mage_Core_Model_Abstract::_init()
Mage_Core_Model_Abstract::_protectFromNonAdmin()
Mage_Core_Model_Abstract::_setResourceModel()
Class Constants
DISPLAY_EXCL = 3 (line 44)

Excluding FPT

DISPLAY_EXCL_DESCR_INCL = 2 (line 40)

Excluding FPT, FPT description, final price

DISPLAY_INCL = 0 (line 32)

Including FPT only

DISPLAY_INCL_DESCR = 1 (line 36)

Including FPT and FPT description

Documentation generated on Fri, 11 Feb 2011 17:14:21 +0200 by phpDocumentor 1.4.3