Inttegro PHP SDK

Response
in package

Decoded SDK value plus response-only HTTP metadata.

Table of Contents

Properties

$data  : mixed
$headers  : array<string, string>
$meta  : array<string, mixed>|null
$requestId  : string|null
$retryAfter  : string|null
$status  : int

Methods

__construct()  : mixed
withData()  : self

Properties

$data read-only

public mixed $data

Decoded domain data.

$headers read-only

public array<string, string> $headers

Response headers only, keyed by normalized header name.

$meta read-only

public array<string, mixed>|null $meta

API response_meta value, when present.

$requestId read-only

public string|null $requestId

Convenience accessor for X-Request-Id.

$retryAfter read-only

public string|null $retryAfter

Convenience accessor for Retry-After.

$status read-only

public int $status

HTTP status code.

Methods

__construct()

public __construct(mixed $data, int $status, array<string, string> $headers[, array<string, mixed>|null $meta = null ]) : mixed
Parameters
$data : mixed
$status : int
$headers : array<string, string>
$meta : array<string, mixed>|null = null

withData()

public withData(mixed $data) : self
Parameters
$data : mixed
Return values
self
On this page

Search results