PHP 클래스 SevenShores\Hubspot\Resources\Webhooks

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

공개 메소드들

메소드 설명
createSubscription ( integer $app_id, array $subscription ) : Response Create a new subscription.
deleteSubscription ( integer $app_id, integer $subscription_id ) : Response Delete a subscription.
getSubscription ( integer $app_id ) : Response Get list of subscriptions.
updateSettings ( integer $app_id, array $settings ) : Response Update webhook settings.
updateSubscription ( integer $app_id, integer $subscription_id, array $subscription ) : Response Update a subscription.
viewSettings ( integer $app_id ) : Response Get webhook settings.

메소드 상세

createSubscription() 공개 메소드

Create a new subscription.
public createSubscription ( integer $app_id, array $subscription ) : Response
$app_id integer
$subscription array
리턴 SevenShores\Hubspot\Http\Response

deleteSubscription() 공개 메소드

Delete a subscription.
public deleteSubscription ( integer $app_id, integer $subscription_id ) : Response
$app_id integer
$subscription_id integer
리턴 SevenShores\Hubspot\Http\Response

getSubscription() 공개 메소드

Get list of subscriptions.
public getSubscription ( integer $app_id ) : Response
$app_id integer
리턴 SevenShores\Hubspot\Http\Response

updateSettings() 공개 메소드

Update webhook settings.
public updateSettings ( integer $app_id, array $settings ) : Response
$app_id integer
$settings array
리턴 SevenShores\Hubspot\Http\Response

updateSubscription() 공개 메소드

Update a subscription.
public updateSubscription ( integer $app_id, integer $subscription_id, array $subscription ) : Response
$app_id integer
$subscription_id integer
$subscription array
리턴 SevenShores\Hubspot\Http\Response

viewSettings() 공개 메소드

Get webhook settings.
public viewSettings ( integer $app_id ) : Response
$app_id integer
리턴 SevenShores\Hubspot\Http\Response