Log in
Model

GetPickupLocationCode

Magento\InventoryInStorePickupSales\Model\Order\GetPickupLocationCode

What it does

This utility class extracts the pickup location code from a Magento order object.

Developers use this when they need to retrieve the store pickup location associated with an order, particularly in scenarios involving in-store pickup fulfillment workflows.

It safely handles cases where extension attributes may not be set, returning null when unavailable.

Public Methods

  • execute()