Log in
Model

AddressRepository

Magento\Sales\Model\Order\AddressRepository

What it does

The AddressRepository class manages order address data in Magento 2, providing methods to create, retrieve, update, and delete order addresses.

Developers use this repository when they need to programmatically work with billing or shipping addresses associated with orders, such as during order processing, custom checkout flows, or administrative operations.

Public Methods

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