PHP Class SevenShores\Hubspot\Resources\Engagements

Inheritance: extends Resource
Afficher le fichier Open project: fungku/hubspot-php

Méthodes publiques

Méthode 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 méthode

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']
Résultat SevenShores\Hubspot\Http\Response

associate() public méthode

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

create() public méthode

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.
Résultat SevenShores\Hubspot\Http\Response

delete() public méthode

public delete ( integer $id ) : Response
$id integer
Résultat SevenShores\Hubspot\Http\Response

get() public méthode

public get ( integer $id ) : Response
$id integer
Résultat SevenShores\Hubspot\Http\Response

update() public méthode

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.
Résultat SevenShores\Hubspot\Http\Response