Log in
Interface

EstimateAddressInterface

Magento\Quote\Api\Data\EstimateAddressInterface

What it does

This interface defines a lightweight address data structure used specifically for estimating shipping costs and taxes in Magento 2.

Developers use this when customers need shipping estimates during checkout without providing a complete address - only requiring essential location data like country, region, and postal code.

It's commonly used in shopping cart shipping estimation features where full address details aren't yet available.

Public Methods

  • getRegion()
  • setRegion()
  • getRegionId()
  • setRegionId()
  • getCountryId()
  • setCountryId()
  • getPostcode()
  • setPostcode()
  • getExtensionAttributes()
  • setExtensionAttributes()