Model
PostcodeValidator
Magento\Inventory\Model\Source\Validator\PostcodeValidator
What it does
This validator ensures that a source's postcode field is not empty when creating or updating inventory sources in Magento's Multi-Source Inventory (MSI) system.
Developers would use this class as part of the source validation chain to enforce that all inventory sources have a valid postcode specified, preventing incomplete address data in the inventory management system.
Public Methods
- validate()