PHP Class SevenShores\Hubspot\Tests\Integration\Resources\CompaniesTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: fungku/hubspot-php

Public Methods

Method Description
addContact ( )
create ( )
delete ( )
getAll ( )
getAssociatedContactIds ( )
getAssociatedContactIdsWithCountAndOffset ( )
getAssociatedContacts ( )
getAssociatedContactsWithCountAndOffset ( )
getByDomain ( )
getById ( )
getRecentlyCreated ( )
getRecentlyCreatedWithCountAndOffset ( )
getRecentlyModified ( )
getRecentlyModifiedWithCountAndOffset ( )
removeContact ( )
setUp ( )
update ( )

Private Methods

Method Description
createAssociatedContact ( integer $companyId ) : array Creates an associated contact for a new company with the HubSpotApi
createCompany ( ) : Response Creates a Company with the HubSpotApi
createContact ( ) : Response Creates a new contact with the HubSpotApi

Method Details

addContact() public method

public addContact ( )

create() public method

public create ( )

delete() public method

public delete ( )

getAll() public method

public getAll ( )

getAssociatedContactIds() public method

getAssociatedContactIdsWithCountAndOffset() public method

getAssociatedContacts() public method

getAssociatedContactsWithCountAndOffset() public method

getByDomain() public method

public getByDomain ( )

getById() public method

public getById ( )

getRecentlyCreated() public method

public getRecentlyCreated ( )

getRecentlyCreatedWithCountAndOffset() public method

getRecentlyModified() public method

public getRecentlyModified ( )

getRecentlyModifiedWithCountAndOffset() public method

removeContact() public method

public removeContact ( )

setUp() public method

public setUp ( )

update() public method

public update ( )