Model/Api/ShippingMethods.php
private function validateEmail($email)
    {
        if (!$this->cartHelper->validateEmail($email)) {
            throw new BoltException(
                __('Invalid email: %1', $email),
                null,
                BoltErrorResponse::ERR_UNIQUE_EMAIL_REQUIRED
            );
        }
    }
private function validateEmail($email)
    {
        if (!$this->cartHelper->validateEmail($email)) {
            throw new BoltException(
                __('Invalid email: %1', $email),
                null,
                BoltErrorResponse::ERR_UNIQUE_EMAIL_REQUIRED
            );
        }
    }
private function validateEmail ( $ email ) { if ( ! $ this -> cartHelper -> validateEmail ( $ email ) ) { throw new BoltException ( __ ( 'Invalid email: %1' , $ email ) , null , BoltErrorResponse :: ERR_UNIQUE_EMAIL_REQUIRED ) ; } }
Validate request email

@param $email
@throws BoltException
@throws \Zend_Validate_Exception
Validate request email