Log in
Interface

CustomAttributeListInterface

Magento\Customer\Model\Address\CustomAttributeListInterface

What it does

This interface defines a contract for retrieving custom attributes associated with customer addresses in Magento 2.

Developers implement this interface when they need to programmatically access or define custom address attributes beyond the standard address fields (street, city, etc.).

It's commonly used in extensions that need to add custom data fields to customer address forms or retrieve custom address attribute metadata.

Public Methods

  • getAttributes()