Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-tax
Api
Data
TaxRuleInterface.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Tax\Api\Data
;
8
9
use
Magento\Framework\Api\ExtensibleDataInterface
;
10
16
interface
TaxRuleInterface
extends
ExtensibleDataInterface
17
{
23
public
function
getId
();
24
31
public
function
setId
(
$id
);
32
38
public
function
getCode
();
39
46
public
function
setCode
(
$code
);
47
53
public
function
getPriority
();
54
61
public
function
setPriority
($priority);
62
68
public
function
getPosition
();
69
76
public
function
setPosition
($position);
77
83
public
function
getCustomerTaxClassIds
();
84
91
public
function
setCustomerTaxClassIds
(array $customerTaxClassIds =
null
);
92
98
public
function
getProductTaxClassIds
();
99
106
public
function
setProductTaxClassIds
(array $productTaxClassIds =
null
);
107
113
public
function
getTaxRateIds
();
114
121
public
function
setTaxRateIds
(array $taxRateIds =
null
);
122
128
public
function
getCalculateSubtotal
();
129
136
public
function
setCalculateSubtotal
($calculateSubtotal);
137
143
public
function
getExtensionAttributes
();
144
151
public
function
setExtensionAttributes
(\
Magento
\Tax\Api\Data\TaxRuleExtensionInterface
$extensionAttributes
);
152
}
Magento\Tax\Api\Data\TaxRuleInterface\setPriority
setPriority($priority)
Magento\Tax\Api\Data\TaxRuleInterface\getId
getId()
Magento\Tax\Api\Data\TaxRuleInterface\setPosition
setPosition($position)
Magento\Tax\Api\Data\TaxRuleInterface\setCalculateSubtotal
setCalculateSubtotal($calculateSubtotal)
$id
$id
Definition:
fieldset.phtml:14
Magento\Tax\Api\Data\TaxRuleInterface\getPosition
getPosition()
Magento\Tax\Api\Data\TaxRuleInterface\setCode
setCode($code)
Magento\Tax\Api\Data\TaxRuleInterface\getTaxRateIds
getTaxRateIds()
Magento\Tax\Api\Data\TaxRuleInterface\getExtensionAttributes
getExtensionAttributes()
Magento\Tax\Api\Data\TaxRuleInterface\getPriority
getPriority()
Magento\Tax\Api\Data\TaxRuleInterface\getCustomerTaxClassIds
getCustomerTaxClassIds()
Magento\Tax\Api\Data\TaxRuleInterface\setCustomerTaxClassIds
setCustomerTaxClassIds(array $customerTaxClassIds=null)
Magento\Tax\Api\Data\TaxRuleInterface\setTaxRateIds
setTaxRateIds(array $taxRateIds=null)
Magento\Tax\Api\Data
Definition:
AppliedTaxInterface.php:6
Magento\Tax\Api\Data\TaxRuleInterface\setExtensionAttributes
setExtensionAttributes(\Magento\Tax\Api\Data\TaxRuleExtensionInterface $extensionAttributes)
Magento\Tax\Api\Data\TaxRuleInterface\setId
setId($id)
Magento\Tax\Api\Data\TaxRuleInterface\getCalculateSubtotal
getCalculateSubtotal()
$extensionAttributes
$extensionAttributes
Definition:
payment.php:22
Magento
Magento\Tax\Api\Data\TaxRuleInterface\getProductTaxClassIds
getProductTaxClassIds()
Magento\Tax\Api\Data\TaxRuleInterface
Definition:
TaxRuleInterface.php:16
Magento\Framework\Api\ExtensibleDataInterface
Definition:
ExtensibleDataInterface.php:15
Magento\Tax\Api\Data\TaxRuleInterface\getCode
getCode()
Magento\Tax\Api\Data\TaxRuleInterface\setProductTaxClassIds
setProductTaxClassIds(array $productTaxClassIds=null)
$code
$code
Definition:
info.phtml:12