Repository
AddressRepositoryInterface
Magento\Customer\Api\AddressRepositoryInterface
What it does
This interface defines the contract for managing customer address data in Magento 2.
Developers use this repository to perform CRUD operations on customer addresses, including saving new addresses, retrieving addresses by ID or search criteria, and deleting addresses.
It's the primary service layer interface for working with customer address data throughout the application.
Public Methods
- save()
- getById()
- getList()
- delete()
- deleteById()