1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Tax\Api;
- /**
- * Interface for managing classes rates.
- * @api
- * @since 100.0.2
- */
- interface TaxClassManagementInterface
- {
- /**#@+
- * Tax class type.
- */
- const TYPE_CUSTOMER = 'CUSTOMER';
- const TYPE_PRODUCT = 'PRODUCT';
- /**#@-*/
- /**
- * Get tax class id
- *
- * @param \Magento\Tax\Api\Data\TaxClassKeyInterface|null $taxClassKey
- * @param string $taxClassType
- * @return int|null
- */
- public function getTaxClassId($taxClassKey, $taxClassType = self::TYPE_PRODUCT);
- }
|