Log in
Interface

QuoteDetailsInterface

Magento\Tax\Api\Data\QuoteDetailsInterface

What it does

This interface defines the contract for quote details data used in tax calculations.

Developers use it when calculating taxes for shopping cart items, as it provides customer information (addresses, tax class), and quote items needed to determine applicable tax rates and amounts during checkout or quote totals calculation.

Public Methods

  • getBillingAddress()
  • setBillingAddress()
  • getShippingAddress()
  • setShippingAddress()
  • getCustomerTaxClassKey()
  • setCustomerTaxClassKey()
  • getCustomerId()
  • setCustomerId()
  • getItems()
  • setItems()
  • getCustomerTaxClassId()
  • setCustomerTaxClassId()
  • getExtensionAttributes()
  • setExtensionAttributes()