public function listProductFamily($productFamilyId)
    {
        $service = $this->getService();

        $response      = $service->request('product_families/' . (int)$productFamilyId . '/components', 'GET');
        $responseArray = $this->getResponseArray($response);

        if (!$this->isError()) {
            $this->_data = $this->_normalizeResponseArray($responseArray);
        } else {
            $this->_data = array();
        }

        return $this;
    }
public function listProductFamily($productFamilyId)
    {
        $service = $this->getService();

        $response      = $service->request('product_families/' . (int)$productFamilyId . '/components', 'GET');
        $responseArray = $this->getResponseArray($response);

        if (!$this->isError()) {
            $this->_data = $this->_normalizeResponseArray($responseArray);
        } else {
            $this->_data = array();
        }

        return $this;
    }
public function listProductFamily ( $ productFamilyId ) { $ service = $ this -> getService ( ) ; $ response = $ service -> request ( 'product_families/' . ( int ) $ productFamilyId . '/components' , 'GET' ) ; $ responseArray = $ this -> getResponseArray ( $ response ) ; if ( ! $ this -> isError ( ) ) { $ this -> _data = $ this -> _normalizeResponseArray ( $ responseArray ) ; } else { $ this -> _data = array ( ) ; } return $ this ; }
List components for a product family

@param int $productFamilyId

@return Component
List components for a product family