Block/Customer/Account/Books.php
public function getConnectorContact()
    {
        if (! isset($this->contactFromAccount)) {
            $contact = $this->_getApiClient()->getContactByEmail(
                $this->getCustomer()->getEmail()
            );
            if (isset($contact->id)) {
                $this->contactFromAccount = $contact;
                $this->customerSession->setConnectorContactId($contact->id);
            }
        }

        return $this->contactFromAccount;
    }
public function getConnectorContact()
    {
        if (! isset($this->contactFromAccount)) {
            $contact = $this->_getApiClient()->getContactByEmail(
                $this->getCustomer()->getEmail()
            );
            if (isset($contact->id)) {
                $this->contactFromAccount = $contact;
                $this->customerSession->setConnectorContactId($contact->id);
            }
        }

        return $this->contactFromAccount;
    }
public function getConnectorContact ( ) { if ( ! isset ( $ this -> contactFromAccount ) ) { $ contact = $ this -> _getApiClient ( ) -> getContactByEmail ( $ this -> getCustomer ( ) -> getEmail ( ) ) ; if ( isset ( $ contact -> id ) ) { $ this -> contactFromAccount = $ contact ; $ this -> customerSession -> setConnectorContactId ( $ contact -> id ) ; } } return $ this -> contactFromAccount ; }
Get connector contact.

@return object
Get connector contact .