Log in
Model

GetShippingAddressBySourceCodeAndOriginalAddress

Magento\InventoryInStorePickupSalesAdminUi\Model\GetShippingAddressBySourceCodeAndOriginalAddress

What it does

This class retrieves a shipping address for in-store pickup by converting inventory source location data into a quote address format.

Developers use this when processing admin orders with store pickup, where the shipping address needs to reflect the physical pickup location instead of the customer's address.

It validates that the source is an active pickup location before conversion.

Public Methods

  • execute()