PageRenderTime 46ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/app/code/core/Mage/Tax/Model/Class.php

https://bitbucket.org/sunil_nextbits/magento2
PHP | 58 lines | 10 code | 4 blank | 44 comment | 0 complexity | a2eb87d217a44c62f8a43e809aade452 MD5 | raw file
  1. <?php
  2. /**
  3. * Magento
  4. *
  5. * NOTICE OF LICENSE
  6. *
  7. * This source file is subject to the Open Software License (OSL 3.0)
  8. * that is bundled with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://opensource.org/licenses/osl-3.0.php
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@magentocommerce.com so we can send you a copy immediately.
  14. *
  15. * DISCLAIMER
  16. *
  17. * Do not edit or add to this file if you wish to upgrade Magento to newer
  18. * versions in the future. If you wish to customize Magento for your
  19. * needs please refer to http://www.magentocommerce.com for more information.
  20. *
  21. * @category Mage
  22. * @package Mage_Tax
  23. * @copyright Copyright (c) 2012 X.commerce, Inc. (http://www.magentocommerce.com)
  24. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  25. */
  26. /**
  27. * Tax class model
  28. *
  29. * @method Mage_Tax_Model_Resource_Class _getResource()
  30. * @method Mage_Tax_Model_Resource_Class getResource()
  31. * @method string getClassName()
  32. * @method Mage_Tax_Model_Class setClassName(string $value)
  33. * @method string getClassType()
  34. * @method Mage_Tax_Model_Class setClassType(string $value)
  35. *
  36. * @category Mage
  37. * @package Mage_Tax
  38. * @author Magento Core Team <core@magentocommerce.com>
  39. */
  40. class Mage_Tax_Model_Class extends Mage_Core_Model_Abstract
  41. {
  42. /**
  43. * Defines Customer Tax Class string
  44. */
  45. const TAX_CLASS_TYPE_CUSTOMER = 'CUSTOMER';
  46. /**
  47. * Defines Product Tax Class string
  48. */
  49. const TAX_CLASS_TYPE_PRODUCT = 'PRODUCT';
  50. public function _construct()
  51. {
  52. $this->_init('Mage_Tax_Model_Resource_Class');
  53. }
  54. }