Log in
Model

AddressRepository

Magento\Sales\Model\Order\AddressRepository

What it does

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

Developers use it to retrieve, save, delete, or search for order billing and shipping addresses through a standardized API interface.

It handles address persistence, caching in a registry, and formatting of custom multiline/multiselect address attributes.

Public Methods

  • get()
  • getList()
  • delete()
  • deleteById()
  • save()
  • create()