Model
Validator
Magento\Quote\Model\Quote\Address\Validator
What it does
This validator class checks whether a quote shipping or billing address contains valid data before it's saved.
Developers use this class to ensure that email addresses are properly formatted and country codes exist in the system, preventing invalid address data from being stored in quotes during checkout or address management operations.
Public Methods
- isValid()