PHP 클래스 PayPal\Api\WebhookEventType

Contains the information for a Webhooks event-type
상속: extends PayPal\Common\PayPalResourceModel
파일 보기 프로젝트 열기: paypal/rest-api-sdk-php 1 사용 예제들

공개 메소드들

메소드 설명
availableEventTypes ( ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : WebhookEventTypeList Lists available events to which any webhook can subscribe. For a list of supported events, see Webhook events.
getDescription ( ) : string A human-readable description of the event.
getName ( ) : string The unique event name.
getStatus ( ) : string The status of a webhook event.
setDescription ( string $description ) A human-readable description of the event.
setName ( string $name ) The unique event name.
setStatus ( string $status ) The status of a webhook event.
subscribedEventTypes ( string $webhookId, ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : WebhookEventTypeList Lists event subscriptions for a webhook, by ID.

메소드 상세

availableEventTypes() 공개 정적인 메소드

Lists available events to which any webhook can subscribe. For a list of supported events, see Webhook events.
public static availableEventTypes ( ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : WebhookEventTypeList
$apiContext PayPal\Rest\ApiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
$restCall PayPalRestCall is the Rest Call Service that is used to make rest calls
리턴 WebhookEventTypeList

getDescription() 공개 메소드

A human-readable description of the event.
public getDescription ( ) : string
리턴 string

getName() 공개 메소드

The unique event name.
public getName ( ) : string
리턴 string

getStatus() 공개 메소드

The status of a webhook event.
public getStatus ( ) : string
리턴 string

setDescription() 공개 메소드

A human-readable description of the event.
public setDescription ( string $description )
$description string

setName() 공개 메소드

The unique event name.
public setName ( string $name )
$name string

setStatus() 공개 메소드

The status of a webhook event.
public setStatus ( string $status )
$status string

subscribedEventTypes() 공개 정적인 메소드

Lists event subscriptions for a webhook, by ID.
public static subscribedEventTypes ( string $webhookId, ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : WebhookEventTypeList
$webhookId string
$apiContext PayPal\Rest\ApiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials.
$restCall PayPalRestCall is the Rest Call Service that is used to make rest calls
리턴 WebhookEventTypeList