Log in
Interface

GrandTotalDetailsInterface

Magento\Tax\Api\Data\GrandTotalDetailsInterface

What it does

This interface defines the contract for grand total tax details in Magento 2.

Developers use this to access tax information including the tax amount, applied tax rates, and group identifier when working with order or quote totals.

It's commonly used in checkout, order views, and any functionality that needs to display or process tax breakdown information.

Public Methods

  • getAmount()
  • setAmount()
  • getRates()
  • setRates()
  • getGroupId()
  • setGroupId()