Interface
OrderTaxInterface
Magento\Tax\Api\Data\OrderTaxInterface
What it does
This interface defines the data structure for tax information applied to orders in Magento 2.
Developers use this when working with order tax data through the API, such as retrieving tax rates, amounts, codes, and priorities applied to an order.
It's essential for extensions that need to read or manipulate tax calculations on orders programmatically.
Public Methods
- getTaxId()
- setTaxId()
- getOrderId()
- setOrderId()
- getCode()
- setCode()
- getTitle()
- setTitle()
- getPercent()
- setPercent()
- getAmount()
- setAmount()
- getBaseAmount()
- setBaseAmount()
- getBaseRealAmount()
- setBaseRealAmount()
- getPriority()
- setPriority()
- getPosition()
- setPosition()
- getProcess()
- setProcess()
- getExtensionAttributes()
- setExtensionAttributes()