Address
Magento\Customer\Helper\Address
What it does
This helper class provides utilities for working with customer addresses in Magento 2, including address formatting, validation, and configuration management.
Developers use it to retrieve address format renderers, validate VAT IDs, get street line counts, and check address-related configuration settings.
It's commonly used in customer account pages, checkout processes, and anywhere customer addresses need to be displayed or validated.
Public Methods
- getBookUrl()
- getEditUrl()
- getDeleteUrl()
- getCreateUrl()
- getRenderer()
- getConfig()
- getStreetLines()
- getFormat()
- getFormatTypeRenderer()
- canShowConfig()
- getAttributeValidationClass()
- convertStreetLines()
- isVatValidationEnabled()
- isDisableAutoGroupAssignDefaultValue()
- hasValidateOnEachTransaction()
- getTaxCalculationAddressType()
- isVatAttributeVisible()
- isAttributeVisible()
- _resetState()