Log in
Model

ToOrderAddress

Magento\Quote\Model\Quote\Address\ToOrderAddress

What it does

This class converts a Quote Address object into an Order Address object during the checkout process.

Developers use this converter when transforming quote data into order data, typically when a customer completes their purchase and the quote needs to be converted into a sales order.

It handles field mapping and data transfer between the two different address types.

Public Methods

  • convert()