PHP Class Intercom\IntercomNotes

Show file Open project: intercom/intercom-php Class Usage Examples

Public Methods

Method Description
__construct ( IntercomClient $client ) IntercomNotes constructor.
create ( array $options ) : mixed Creates Note.
getNote ( string $id ) : mixed Returns single Note.
getNotes ( array $options ) : mixed Lists Notes.

Method Details

__construct() public method

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

create() public method

Creates Note.
See also: https://developers.intercom.io/reference#create-a-note
public create ( array $options ) : mixed
$options array
return mixed

getNote() public method

Returns single Note.
See also: https://developers.intercom.io/reference#view-a-note
public getNote ( string $id ) : mixed
$id string
return mixed

getNotes() public method

Lists Notes.
See also: https://developers.intercom.io/reference#list-notes-for-a-user
public getNotes ( array $options ) : mixed
$options array
return mixed