src/Entity/AddressValidationResponse.php
public function noCandidates()
    {
        if (AddressValidation::REQUEST_OPTION_ADDRESS_CLASSIFICATION == $this->requestAction) {
            throw new \BadMethodCallException(__METHOD__.' should not be called on Address Classification only requests.');
        }
        return isset($this->response->NoCandidatesIndicator);
    }
public function noCandidates()
    {
        if (AddressValidation::REQUEST_OPTION_ADDRESS_CLASSIFICATION == $this->requestAction) {
            throw new \BadMethodCallException(__METHOD__.' should not be called on Address Classification only requests.');
        }
        return isset($this->response->NoCandidatesIndicator);
    }
public function noCandidates ( ) { if ( AddressValidation :: REQUEST_OPTION_ADDRESS_CLASSIFICATION == $ this -> requestAction ) { throw new \ BadMethodCallException ( __METHOD__ . ' should not be called on Address Classification only requests.' ) ; } return isset ( $ this -> response -> NoCandidatesIndicator ) ; }
Tells whether or not the NoCandidatesIndicator is present on the XML document.
This indicator is returned if the address is so badly formed that UPS is
unable to even offer any suggested alternatives

@throws \BadMethodCallException
@return bool
Tells whether or not the NoCandidatesIndicator is present on the XML document . This indicator is returned if the address is so badly formed that UPS is unable to even offer any suggested alternatives