OrderTaxDetailsItemInterface
Magento\Tax\Api\Data\OrderTaxDetailsItemInterface
What it does
This interface defines the contract for representing tax details of individual items within an order, such as products, shipping, or gift wrapping.
Developers use this when working with order tax calculations to retrieve or set tax information including item type, associated taxes, and relationships between items.
It's commonly used when building custom tax reports, order management extensions, or integrating with external tax calculation services.
Public Methods
- getType()
- setType()
- getItemId()
- setItemId()
- getAssociatedItemId()
- setAssociatedItemId()
- getAppliedTaxes()
- setAppliedTaxes()
- getExtensionAttributes()
- setExtensionAttributes()