PHP 클래스 Intercom\IntercomLeads

파일 보기 프로젝트 열기: intercom/intercom-php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( IntercomClient $client ) IntercomLeads constructor.
convertLead ( $options ) : mixed Converts Lead.
create ( array $options ) : mixed Creates Lead.
deleteLead ( string $id, array $options = [] ) : mixed Deletes Lead.
getLead ( string $id, array $options = [] ) : mixed Returns single Lead.
getLeads ( array $options ) : mixed Lists Leads.
leadPath ( string $id ) : string Returns endpoint path to Lead with given ID.

메소드 상세

__construct() 공개 메소드

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

convertLead() 공개 메소드

Converts Lead.
또한 보기: https://developers.intercom.io/reference#convert-a-lead
public convertLead ( $options ) : mixed
$options
리턴 mixed

create() 공개 메소드

Creates Lead.
또한 보기: https://developers.intercom.io/reference#create-lead
public create ( array $options ) : mixed
$options array
리턴 mixed

deleteLead() 공개 메소드

Deletes Lead.
또한 보기: https://developers.intercom.io/reference#delete-a-lead
public deleteLead ( string $id, array $options = [] ) : mixed
$id string
$options array
리턴 mixed

getLead() 공개 메소드

Returns single Lead.
또한 보기: https://developers.intercom.io/reference#view-a-lead
public getLead ( string $id, array $options = [] ) : mixed
$id string
$options array
리턴 mixed

getLeads() 공개 메소드

Lists Leads.
또한 보기: https://developers.intercom.io/reference#list-leads
public getLeads ( array $options ) : mixed
$options array
리턴 mixed

leadPath() 공개 메소드

Returns endpoint path to Lead with given ID.
public leadPath ( string $id ) : string
$id string
리턴 string