Model/Apiconnector/Client.php
public function getContactAddressBooks($contactId)
    {
        $url = $this->getApiEndpoint() . '/v2/contacts/' . $contactId
            . '/address-books';
        $this->setUrl($url)
            ->setVerb('GET');

        $response = $this->execute();

        if (isset($response->message)) {
            $message = 'GET CONTACTS ADDRESS BOOKS contact: ' . $contactId
                . $response->message;
            $this->helper->debug('getContactAddressBooks', [$message]);
        }

        return $response;
    }
public function getContactAddressBooks($contactId)
    {
        $url = $this->getApiEndpoint() . '/v2/contacts/' . $contactId
            . '/address-books';
        $this->setUrl($url)
            ->setVerb('GET');

        $response = $this->execute();

        if (isset($response->message)) {
            $message = 'GET CONTACTS ADDRESS BOOKS contact: ' . $contactId
                . $response->message;
            $this->helper->debug('getContactAddressBooks', [$message]);
        }

        return $response;
    }
public function getContactAddressBooks ( $ contactId ) { $ url = $ this -> getApiEndpoint ( ) . '/v2/contacts/' . $ contactId . '/address-books' ; $ this -> setUrl ( $ url ) -> setVerb ( 'GET' ) ; $ response = $ this -> execute ( ) ; if ( isset ( $ response -> message ) ) { $ message = 'GET CONTACTS ADDRESS BOOKS contact: ' . $ contactId . $ response -> message ; $ this -> helper -> debug ( 'getContactAddressBooks' , [ $ message ] ) ; } return $ response ; }
Get contact address books.

@param int $contactId

@return object
Get contact address books .