Log in
Model

EstimateAddress

Magento\Quote\Model\EstimateAddress

What it does

This class represents a simplified address model used for estimating shipping costs and taxes in the shopping cart without requiring a full customer address.

Developers use it when customers need to preview shipping rates before checkout by providing minimal location information like country, region, and postal code.

Public Methods

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