Log in
Helper

Address

Magento\Customer\Helper\Address

What it does

This helper class provides utility methods for managing customer address functionality in Magento 2.

Developers use it to retrieve address configurations, format addresses for display, validate address attributes, handle street line conversions, and check VAT validation settings.

It's commonly used when working with customer address forms, address rendering, or when needing to access address-related configuration values across different stores and websites.

Public Methods

  • getBookUrl()
  • getEditUrl()
  • getDeleteUrl()
  • getCreateUrl()
  • getRenderer()
  • getConfig()
  • getStreetLines()
  • getFormat()
  • getFormatTypeRenderer()
  • canShowConfig()
  • getAttributeValidationClass()
  • convertStreetLines()
  • isVatValidationEnabled()
  • isDisableAutoGroupAssignDefaultValue()
  • hasValidateOnEachTransaction()
  • getTaxCalculationAddressType()
  • isVatAttributeVisible()
  • isAttributeVisible()
  • _resetState()