mirror of
https://git.yoomoney.ru/scm/sdk/yookassa-sdk-php.git
synced 2026-08-28 11:07:36 +00:00
4.1 KiB
4.1 KiB
YooKassa API SDK
Class: \YooKassa\Common\ResponseObject
Namespace: \YooKassa\Common
Summary:
Класс, представляющий модель ResponseObject.
Description:
Класс HTTP ответа.
Constants
- No constants found
Properties
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| protected | $body | Тело ответа. | |
| protected | $code | HTTP код ответа. | |
| protected | $headers | Массив заголовков ответа. |
Methods
| Visibility | Name | Flag | Summary |
|---|---|---|---|
| public | __construct() | ||
| public | getBody() | Возвращает тело ответа. | |
| public | getCode() | Возвращает HTTP код ответа. | |
| public | getHeaders() | Возвращает массив заголовков ответа. |
Details
-
Package: YooKassa
-
Class Hierarchy:
- \YooKassa\Common\ResponseObject
-
See Also:
Tags
| Tag | Version | Description |
|---|---|---|
| category | Class | |
| author | cms@yoomoney.ru |
Properties
protected $body : mixed
Summary
Тело ответа.
Type: mixed
Details:
protected $code : int
Summary
HTTP код ответа.
Type: int
Details:
protected $headers : array
Summary
Массив заголовков ответа.
Type: array
Details:
Methods
public __construct() : mixed
public __construct(mixed $config = null) : mixed
Details:
- Inherited From: \YooKassa\Common\ResponseObject
Parameters:
| Type | Name | Description |
|---|---|---|
mixed |
config |
Returns: mixed -
public getBody() : mixed
public getBody() : mixed
Summary
Возвращает тело ответа.
Details:
- Inherited From: \YooKassa\Common\ResponseObject
Returns: mixed - Тело ответа
public getCode() : int
public getCode() : int
Summary
Возвращает HTTP код ответа.
Details:
- Inherited From: \YooKassa\Common\ResponseObject
Returns: int - HTTP код ответа
public getHeaders() : array
public getHeaders() : array
Summary
Возвращает массив заголовков ответа.
Details:
- Inherited From: \YooKassa\Common\ResponseObject
Returns: array - Массив заголовков ответа
Top Namespaces
Reports
This document was automatically generated from source code comments on 2023-10-17 using phpDocumentor
© 2023 YooMoney