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_Tax

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.

Varien_Object
Extended by Mage_Core_Model_Abstract
Extended by Mage_Weee_Model_Tax
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/Tax.php
Methods summary
protected
# _construct( )

Initialize resource

Initialize resource

public
# getWeeeAmount( mixed $product, mixed $shipping = null, mixed $billing = null, mixed $website = null, mixed $calculateTax = false, mixed $ignoreDiscount = false )
public
# getWeeeAttributeCodes( mixed $forceEnabled = false )
public array
# getWeeeTaxAttributeCodes( boolean $forceEnabled = false )

Retrieve Wee tax attribute codes

Retrieve Wee tax attribute codes

Parameters

$forceEnabled
boolean
$forceEnabled

Returns

array
public
# getProductWeeeAttributes( mixed $product, mixed $shipping = null, mixed $billing = null, mixed $website = null, mixed $calculateTax = null, mixed $ignoreDiscount = false )
protected
# _getDiscountPercentForProduct( mixed $product )
public Mage_Weee_Model_Tax
# updateDiscountPercents( )

Update discounts for FPT amounts of all products

Update discounts for FPT amounts of all products

Returns

Mage_Weee_Model_Tax
public Mage_Weee_Model_Tax
# updateProductsDiscountPercent( mixed $products )

Update discounts for FPT amounts base on products condiotion

Update discounts for FPT amounts base on products condiotion

Parameters

$products
mixed
$products

Returns

Mage_Weee_Model_Tax
Methods inherited from Mage_Core_Model_Abstract
_afterDelete(), _afterDeleteCommit(), _afterLoad(), _afterSave(), _beforeDelete(), _beforeLoad(), _beforeSave(), _clearData(), _clearReferences(), _getEventData(), _getResource(), _hasModelChanged(), _init(), _protectFromNonAdmin(), _setResourceModel(), afterCommitCallback(), afterLoad(), cleanModelCache(), clearInstance(), delete(), getCacheIdTags(), getCacheTags(), getCollection(), getEntityId(), getId(), getIdFieldName(), getResource(), getResourceCollection(), getResourceName(), isObjectNew(), load(), save(), setId()
Constants summary
integer DISPLAY_INCL 0
#

Including FPT only

Including FPT only

integer DISPLAY_INCL_DESCR 1
#

Including FPT and FPT description

Including FPT and FPT description

integer DISPLAY_EXCL_DESCR_INCL 2
#

Excluding FPT, FPT description, final price

Excluding FPT, FPT description, final price

integer DISPLAY_EXCL 3
#

Excluding FPT

Excluding FPT

Properties summary
protected mixed $_allAttributes null
#
protected array $_productDiscounts array()
#
Properties inherited from Mage_Core_Model_Abstract
$_cacheTag, $_dataSaveAllowed, $_eventObject, $_eventPrefix, $_isObjectNew, $_resource, $_resourceCollectionName, $_resourceName
Magento 1.7.0.2 API documentation generated by ApiGen 2.8.0