<?php
namespace Pusher;
class Webhook
{
/** @var int $time_ms */
private $time_ms;
/** @var array $events */
private $events;
public function __construct($time_ms, $events)
{
$this->time_ms = $time_ms;
$this->events = $events;
}
public function get_events(): array
{
return $this->events;
}
public function get_time_ms(): int
{
return $this->time_ms;
}
}
Kueue Pay API responses include standard HTTP status codes to indicate the success or failure of a request. Successful responses will have a status code of 200 OK, while various error conditions will be represented by different status codes along with error messages in the response body.