Model
CityValidator
Magento\InventoryInStorePickup\Model\Source\Validator\CityValidator
What it does
This validator ensures that a city value is provided when configuring a source as an active pickup location in Magento's Multi-Source Inventory system.
Developers would use this class when implementing or extending in-store pickup functionality to enforce that all active pickup locations have a valid city specified, which is essential for customer location searches and store information display.
Public Methods
- validate()