Skip to content

SubscribeParams

André Matthies edited this page Feb 6, 2025 · 1 revision

SubscribeParams

Properties

eventFilter

protected ?string $eventFilter

requestMethod

protected \Seven\Api\Resource\Hooks\HooksRequestMethod $requestMethod

targetUrl

protected string $targetUrl

eventType

protected \Seven\Api\Resource\Hooks\HooksEventType $eventType

Methods

__construct

public __construct(string $targetUrl, \Seven\Api\Resource\Hooks\HooksEventType $eventType): mixed

Parameters:

Parameter Type Description
$targetUrl string
$eventType \Seven\Api\Resource\Hooks\HooksEventType

toArray

public toArray(): array

getEventFilter

public getEventFilter(): ?string

setEventFilter

public setEventFilter(?string $eventFilter): self

Parameters:

Parameter Type Description
$eventFilter ?string

getTargetUrl

public getTargetUrl(): string

getEventType

public getEventType(): \Seven\Api\Resource\Hooks\HooksEventType

getRequestMethod

public getRequestMethod(): \Seven\Api\Resource\Hooks\HooksRequestMethod

setRequestMethod

public setRequestMethod(\Seven\Api\Resource\Hooks\HooksRequestMethod $requestMethod): self

Parameters:

Parameter Type Description
$requestMethod \Seven\Api\Resource\Hooks\HooksRequestMethod


Automatically generated on 2025-02-06

Clone this wiki locally