Log in
Interface

AppliedTaxRateInterface

Magento\Tax\Api\Data\AppliedTaxRateInterface

What it does

This interface defines the contract for representing a tax rate that has been applied to an order, quote, or invoice item in Magento 2.

Developers use this when retrieving or displaying tax calculation details, including the tax code, title/description, and percentage rate.

It's primarily used in checkout, order management, and invoice generation to show customers which specific tax rates were applied to their purchases.

Public Methods

  • getCode()
  • setCode()
  • getTitle()
  • setTitle()
  • getPercent()
  • setPercent()
  • getExtensionAttributes()
  • setExtensionAttributes()