PHP Class SevenShores\Hubspot\Resources\Engagements

Inheritance: extends Resource
Datei anzeigen Open project: fungku/hubspot-php

Public Methods

Method Description
all ( array $params = [] ) : Response Returns all engagements.
associate ( integer $id, string $object_type, integer $object_id ) : Response
create ( array $engagement, array $associations, array $metadata, array $attachments = [] ) : Response
delete ( integer $id ) : Response
get ( integer $id ) : Response
update ( integer $id, array $engagement, array $metadata ) : Response

Method Details

all() public method

Returns all engagements.
See also: http://developers.hubspot.com/docs/methods/engagements/get-all-engagements
public all ( array $params = [] ) : Response
$params array Array of optional parameters ['limit', 'offset']
return SevenShores\Hubspot\Http\Response

associate() public method

public associate ( integer $id, string $object_type, integer $object_id ) : Response
$id integer
$object_type string
$object_id integer
return SevenShores\Hubspot\Http\Response

create() public method

public create ( array $engagement, array $associations, array $metadata, array $attachments = [] ) : Response
$engagement array Array of engagement engagement.
$associations array Array of engagement associations.
$metadata array Array of engagement metadata.
$attachments array Array of engagement attachments.
return SevenShores\Hubspot\Http\Response

delete() public method

public delete ( integer $id ) : Response
$id integer
return SevenShores\Hubspot\Http\Response

get() public method

public get ( integer $id ) : Response
$id integer
return SevenShores\Hubspot\Http\Response

update() public method

public update ( integer $id, array $engagement, array $metadata ) : Response
$id integer The engagement id.
$engagement array The engagement engagement to update.
$metadata array The engagement metadata to update.
return SevenShores\Hubspot\Http\Response