Log in
Model

Validator

Magento\Quote\Model\Quote\Address\Validator

What it does

This validator class checks if a quote address has valid data before processing.

Developers use this when validating shipping or billing addresses during checkout to ensure email addresses are properly formatted and country codes exist in the system.

It returns validation errors that can be displayed to customers when address data is incorrect.

Public Methods

  • isValid()