PHP Class Intercom\IntercomCompanies

Exibir arquivo Open project: intercom/intercom-php Class Usage Examples

Public Methods

Method Description
__construct ( IntercomClient $client ) IntercomCompanies constructor.
create ( array $options ) : mixed Creates a Company.
getCompanies ( array $options ) : mixed Returns list of Companies.

Method Details

__construct() public method

IntercomCompanies constructor.
public __construct ( IntercomClient $client )
$client IntercomClient

create() public method

Creates a Company.
See also: https://developers.intercom.io/reference#create-or-update-company
public create ( array $options ) : mixed
$options array
return mixed

getCompanies() public method

Returns list of Companies.
See also: https://developers.intercom.io/reference#list-companies
public getCompanies ( array $options ) : mixed
$options array
return mixed