Log in
Model

AddressRepository

Magento\Customer\Model\ResourceModel\AddressRepository

What it does

This repository class manages CRUD operations for customer addresses in Magento 2.

Developers use this class to save, retrieve, search, and delete customer addresses through a consistent API interface.

It handles address validation, registry management, and ensures proper synchronization between address models and customer collections.

Public Methods

  • save()
  • getById()
  • getList()
  • delete()
  • deleteById()