Log in
Interface

OrderTaxDetailsAppliedTaxInterface

Magento\Tax\Api\Data\OrderTaxDetailsAppliedTaxInterface

What it does

This interface defines the contract for representing applied tax details on orders in Magento 2.

Developers use this when retrieving or manipulating tax information applied to orders, including tax codes, titles, percentages, and amounts in both order and base currencies.

It's primarily used in order tax calculation workflows and when displaying tax breakdowns on orders.

Public Methods

  • getCode()
  • setCode()
  • getTitle()
  • setTitle()
  • getPercent()
  • setPercent()
  • getAmount()
  • setAmount()
  • getBaseAmount()
  • setBaseAmount()
  • getExtensionAttributes()
  • setExtensionAttributes()