Log in
Interface

OrderAddressResourceInterface

Magento\Sales\Model\Spi\OrderAddressResourceInterface

What it does

This interface defines the contract for data persistence operations on order address entities in Magento 2.

Developers would use or implement this interface when creating custom resource models for handling order billing and shipping addresses, ensuring proper CRUD (Create, Read, Update, Delete) operations.

It serves as a Service Provider Interface (SPI) that allows for custom implementations while maintaining compatibility with Magento's sales order address functionality.

Public Methods

  • save()
  • load()
  • delete()