PHP 클래스 SevenShores\Hubspot\Resources\Engagements

상속: extends Resource
파일 보기 프로젝트 열기: fungku/hubspot-php

공개 메소드들

메소드 설명
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

메소드 상세

all() 공개 메소드

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

associate() 공개 메소드

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

create() 공개 메소드

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.
리턴 SevenShores\Hubspot\Http\Response

delete() 공개 메소드

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

get() 공개 메소드

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

update() 공개 메소드

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.
리턴 SevenShores\Hubspot\Http\Response