diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b3ede03..c52b7642 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +### v3.15.0 от 12.08.2026 +* Добавлена поддержка платежных табличек `pos_links` +* Добавлены `loan_declined`, `loan_declined_by_payer`, `loan_application_expired` в причинах отмены платежа +* Добавлено поле `metadata` в сохраненных методах оплаты +* Увеличено максимальное значение числа цифр параметра `oktmo` в данных платежных поручений `PaymentOrder` + ### v3.14.0 от 29.06.2026 * Добавлен прием платежей через Alfa Pay * Добавлен новый тип ошибки RuleViolationError diff --git a/composer.json b/composer.json index e7377aeb..62ce2469 100644 --- a/composer.json +++ b/composer.json @@ -13,9 +13,9 @@ ], "dist": { "type": "zip", - "url": "https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?at=refs%2Ftags%2F3.14.0&format=zip" + "url": "https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?at=refs%2Ftags%2F3.15.0&format=zip" }, - "version": "3.14.0", + "version": "3.15.0", "require": { "php": ">=8.0", "ext-curl": "*", diff --git a/docs/classes/YooKassa-Client-ApiClientInterface.md b/docs/classes/YooKassa-Client-ApiClientInterface.md index a7dc59fb..fd97e625 100644 --- a/docs/classes/YooKassa-Client-ApiClientInterface.md +++ b/docs/classes/YooKassa-Client-ApiClientInterface.md @@ -227,6 +227,6 @@ public setAdvancedCurlOptions() : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-BaseClient.md b/docs/classes/YooKassa-Client-BaseClient.md index 8376028f..5a7653ec 100644 --- a/docs/classes/YooKassa-Client-BaseClient.md +++ b/docs/classes/YooKassa-Client-BaseClient.md @@ -27,6 +27,7 @@ | public | [SELF_EMPLOYED_PATH](../classes/YooKassa-Client-BaseClient.md#constant_SELF_EMPLOYED_PATH) | | Точка входа для запросов к API по самозанятым | | public | [INVOICES_PATH](../classes/YooKassa-Client-BaseClient.md#constant_INVOICES_PATH) | | Точка входа для запросов к API по счетам | | public | [PAYMENT_METHODS_PATH](../classes/YooKassa-Client-BaseClient.md#constant_PAYMENT_METHODS_PATH) | | Точка входа для запросов к API по способам оплаты | +| public | [POS_LINKS_PATH](../classes/YooKassa-Client-BaseClient.md#constant_POS_LINKS_PATH) | | Точка входа для запросов к API по кассовым ссылкам | | public | [IDEMPOTENCE_KEY_HEADER](../classes/YooKassa-Client-BaseClient.md#constant_IDEMPOTENCE_KEY_HEADER) | | Имя HTTP заголовка, используемого для передачи idempotence key | | public | [DEFAULT_DELAY](../classes/YooKassa-Client-BaseClient.md#constant_DEFAULT_DELAY) | | Значение по умолчанию времени ожидания между запросами при отправке повторного запроса в случае получения ответа с HTTP статусом 202. | | public | [DEFAULT_TRIES_COUNT](../classes/YooKassa-Client-BaseClient.md#constant_DEFAULT_TRIES_COUNT) | | Значение по умолчанию количества попыток получения информации от API если пришёл ответ с HTTP статусом 202 | @@ -192,6 +193,15 @@ PAYMENT_METHODS_PATH = '/payment_methods' ``` + +###### POS_LINKS_PATH +Точка входа для запросов к API по кассовым ссылкам + +```php +POS_LINKS_PATH = '/pos_links' +``` + + ###### IDEMPOTENCE_KEY_HEADER Имя HTTP заголовка, используемого для передачи idempotence key @@ -746,6 +756,6 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-CurlClient.md b/docs/classes/YooKassa-Client-CurlClient.md index 25493a3a..c67903ca 100644 --- a/docs/classes/YooKassa-Client-CurlClient.md +++ b/docs/classes/YooKassa-Client-CurlClient.md @@ -514,6 +514,6 @@ public setTimeout(int $timeout) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-UserAgent.md b/docs/classes/YooKassa-Client-UserAgent.md index a1772913..8c64f2a6 100644 --- a/docs/classes/YooKassa-Client-UserAgent.md +++ b/docs/classes/YooKassa-Client-UserAgent.md @@ -329,6 +329,6 @@ public setModule(string $name, string $version) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client.md b/docs/classes/YooKassa-Client.md index 92d2c216..c68eb8e5 100644 --- a/docs/classes/YooKassa-Client.md +++ b/docs/classes/YooKassa-Client.md @@ -41,6 +41,7 @@ $client->setAuthToken('token_XXXXXXX'); | public | [SELF_EMPLOYED_PATH](../classes/YooKassa-Client-BaseClient.md#constant_SELF_EMPLOYED_PATH) | | Точка входа для запросов к API по самозанятым | | public | [INVOICES_PATH](../classes/YooKassa-Client-BaseClient.md#constant_INVOICES_PATH) | | Точка входа для запросов к API по счетам | | public | [PAYMENT_METHODS_PATH](../classes/YooKassa-Client-BaseClient.md#constant_PAYMENT_METHODS_PATH) | | Точка входа для запросов к API по способам оплаты | +| public | [POS_LINKS_PATH](../classes/YooKassa-Client-BaseClient.md#constant_POS_LINKS_PATH) | | Точка входа для запросов к API по кассовым ссылкам | | public | [IDEMPOTENCE_KEY_HEADER](../classes/YooKassa-Client-BaseClient.md#constant_IDEMPOTENCE_KEY_HEADER) | | Имя HTTP заголовка, используемого для передачи idempotence key | | public | [DEFAULT_DELAY](../classes/YooKassa-Client-BaseClient.md#constant_DEFAULT_DELAY) | | Значение по умолчанию времени ожидания между запросами при отправке повторного запроса в случае получения ответа с HTTP статусом 202. | | public | [DEFAULT_TRIES_COUNT](../classes/YooKassa-Client-BaseClient.md#constant_DEFAULT_TRIES_COUNT) | | Значение по умолчанию количества попыток получения информации от API если пришёл ответ с HTTP статусом 202 | @@ -64,6 +65,7 @@ $client->setAuthToken('token_XXXXXXX'); | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [__construct()](../classes/YooKassa-Client-BaseClient.md#method___construct) | | Constructor. | +| public | [activatePosLink()](../classes/YooKassa-Client.md#method_activatePosLink) | | Активировать кассовую ссылку. | | public | [addWebhook()](../classes/YooKassa-Client.md#method_addWebhook) | | Создание Webhook. | | public | [cancelPayment()](../classes/YooKassa-Client.md#method_cancelPayment) | | Отменить незавершенную оплату заказа. | | public | [capturePayment()](../classes/YooKassa-Client.md#method_capturePayment) | | Подтверждение платежа. | @@ -73,9 +75,11 @@ $client->setAuthToken('token_XXXXXXX'); | public | [createPaymentMethod()](../classes/YooKassa-Client.md#method_createPaymentMethod) | | Создание способа оплаты. | | public | [createPayout()](../classes/YooKassa-Client.md#method_createPayout) | | Создание выплаты. | | public | [createPersonalData()](../classes/YooKassa-Client.md#method_createPersonalData) | | Создание персональных данных. | +| public | [createPosLink()](../classes/YooKassa-Client.md#method_createPosLink) | | Создание кассовой ссылки. | | public | [createReceipt()](../classes/YooKassa-Client.md#method_createReceipt) | | Отправка чека в облачную кассу. | | public | [createRefund()](../classes/YooKassa-Client.md#method_createRefund) | | Проведение возврата платежа. | | public | [createSelfEmployed()](../classes/YooKassa-Client.md#method_createSelfEmployed) | | Создание самозанятого. | +| public | [deactivatePosLink()](../classes/YooKassa-Client.md#method_deactivatePosLink) | | Деактивировать кассовую ссылку. | | public | [getApiClient()](../classes/YooKassa-Client-BaseClient.md#method_getApiClient) | | Возвращает CURL клиента для работы с API. | | public | [getConfig()](../classes/YooKassa-Client-BaseClient.md#method_getConfig) | | Возвращает настройки клиента. | | public | [getDealInfo()](../classes/YooKassa-Client.md#method_getDealInfo) | | Получить информацию о сделке. | @@ -87,6 +91,7 @@ $client->setAuthToken('token_XXXXXXX'); | public | [getPayoutInfo()](../classes/YooKassa-Client.md#method_getPayoutInfo) | | Получить информацию о выплате. | | public | [getPayouts()](../classes/YooKassa-Client.md#method_getPayouts) | | Получить список выплат магазина. | | public | [getPersonalDataInfo()](../classes/YooKassa-Client.md#method_getPersonalDataInfo) | | Получить информацию о персональных данных. | +| public | [getPosLinkInfo()](../classes/YooKassa-Client.md#method_getPosLinkInfo) | | Получить информацию о кассовой ссылке. | | public | [getReceiptInfo()](../classes/YooKassa-Client.md#method_getReceiptInfo) | | Получить информацию о чеке. | | public | [getReceipts()](../classes/YooKassa-Client.md#method_getReceipts) | | Получить список чеков магазина. | | public | [getRefundInfo()](../classes/YooKassa-Client.md#method_getRefundInfo) | | Получить информацию о возврате. | @@ -96,6 +101,7 @@ $client->setAuthToken('token_XXXXXXX'); | public | [getWebhooks()](../classes/YooKassa-Client.md#method_getWebhooks) | | Список созданных Webhook. | | public | [isNotificationIPTrusted()](../classes/YooKassa-Client-BaseClient.md#method_isNotificationIPTrusted) | | Метод проверяет, находится ли IP адрес среди IP адресов Юkassa, с которых отправляются уведомления. | | public | [me()](../classes/YooKassa-Client.md#method_me) | | Информация о магазине. | +| public | [recipientPosLink()](../classes/YooKassa-Client.md#method_recipientPosLink) | | Изменение торговой точки, привязанной к кассовой ссылке. | | public | [removeWebhook()](../classes/YooKassa-Client.md#method_removeWebhook) | | Удаление Webhook. | | public | [setApiClient()](../classes/YooKassa-Client-BaseClient.md#method_setApiClient) | | Устанавливает CURL клиента для работы с API. | | public | [setAuth()](../classes/YooKassa-Client-BaseClient.md#method_setAuth) | | Устанавливает авторизацию по логин/паролю. | @@ -252,6 +258,17 @@ PAYMENT_METHODS_PATH = '/payment_methods' ``` + +###### POS_LINKS_PATH +Inherited from [\YooKassa\Client\BaseClient](../classes/YooKassa-Client-BaseClient.md) + +Точка входа для запросов к API по кассовым ссылкам + +```php +POS_LINKS_PATH = '/pos_links' +``` + + ###### IDEMPOTENCE_KEY_HEADER Inherited from [\YooKassa\Client\BaseClient](../classes/YooKassa-Client-BaseClient.md) @@ -301,7 +318,7 @@ DEFAULT_ATTEMPTS_COUNT = 3 Текущая версия библиотеки. ```php -SDK_VERSION = '3.14.0' +SDK_VERSION = '3.15.0' ``` @@ -433,6 +450,62 @@ Constructor. **Returns:** mixed - + +#### public activatePosLink() : null|\YooKassa\Model\PosLink\PosLinkInfo + +```php +public activatePosLink(string $posLinkId, null|string $idempotenceKey = null) : null|\YooKassa\Model\PosLink\PosLinkInfo +``` + +**Summary** + +Активировать кассовую ссылку. + +**Description** + +Запрос позволяет активировать кассовую ссылку, чтобы она стала доступна для приема платежей. + +**Details:** +* Inherited From: [\YooKassa\Client](../classes/YooKassa-Client.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | posLinkId | Идентификатор кассовой ссылки | +| null OR string | idempotenceKey | [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\ApiException | Неожиданный код ошибки | +| \YooKassa\Common\Exceptions\BadApiRequestException | Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API | +| \YooKassa\Common\Exceptions\ForbiddenException | Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции | +| \YooKassa\Common\Exceptions\InternalServerError | Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности | +| \YooKassa\Common\Exceptions\NotFoundException | Ресурс не найден | +| \YooKassa\Common\Exceptions\ResponseProcessingException | Запрос был принят на обработку, но она не завершена | +| \YooKassa\Common\Exceptions\TooManyRequestsException | Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов | +| \YooKassa\Common\Exceptions\UnauthorizedException | Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации | +| \YooKassa\Common\Exceptions\ExtensionNotFoundException | Требуемое PHP расширение не установлено | + +**Returns:** null|\YooKassa\Model\PosLink\PosLinkInfo - Объект ответа от API +##### Examples: +Активировать кассовую ссылку: + +```php +$posLinkId = 'pl-285d3ab7-0003-5000-9000-0e1166498fda'; +try { + $response = $client->activatePosLink($posLinkId, uniqid('', true)); + if ($response->getStatus() === \YooKassa\Model\PosLink\PosLinkStatus::ACTIVE) { + // Кассовая ссылка активирована + } + var_dump($response->toArray()); +} catch (\Exception $e) { + var_dump($e); +} + +``` + + #### public addWebhook() : ?\YooKassa\Model\Webhook\Webhook @@ -1191,6 +1264,70 @@ try { ``` + +#### public createPosLink() : null|\YooKassa\Model\PosLink\PosLinkInfo + +```php +public createPosLink(array|\YooKassa\Request\PosLink\CreatePosLinkRequestInterface $posLinkData, null|string $idempotenceKey = null) : null|\YooKassa\Model\PosLink\PosLinkInfo +``` + +**Summary** + +Создание кассовой ссылки. + +**Description** + +Запрос позволяет создать кассовую ссылку для проведения платежа в офлайне. + +**Details:** +* Inherited From: [\YooKassa\Client](../classes/YooKassa-Client.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \YooKassa\Request\PosLink\CreatePosLinkRequestInterface | posLinkData | Данные для создания кассовой ссылки | +| null OR string | idempotenceKey | [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\ApiException | Неожиданный код ошибки | +| \YooKassa\Common\Exceptions\BadApiRequestException | Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API | +| \YooKassa\Common\Exceptions\ForbiddenException | Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции | +| \YooKassa\Common\Exceptions\InternalServerError | Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности | +| \YooKassa\Common\Exceptions\NotFoundException | Ресурс не найден | +| \YooKassa\Common\Exceptions\ResponseProcessingException | Запрос был принят на обработку, но она не завершена | +| \YooKassa\Common\Exceptions\TooManyRequestsException | Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов | +| \YooKassa\Common\Exceptions\UnauthorizedException | Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации | +| \YooKassa\Common\Exceptions\ExtensionNotFoundException | Требуемое PHP расширение не установлено | + +**Returns:** null|\YooKassa\Model\PosLink\PosLinkInfo - Объект ответа от API +##### Examples: +Запрос на создание кассовой ссылки: + +```php +$posLinkData = [ + 'recipient' => [ + 'gateway_id' => '123', + ], + 'pos_link_data' => [ + 'link' => 'https://shop.example.ru/pay/1234567890', + ], +]; +$idempotenceKey = uniqid('', true); +try { + $response = $client->createPosLink($posLinkData, $idempotenceKey); + if ($response->getStatus()) { + // Кассовая ссылка успешно создана + } + var_dump($response->toArray()); +} catch (\Exception $e) { + var_dump($e); +} + +``` + + #### public createReceipt() : ?\YooKassa\Request\Receipts\AbstractReceiptResponse @@ -1423,6 +1560,62 @@ try { ``` + +#### public deactivatePosLink() : null|\YooKassa\Model\PosLink\PosLinkInfo + +```php +public deactivatePosLink(string $posLinkId, null|string $idempotenceKey = null) : null|\YooKassa\Model\PosLink\PosLinkInfo +``` + +**Summary** + +Деактивировать кассовую ссылку. + +**Description** + +Запрос позволяет деактивировать кассовую ссылку, прием платежей по ней будет недоступен. + +**Details:** +* Inherited From: [\YooKassa\Client](../classes/YooKassa-Client.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | posLinkId | Идентификатор кассовой ссылки | +| null OR string | idempotenceKey | [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\ApiException | Неожиданный код ошибки | +| \YooKassa\Common\Exceptions\BadApiRequestException | Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API | +| \YooKassa\Common\Exceptions\ForbiddenException | Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции | +| \YooKassa\Common\Exceptions\InternalServerError | Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности | +| \YooKassa\Common\Exceptions\NotFoundException | Ресурс не найден | +| \YooKassa\Common\Exceptions\ResponseProcessingException | Запрос был принят на обработку, но она не завершена | +| \YooKassa\Common\Exceptions\TooManyRequestsException | Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов | +| \YooKassa\Common\Exceptions\UnauthorizedException | Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации | +| \YooKassa\Common\Exceptions\ExtensionNotFoundException | Требуемое PHP расширение не установлено | + +**Returns:** null|\YooKassa\Model\PosLink\PosLinkInfo - Объект ответа от API +##### Examples: +Деактивировать кассовую ссылку: + +```php +$posLinkId = 'pl-285d3ab7-0003-5000-9000-0e1166498fda'; +try { + $response = $client->deactivatePosLink($posLinkId, uniqid('', true)); + if ($response->getStatus() === \YooKassa\Model\PosLink\PosLinkStatus::INACTIVE) { + // Кассовая ссылка деактивирована + } + var_dump($response->toArray()); +} catch (\Exception $e) { + var_dump($e); +} + +``` + + #### public getApiClient() : \YooKassa\Client\ApiClientInterface @@ -2018,6 +2211,58 @@ try { ``` + +#### public getPosLinkInfo() : null|\YooKassa\Model\PosLink\PosLinkInfo + +```php +public getPosLinkInfo(string $posLinkId) : null|\YooKassa\Model\PosLink\PosLinkInfo +``` + +**Summary** + +Получить информацию о кассовой ссылке. + +**Description** + +Запрос позволяет получить информацию о кассовой ссылке по её уникальному идентификатору. + +**Details:** +* Inherited From: [\YooKassa\Client](../classes/YooKassa-Client.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | posLinkId | Идентификатор кассовой ссылки | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\ApiException | Неожиданный код ошибки | +| \YooKassa\Common\Exceptions\BadApiRequestException | Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API | +| \YooKassa\Common\Exceptions\ForbiddenException | Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции | +| \YooKassa\Common\Exceptions\InternalServerError | Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности | +| \YooKassa\Common\Exceptions\NotFoundException | Ресурс не найден | +| \YooKassa\Common\Exceptions\ResponseProcessingException | Запрос был принят на обработку, но она не завершена | +| \YooKassa\Common\Exceptions\TooManyRequestsException | Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов | +| \YooKassa\Common\Exceptions\UnauthorizedException | Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации | +| \YooKassa\Common\Exceptions\ExtensionNotFoundException | Требуемое PHP расширение не установлено | + +**Returns:** null|\YooKassa\Model\PosLink\PosLinkInfo - Объект ответа от API +##### Examples: +Получить информацию о кассовой ссылке: + +```php +$posLinkId = 'pl-285d3ab7-0003-5000-9000-0e1166498fda'; +try { + $response = $client->getPosLinkInfo($posLinkId); + var_dump($response->toArray()); +} catch (\Exception $e) { + var_dump($e); +} + +``` + + #### public getReceiptInfo() : ?\YooKassa\Request\Receipts\ReceiptResponseInterface @@ -2061,7 +2306,7 @@ public getReceiptInfo(string $receiptId) : ?\YooKassa\Request\Receipts\ReceiptRe ```php try { - $response = $client->getPaymentInfo('24e89cb0-000f-5000-9000-1de77fa0d6df'); + $response = $client->getReceiptInfo('ra-27ed1660-0001-0050-7a5e-10f80e0f0f29'); echo $response->getStatus(); var_dump($response->toArray()); } catch (\Exception $e) { @@ -2121,8 +2366,8 @@ public getReceipts(null|array|\YooKassa\Request\Receipts\ReceiptsRequestInterfac $cursor = null; $params = [ 'limit' => 30, - 'status' => \YooKassa\Model\Payment\PaymentStatus::CANCELED, - 'payment_method' => \YooKassa\Model\Payment\PaymentMethodType::BANK_CARD, + 'status' => \YooKassa\Model\Payment\ReceiptRegistrationStatus::SUCCEEDED, + 'payment_id' => '1da5c87d-0984-50e8-a7f3-8de646dd9ec9', 'created_at_gte' => '2023-01-01T00:00:00.000Z', 'created_at_lt' => '2023-03-30T23:59:59.999Z', ]; @@ -2130,13 +2375,11 @@ $params = [ try { do { $params['cursor'] = $cursor; - $payments = $client->getPayments($params); - foreach ($payments->getItems() as $payment) { - echo $payment->getCreatedAt()->format('Y-m-d H:i:s') . ' - ' . - $payment->getStatus() . ' - ' . - $payment->getId() . "\n"; + $receipts = $client->getReceipts($params); + foreach ($receipts->getItems() as $receipt) { + echo $receipt->getStatus() . ' - ' . $receipt->getId() . "\n"; } - } while ($cursor = $payments->getNextCursor()); + } while ($cursor = $receipts->getNextCursor()); } catch (\Exception $e) { $response = $e; } @@ -2190,7 +2433,7 @@ public getRefundInfo(string $refundId) : ?\YooKassa\Request\Refunds\RefundRespon ```php try { - $response = $client->getReceiptInfo('ra-27ed1660-0001-0050-7a5e-10f80e0f0f29'); + $response = $client->getRefundInfo('216749f7-0016-50be-b000-078d43a63ae4'); echo $response->getStatus(); var_dump($response->toArray()); } catch (\Exception $e) { @@ -2531,6 +2774,65 @@ try { ``` + +#### public recipientPosLink() : null|\YooKassa\Model\PosLink\PosLinkInfo + +```php +public recipientPosLink(string $posLinkId, array|\YooKassa\Request\PosLink\RecipientPosLinkRequestInterface $recipientData, null|string $idempotenceKey = null) : null|\YooKassa\Model\PosLink\PosLinkInfo +``` + +**Summary** + +Изменение торговой точки, привязанной к кассовой ссылке. + +**Description** + +Запрос позволяет привязать к кассовой ссылке другую торговую точку. + +**Details:** +* Inherited From: [\YooKassa\Client](../classes/YooKassa-Client.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | posLinkId | Идентификатор кассовой ссылки | +| array OR \YooKassa\Request\PosLink\RecipientPosLinkRequestInterface | recipientData | Идентификатор торговой точки, которую вы хотите привязать к кассовой ссылке. | +| null OR string | idempotenceKey | [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\ApiException | Неожиданный код ошибки | +| \YooKassa\Common\Exceptions\BadApiRequestException | Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API | +| \YooKassa\Common\Exceptions\ForbiddenException | Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции | +| \YooKassa\Common\Exceptions\InternalServerError | Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности | +| \YooKassa\Common\Exceptions\NotFoundException | Ресурс не найден | +| \YooKassa\Common\Exceptions\ResponseProcessingException | Запрос был принят на обработку, но она не завершена | +| \YooKassa\Common\Exceptions\TooManyRequestsException | Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов | +| \YooKassa\Common\Exceptions\UnauthorizedException | Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации | +| \YooKassa\Common\Exceptions\ExtensionNotFoundException | Требуемое PHP расширение не установлено | + +**Returns:** null|\YooKassa\Model\PosLink\PosLinkInfo - Объект ответа от API +##### Examples: +Привязать торговую точку к кассовой ссылке: + +```php +$posLinkId = 'pl-285d3ab7-0003-5000-9000-0e1166498fda'; +$recipientData = [ + 'recipient' => [ + 'gateway_id' => '456', + ], +]; +try { + $response = $client->recipientPosLink($posLinkId, $recipientData, uniqid('', true)); + var_dump($response->toArray()); +} catch (\Exception $e) { + var_dump($e); +} + +``` + + #### public removeWebhook() : ?\YooKassa\Model\Webhook\Webhook @@ -2951,6 +3253,6 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractEnum.md b/docs/classes/YooKassa-Common-AbstractEnum.md index 451e1771..b37bee6b 100644 --- a/docs/classes/YooKassa-Common-AbstractEnum.md +++ b/docs/classes/YooKassa-Common-AbstractEnum.md @@ -131,6 +131,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractObject.md b/docs/classes/YooKassa-Common-AbstractObject.md index 72509355..040a98a2 100644 --- a/docs/classes/YooKassa-Common-AbstractObject.md +++ b/docs/classes/YooKassa-Common-AbstractObject.md @@ -379,6 +379,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequest.md b/docs/classes/YooKassa-Common-AbstractRequest.md index b3070de6..6a32a885 100644 --- a/docs/classes/YooKassa-Common-AbstractRequest.md +++ b/docs/classes/YooKassa-Common-AbstractRequest.md @@ -456,6 +456,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md index a462b354..a24296b9 100644 --- a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md +++ b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md @@ -164,6 +164,6 @@ Abstract protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterfa --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequestInterface.md b/docs/classes/YooKassa-Common-AbstractRequestInterface.md index 7155d8b6..c796dab7 100644 --- a/docs/classes/YooKassa-Common-AbstractRequestInterface.md +++ b/docs/classes/YooKassa-Common-AbstractRequestInterface.md @@ -103,6 +103,6 @@ public getLastValidationError() : string|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-AbstractError.md b/docs/classes/YooKassa-Common-Errors-AbstractError.md index 029ec897..f59aefc5 100644 --- a/docs/classes/YooKassa-Common-Errors-AbstractError.md +++ b/docs/classes/YooKassa-Common-Errors-AbstractError.md @@ -722,6 +722,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorBadRequest.md b/docs/classes/YooKassa-Common-Errors-ErrorBadRequest.md index e6d57db5..23f07370 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorBadRequest.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorBadRequest.md @@ -727,6 +727,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorCode.md b/docs/classes/YooKassa-Common-Errors-ErrorCode.md index 93236460..fc0b7415 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorCode.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorCode.md @@ -258,6 +258,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorCommon.md b/docs/classes/YooKassa-Common-Errors-ErrorCommon.md index 9b9d3804..8cd8d1a4 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorCommon.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorCommon.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorFactory.md b/docs/classes/YooKassa-Common-Errors-ErrorFactory.md index bfa28145..1c4a4486 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorFactory.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $code = null) : \YooKassa\Commo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorForbidden.md b/docs/classes/YooKassa-Common-Errors-ErrorForbidden.md index b4460567..5401f686 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorForbidden.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorForbidden.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorGone.md b/docs/classes/YooKassa-Common-Errors-ErrorGone.md index fe5945ba..099b1db7 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorGone.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorGone.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorInternalServerError.md b/docs/classes/YooKassa-Common-Errors-ErrorInternalServerError.md index 227345ff..ec98815f 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorInternalServerError.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorInternalServerError.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorInvalidCredentials.md b/docs/classes/YooKassa-Common-Errors-ErrorInvalidCredentials.md index 53a8e6be..ef6c51f3 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorInvalidCredentials.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorInvalidCredentials.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorNotFound.md b/docs/classes/YooKassa-Common-Errors-ErrorNotFound.md index 8fdae789..021b0425 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorNotFound.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorNotFound.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorRuleViolation.md b/docs/classes/YooKassa-Common-Errors-ErrorRuleViolation.md index 510b7c43..da51bc98 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorRuleViolation.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorRuleViolation.md @@ -780,6 +780,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorTooManyRequests.md b/docs/classes/YooKassa-Common-Errors-ErrorTooManyRequests.md index e47c8933..a6ef902b 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorTooManyRequests.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorTooManyRequests.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Errors-ErrorUnknown.md b/docs/classes/YooKassa-Common-Errors-ErrorUnknown.md index dd6e12c8..93671cfc 100644 --- a/docs/classes/YooKassa-Common-Errors-ErrorUnknown.md +++ b/docs/classes/YooKassa-Common-Errors-ErrorUnknown.md @@ -726,6 +726,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md b/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md index 4a151bed..50d03120 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md @@ -284,6 +284,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ApiException.md b/docs/classes/YooKassa-Common-Exceptions-ApiException.md index 20f65117..e9ed818d 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiException.md @@ -278,6 +278,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md b/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md index f65dfd28..8dbb581a 100644 --- a/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md @@ -284,6 +284,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md b/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md index eb86a0b3..5b1325e3 100644 --- a/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md @@ -294,6 +294,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md b/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md index 39e5b9eb..e9a57afa 100644 --- a/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md @@ -79,6 +79,6 @@ public getProperty() : string --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md b/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md index db785e47..0320b948 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md @@ -67,6 +67,6 @@ Constructor. --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md b/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md index f446a170..c58e25fa 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md @@ -294,6 +294,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-GoneException.md b/docs/classes/YooKassa-Common-Exceptions-GoneException.md index 84611a82..54577e74 100644 --- a/docs/classes/YooKassa-Common-Exceptions-GoneException.md +++ b/docs/classes/YooKassa-Common-Exceptions-GoneException.md @@ -294,6 +294,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md b/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md index 865371bd..d6903d69 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md +++ b/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md @@ -297,6 +297,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md index 93f5c210..0b7bd518 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md @@ -78,6 +78,6 @@ public getProperty() : string --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md index ca400bca..e063e3a2 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md @@ -94,6 +94,6 @@ public getValue() : mixed --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md index 7c24c222..404de81c 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md @@ -94,6 +94,6 @@ public getType() : string --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md b/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md index 757a4f8c..d28325f3 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md @@ -78,6 +78,6 @@ public getRequestObject() : ?\YooKassa\Common\AbstractRequestInterface --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-JsonException.md b/docs/classes/YooKassa-Common-Exceptions-JsonException.md index 25300629..cef1b612 100644 --- a/docs/classes/YooKassa-Common-Exceptions-JsonException.md +++ b/docs/classes/YooKassa-Common-Exceptions-JsonException.md @@ -77,6 +77,6 @@ public __construct(mixed $message = '', mixed $code, mixed $previous = --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md b/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md index 063d61f6..fe997e33 100644 --- a/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md @@ -294,6 +294,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md b/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md index 2c9a4811..98122751 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md @@ -294,6 +294,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md b/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md index 16c6d5cb..f5a4f228 100644 --- a/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md +++ b/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md @@ -294,6 +294,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md b/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md index 6efb3948..d5066673 100644 --- a/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md +++ b/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md @@ -297,6 +297,6 @@ protected parseErrorBody(array $errorData) : void --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-HttpVerb.md b/docs/classes/YooKassa-Common-HttpVerb.md index 1891eec8..512dd105 100644 --- a/docs/classes/YooKassa-Common-HttpVerb.md +++ b/docs/classes/YooKassa-Common-HttpVerb.md @@ -206,6 +206,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ListObject.md b/docs/classes/YooKassa-Common-ListObject.md index 193e9de2..a33151ae 100644 --- a/docs/classes/YooKassa-Common-ListObject.md +++ b/docs/classes/YooKassa-Common-ListObject.md @@ -477,6 +477,6 @@ public toArray() : array --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ListObjectInterface.md b/docs/classes/YooKassa-Common-ListObjectInterface.md index 238dafd3..65bb217b 100644 --- a/docs/classes/YooKassa-Common-ListObjectInterface.md +++ b/docs/classes/YooKassa-Common-ListObjectInterface.md @@ -219,6 +219,6 @@ public toArray() : array --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-LoggerWrapper.md b/docs/classes/YooKassa-Common-LoggerWrapper.md index 0e063957..d7694ff1 100644 --- a/docs/classes/YooKassa-Common-LoggerWrapper.md +++ b/docs/classes/YooKassa-Common-LoggerWrapper.md @@ -316,6 +316,6 @@ that are not necessarily wrong. --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ResponseObject.md b/docs/classes/YooKassa-Common-ResponseObject.md index 0845d91e..45c3f269 100644 --- a/docs/classes/YooKassa-Common-ResponseObject.md +++ b/docs/classes/YooKassa-Common-ResponseObject.md @@ -175,6 +175,6 @@ public getHeaders() : array --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md index 0ca861af..dabf7145 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md @@ -95,6 +95,6 @@ public load(mixed $filePath = null) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md index 8e8ff40e..39de6da1 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md @@ -77,6 +77,6 @@ public load() : \YooKassa\Helpers\Config\ConfigurationLoaderInterface --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-ProductCode.md b/docs/classes/YooKassa-Helpers-ProductCode.md index f19a56c2..51a93dce 100644 --- a/docs/classes/YooKassa-Helpers-ProductCode.md +++ b/docs/classes/YooKassa-Helpers-ProductCode.md @@ -646,6 +646,6 @@ public validate() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Random.md b/docs/classes/YooKassa-Helpers-Random.md index 877a7228..927bc905 100644 --- a/docs/classes/YooKassa-Helpers-Random.md +++ b/docs/classes/YooKassa-Helpers-Random.md @@ -216,6 +216,6 @@ Static public value(array $values) : mixed --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-RawHeadersParser.md b/docs/classes/YooKassa-Helpers-RawHeadersParser.md index 97591173..da14ae83 100644 --- a/docs/classes/YooKassa-Helpers-RawHeadersParser.md +++ b/docs/classes/YooKassa-Helpers-RawHeadersParser.md @@ -74,6 +74,6 @@ Static public parse(mixed $rawHeaders) : mixed --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-SecurityHelper.md b/docs/classes/YooKassa-Helpers-SecurityHelper.md index f7fedb49..f914551f 100644 --- a/docs/classes/YooKassa-Helpers-SecurityHelper.md +++ b/docs/classes/YooKassa-Helpers-SecurityHelper.md @@ -83,6 +83,6 @@ public isIPTrusted(mixed $ip) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-StringObject.md b/docs/classes/YooKassa-Helpers-StringObject.md index fee6fe93..2bf204c1 100644 --- a/docs/classes/YooKassa-Helpers-StringObject.md +++ b/docs/classes/YooKassa-Helpers-StringObject.md @@ -96,6 +96,6 @@ public __toString() : string --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-TypeCast.md b/docs/classes/YooKassa-Helpers-TypeCast.md index f20acc48..c5febb68 100644 --- a/docs/classes/YooKassa-Helpers-TypeCast.md +++ b/docs/classes/YooKassa-Helpers-TypeCast.md @@ -170,6 +170,6 @@ Static public castToDateTime(\DateTime|int|string $value) : null|\DateTime --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-UUID.md b/docs/classes/YooKassa-Helpers-UUID.md index 82a1b2af..bd6d5518 100644 --- a/docs/classes/YooKassa-Helpers-UUID.md +++ b/docs/classes/YooKassa-Helpers-UUID.md @@ -69,6 +69,6 @@ Static public v4() : string --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-AmountInterface.md b/docs/classes/YooKassa-Model-AmountInterface.md index d99ee4ed..c267b641 100644 --- a/docs/classes/YooKassa-Model-AmountInterface.md +++ b/docs/classes/YooKassa-Model-AmountInterface.md @@ -165,6 +165,6 @@ public toArray() : array --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md index f274bf61..721de2f0 100644 --- a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md @@ -83,6 +83,6 @@ public getReason() : string --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CurrencyCode.md b/docs/classes/YooKassa-Model-CurrencyCode.md index 4ee2f910..d5d8192e 100644 --- a/docs/classes/YooKassa-Model-CurrencyCode.md +++ b/docs/classes/YooKassa-Model-CurrencyCode.md @@ -265,6 +265,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md b/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md index d4f39543..7961d8f4 100644 --- a/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md +++ b/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-CaptureDealData.md b/docs/classes/YooKassa-Model-Deal-CaptureDealData.md index 22f723ac..764529bb 100644 --- a/docs/classes/YooKassa-Model-Deal-CaptureDealData.md +++ b/docs/classes/YooKassa-Model-Deal-CaptureDealData.md @@ -436,6 +436,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md b/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md index ab84a2f0..36df0e0d 100644 --- a/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md +++ b/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md @@ -514,6 +514,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealInterface.md b/docs/classes/YooKassa-Model-Deal-DealInterface.md index 35de5b89..aa449bc3 100644 --- a/docs/classes/YooKassa-Model-Deal-DealInterface.md +++ b/docs/classes/YooKassa-Model-Deal-DealInterface.md @@ -262,6 +262,6 @@ public getTest() : bool|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealStatus.md b/docs/classes/YooKassa-Model-Deal-DealStatus.md index 1b1ff0df..b6a40e04 100644 --- a/docs/classes/YooKassa-Model-Deal-DealStatus.md +++ b/docs/classes/YooKassa-Model-Deal-DealStatus.md @@ -168,6 +168,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-DealType.md b/docs/classes/YooKassa-Model-Deal-DealType.md index 03b5efec..2fe6e980 100644 --- a/docs/classes/YooKassa-Model-Deal-DealType.md +++ b/docs/classes/YooKassa-Model-Deal-DealType.md @@ -156,6 +156,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-FeeMoment.md b/docs/classes/YooKassa-Model-Deal-FeeMoment.md index 2f294c4b..9c988cce 100644 --- a/docs/classes/YooKassa-Model-Deal-FeeMoment.md +++ b/docs/classes/YooKassa-Model-Deal-FeeMoment.md @@ -163,6 +163,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md b/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md index 6bd97666..2ab9d503 100644 --- a/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md @@ -510,6 +510,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md b/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md index f33d8b19..23eba32a 100644 --- a/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md @@ -459,6 +459,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-RefundDealData.md b/docs/classes/YooKassa-Model-Deal-RefundDealData.md index a3352bc0..0af92600 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealData.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealData.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md b/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md index 4ac90518..c3b03b01 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md @@ -506,6 +506,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SafeDeal.md b/docs/classes/YooKassa-Model-Deal-SafeDeal.md index b4e7766a..a652507a 100644 --- a/docs/classes/YooKassa-Model-Deal-SafeDeal.md +++ b/docs/classes/YooKassa-Model-Deal-SafeDeal.md @@ -1204,6 +1204,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md index 3b47a4de..c37d92a2 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md @@ -495,6 +495,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md index d11f29b7..f3e168c4 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md @@ -156,6 +156,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md b/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md index aed3589f..139bd008 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md @@ -499,6 +499,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-AbstractDeliveryMethod.md b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-AbstractDeliveryMethod.md index ba55ba96..8772b671 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-AbstractDeliveryMethod.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-AbstractDeliveryMethod.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodEmail.md b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodEmail.md index 79ccee63..0894e5fc 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodEmail.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodEmail.md @@ -447,6 +447,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodFactory.md b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodFactory.md index 9b5a00b7..aed65e53 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodFactory.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSelf.md b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSelf.md index c7eb50ed..9a674598 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSelf.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSelf.md @@ -526,6 +526,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSms.md b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSms.md index e93d1bb4..7578cd06 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSms.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSms.md @@ -447,6 +447,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodType.md b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodType.md index 01f5370c..3236e4bf 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodType.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodType.md @@ -194,6 +194,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodUnknown.md b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodUnknown.md index 97bf242b..b83a1bf1 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodUnknown.md @@ -448,6 +448,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-Invoice.md b/docs/classes/YooKassa-Model-Invoice-Invoice.md index d6ea2370..5467a744 100644 --- a/docs/classes/YooKassa-Model-Invoice-Invoice.md +++ b/docs/classes/YooKassa-Model-Invoice-Invoice.md @@ -1141,6 +1141,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetails.md b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetails.md index fc615c01..2133e1f2 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetails.md @@ -493,6 +493,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsPartyCode.md index 734b1c01..b79bb629 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsPartyCode.md @@ -156,6 +156,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md index 5c5088c8..1550d729 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md @@ -186,6 +186,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-InvoiceInterface.md b/docs/classes/YooKassa-Model-Invoice-InvoiceInterface.md index a252e21c..3d429c7b 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceInterface.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceInterface.md @@ -506,6 +506,6 @@ public setMetadata(string|array|null $metadata = null) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-InvoiceStatus.md b/docs/classes/YooKassa-Model-Invoice-InvoiceStatus.md index d169421a..f83b882b 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceStatus.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceStatus.md @@ -182,6 +182,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-LineItem.md b/docs/classes/YooKassa-Model-Invoice-LineItem.md index 82e175e3..5866261b 100644 --- a/docs/classes/YooKassa-Model-Invoice-LineItem.md +++ b/docs/classes/YooKassa-Model-Invoice-LineItem.md @@ -634,6 +634,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Invoice-PaymentDetails.md b/docs/classes/YooKassa-Model-Invoice-PaymentDetails.md index 0599a785..997a2369 100644 --- a/docs/classes/YooKassa-Model-Invoice-PaymentDetails.md +++ b/docs/classes/YooKassa-Model-Invoice-PaymentDetails.md @@ -494,6 +494,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Metadata.md b/docs/classes/YooKassa-Model-Metadata.md index 6a239c16..a698dc68 100644 --- a/docs/classes/YooKassa-Model-Metadata.md +++ b/docs/classes/YooKassa-Model-Metadata.md @@ -407,6 +407,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-MonetaryAmount.md b/docs/classes/YooKassa-Model-MonetaryAmount.md index b55a93c2..7fa68e0e 100644 --- a/docs/classes/YooKassa-Model-MonetaryAmount.md +++ b/docs/classes/YooKassa-Model-MonetaryAmount.md @@ -575,6 +575,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-AbstractNotification.md b/docs/classes/YooKassa-Model-Notification-AbstractNotification.md index f5e83ca5..f6ad4593 100644 --- a/docs/classes/YooKassa-Model-Notification-AbstractNotification.md +++ b/docs/classes/YooKassa-Model-Notification-AbstractNotification.md @@ -623,6 +623,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md b/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md index 9df0997c..9b53b8e3 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md b/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md index 34515d63..aea2679f 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationEventType.md b/docs/classes/YooKassa-Model-Notification-NotificationEventType.md index c9400640..fec423f5 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationEventType.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationEventType.md @@ -213,6 +213,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationFactory.md b/docs/classes/YooKassa-Model-Notification-NotificationFactory.md index 5fa26255..55ffa555 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationFactory.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationFactory.md @@ -142,6 +142,6 @@ public factory(array $data) : \YooKassa\Model\Notification\AbstractNotification --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationInterface.md b/docs/classes/YooKassa-Model-Notification-NotificationInterface.md index 7eedd222..ae3dd8c0 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationInterface.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationInterface.md @@ -104,6 +104,6 @@ public getObject() : \YooKassa\Model\Payment\PaymentInterface|\YooKassa\Model\Re --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationPaymentMethodActive.md b/docs/classes/YooKassa-Model-Notification-NotificationPaymentMethodActive.md index c1d6ccda..cb810a28 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationPaymentMethodActive.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationPaymentMethodActive.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md b/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md index 3ed70b9c..11b58909 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md b/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md index b5b91e20..860d3525 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md b/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md index ae4187ab..8efe1c90 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md b/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md index 50763557..b381e702 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationType.md b/docs/classes/YooKassa-Model-Notification-NotificationType.md index db54a4cc..4de80741 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationType.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationType.md @@ -134,6 +134,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md b/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md index 345cdcd3..34a87a85 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md @@ -675,6 +675,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md b/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md index f07aa2ef..9425008c 100644 --- a/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md +++ b/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md @@ -577,6 +577,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md b/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md index b15c0802..cc947fdb 100644 --- a/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md @@ -104,6 +104,6 @@ public getThreeDSecure() : null|\YooKassa\Model\Payment\ThreeDSecure --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-CancellationDetails.md b/docs/classes/YooKassa-Model-Payment-CancellationDetails.md index 114341cf..a53cc9d4 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetails.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetails.md @@ -495,6 +495,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md index 60952a0b..4edb728a 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md @@ -176,6 +176,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md index b7443b0b..a008792f 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md @@ -36,6 +36,9 @@ | public | [DEAL_EXPIRED](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_DEAL_EXPIRED) | | Для тех, кто использует Безопасную сделку: закончился срок жизни сделки. | | public | [UNSUPPORTED_MOBILE_OPERATOR](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_UNSUPPORTED_MOBILE_OPERATOR) | | Нельзя заплатить с номера телефона этого мобильного оператора. При новой попытке оплаты пользователю следует использовать другое платежное средство. Список поддерживаемых операторов | | public | [REJECTED_BY_TIMEOUT](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_REJECTED_BY_TIMEOUT) | | Отклонено по таймауту | +| public | [LOAN_DECLINED](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_LOAN_DECLINED) | | Организация, предоставляющая кредит или рассрочку, отказала в выдаче. При новой попытке оплаты пользователю следует выбрать другое платежное средство | +| public | [LOAN_DECLINED_BY_PAYER](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_LOAN_DECLINED_BY_PAYER) | | Покупатель отказался от кредитной сделки | +| public | [LOAN_APPLICATION_EXPIRED](../classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md#constant_LOAN_APPLICATION_EXPIRED) | | Истек срок действия заявки на кредит | --- ### Properties @@ -267,6 +270,33 @@ REJECTED_BY_TIMEOUT = 'rejected_by_timeout' ``` + +###### LOAN_DECLINED +Организация, предоставляющая кредит или рассрочку, отказала в выдаче. При новой попытке оплаты пользователю следует выбрать другое платежное средство + +```php +LOAN_DECLINED = 'loan_declined' +``` + + + +###### LOAN_DECLINED_BY_PAYER +Покупатель отказался от кредитной сделки + +```php +LOAN_DECLINED_BY_PAYER = 'loan_declined_by_payer' +``` + + + +###### LOAN_APPLICATION_EXPIRED +Истек срок действия заявки на кредит + +```php +LOAN_APPLICATION_EXPIRED = 'loan_application_expired' +``` + + --- ## Properties @@ -353,6 +383,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md b/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md index 4f3abb19..dba67a9c 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md @@ -507,6 +507,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md index 2a7cdc9a..4d1eb934 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md @@ -502,6 +502,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md index d4e76acc..d0cdb1da 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md @@ -574,6 +574,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md index 302f30d4..78f1f3da 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md @@ -519,6 +519,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md index a0fc84b5..bfc418ca 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md @@ -99,6 +99,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md index 1301ea40..f2a9a8e5 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md @@ -573,6 +573,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md index 14dffb94..54d1015e 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md @@ -573,6 +573,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md index 9bc3a6d2..7b58c609 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md @@ -696,6 +696,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-ConfirmationType.md b/docs/classes/YooKassa-Model-Payment-ConfirmationType.md index ccaea224..3ee12a36 100644 --- a/docs/classes/YooKassa-Model-Payment-ConfirmationType.md +++ b/docs/classes/YooKassa-Model-Payment-ConfirmationType.md @@ -206,6 +206,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Payment.md b/docs/classes/YooKassa-Model-Payment-Payment.md index 04abce3a..a00986bc 100644 --- a/docs/classes/YooKassa-Model-Payment-Payment.md +++ b/docs/classes/YooKassa-Model-Payment-Payment.md @@ -1997,6 +1997,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentInterface.md b/docs/classes/YooKassa-Model-Payment-PaymentInterface.md index 5ca31cb1..3804a5de 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentInterface.md @@ -483,6 +483,6 @@ public getInvoiceDetails() : \YooKassa\Model\Payment\PaymentInvoiceDetails|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentInvoiceDetails.md b/docs/classes/YooKassa-Model-Payment-PaymentInvoiceDetails.md index fa98d5e6..1166a784 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentInvoiceDetails.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentInvoiceDetails.md @@ -439,6 +439,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md index 3c40b08e..8b4fabe3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md @@ -739,6 +739,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md index 61f7a3be..0bd69dae 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md index 2f615c9f..744eada9 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md @@ -555,6 +555,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md index 96d9735d..c95f5b85 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md index 0563cb28..0e132092 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md @@ -938,6 +938,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md index cc0e0aa7..c33fc05b 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md @@ -220,6 +220,6 @@ public getAccount() : string|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md index 58c16429..07cb6dce 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md @@ -447,6 +447,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md index c75819e6..265cf6b3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md @@ -103,6 +103,6 @@ public factoryFromArray(array|null $data = [], string|null $type = null) : \YooK --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md index cfaeb8d6..77ef7a98 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md @@ -106,6 +106,6 @@ public getAmount() : \YooKassa\Model\AmountInterface|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md index 28c5049d..6512bbb3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md @@ -207,6 +207,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md index 906929ff..0b5be5f3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md @@ -171,6 +171,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md index 1cfb4217..a8959d83 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md @@ -961,6 +961,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md index 42d6464b..fd0b8d59 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md @@ -494,6 +494,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md index 36095f34..330d2ba2 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md @@ -171,6 +171,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md index c8dbe447..c669e2e8 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md @@ -273,6 +273,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md index 3118fb8b..d043b99f 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md @@ -653,6 +653,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md index 6eb98769..ce17dbeb 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md @@ -640,6 +640,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md index 565bfbd2..fad8318e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md @@ -507,6 +507,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md index 2c686fdf..466cdc7e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md @@ -801,6 +801,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaPay.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaPay.md index 1c29a4f7..5106e31f 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaPay.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaPay.md @@ -812,6 +812,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md index 01384d74..ac1f312d 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md @@ -746,6 +746,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md index e6aeb49d..02a8ca37 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md @@ -947,6 +947,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md index d7a8f09b..30d19499 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md @@ -809,6 +809,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md index 9232fe12..a3abc727 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md @@ -746,6 +746,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md index 27c72f36..c1eba72a 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md @@ -934,6 +934,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md index 2d53b76c..6548ed81 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md @@ -116,6 +116,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md index 83832260..b9d9c740 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md @@ -746,6 +746,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md index 07e0dc95..76659f8d 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md @@ -747,6 +747,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md index a559a29c..690e2287 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md @@ -800,6 +800,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md index 716ac1fe..bf4b5d0d 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md @@ -747,6 +747,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md index cdaea6c9..4f9d9017 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md @@ -747,6 +747,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberBnpl.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberBnpl.md index c5a8e5f0..127eb2c8 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberBnpl.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberBnpl.md @@ -746,6 +746,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md index 2f1c9840..e5509720 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md @@ -947,6 +947,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md index ba425aee..af0b27c6 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md @@ -866,6 +866,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md index 559e184a..f6506198 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md @@ -1014,6 +1014,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md index 3bdb8fe6..5fccc09a 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md @@ -812,6 +812,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md index ac088840..39efa6ac 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md @@ -747,6 +747,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md index 40038edb..8f1d02a8 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md @@ -747,6 +747,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md index ee5aaaed..7c2eeda3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md @@ -747,6 +747,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md index 9d697ac0..563131be 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md @@ -813,6 +813,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md b/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md index f319bb53..5412a24e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md @@ -494,6 +494,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethodStatus.md b/docs/classes/YooKassa-Model-Payment-PaymentMethodStatus.md index 5416d67f..4547417e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethodStatus.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethodStatus.md @@ -172,6 +172,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md b/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md index 0f2f9efb..a06d01b1 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md @@ -378,6 +378,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-PaymentStatus.md b/docs/classes/YooKassa-Model-Payment-PaymentStatus.md index 5c2d2a69..1aaab78a 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentStatus.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentStatus.md @@ -182,6 +182,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md b/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md index d8b658be..f4a748f3 100644 --- a/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md +++ b/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md @@ -171,6 +171,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Recipient.md b/docs/classes/YooKassa-Model-Payment-Recipient.md index 752bb656..b9a44dcc 100644 --- a/docs/classes/YooKassa-Model-Payment-Recipient.md +++ b/docs/classes/YooKassa-Model-Payment-Recipient.md @@ -531,6 +531,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-RecipientInterface.md b/docs/classes/YooKassa-Model-Payment-RecipientInterface.md index 32a4dff5..a64bc411 100644 --- a/docs/classes/YooKassa-Model-Payment-RecipientInterface.md +++ b/docs/classes/YooKassa-Model-Payment-RecipientInterface.md @@ -98,6 +98,6 @@ public getGatewayId() : string|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md b/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md index ab821107..83e48186 100644 --- a/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md +++ b/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md @@ -439,6 +439,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-Transfer.md b/docs/classes/YooKassa-Model-Payment-Transfer.md index 125c1ca8..70af6322 100644 --- a/docs/classes/YooKassa-Model-Payment-Transfer.md +++ b/docs/classes/YooKassa-Model-Payment-Transfer.md @@ -886,6 +886,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-TransferInterface.md b/docs/classes/YooKassa-Model-Payment-TransferInterface.md index 97a6aa95..4b188825 100644 --- a/docs/classes/YooKassa-Model-Payment-TransferInterface.md +++ b/docs/classes/YooKassa-Model-Payment-TransferInterface.md @@ -312,6 +312,6 @@ public getMetadata() : null|\YooKassa\Model\Metadata --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payment-TransferStatus.md b/docs/classes/YooKassa-Model-Payment-TransferStatus.md index 1188acec..2e2d87c9 100644 --- a/docs/classes/YooKassa-Model-Payment-TransferStatus.md +++ b/docs/classes/YooKassa-Model-Payment-TransferStatus.md @@ -181,6 +181,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md b/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md index 1279ada1..796fe51e 100644 --- a/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md +++ b/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md b/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md index 6904caa1..042c5c0e 100644 --- a/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md +++ b/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md @@ -648,6 +648,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-Payout.md b/docs/classes/YooKassa-Model-Payout-Payout.md index 9baf6a37..df003ad4 100644 --- a/docs/classes/YooKassa-Model-Payout-Payout.md +++ b/docs/classes/YooKassa-Model-Payout-Payout.md @@ -1352,6 +1352,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md index cee9baf8..cd416db6 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md @@ -495,6 +495,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md index a2a8967c..5f8a3075 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md @@ -167,6 +167,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md index 39d9fbfc..97c6f488 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md @@ -266,6 +266,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md index 8e3c9493..f72ba6a3 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md @@ -509,6 +509,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md index 65b94303..960ebbad 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md @@ -707,6 +707,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md index eba8627c..0f42c8b9 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md index 80d31593..5e22343a 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md @@ -722,6 +722,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md index 1b1252f3..75ea5fbc 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md @@ -178,6 +178,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md b/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md index 3bf86c76..dd32ea3f 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md @@ -542,6 +542,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutInterface.md b/docs/classes/YooKassa-Model-Payout-PayoutInterface.md index 07d68d2c..72f57f6a 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutInterface.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutInterface.md @@ -262,6 +262,6 @@ public getTest() : bool|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md b/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md index 860863b3..bf3e85ea 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md @@ -460,6 +460,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-PayoutStatus.md b/docs/classes/YooKassa-Model-Payout-PayoutStatus.md index 3edc42a5..4fa0219d 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutStatus.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutStatus.md @@ -178,6 +178,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md b/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md index 6d426206..53b5c151 100644 --- a/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md +++ b/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md @@ -580,6 +580,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalData.md b/docs/classes/YooKassa-Model-PersonalData-PersonalData.md index 8f56668e..daf423af 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalData.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalData.md @@ -927,6 +927,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md index f79bef21..5ba7de5e 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md @@ -493,6 +493,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md index ffa5d638..33f11f28 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md @@ -146,6 +146,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md index 6454538d..8e57a0fc 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md @@ -146,6 +146,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md index 35d0fcd5..9e55ce69 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md @@ -366,6 +366,6 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata = null) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md index cc842ceb..b75eca30 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md @@ -170,6 +170,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md b/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md index 05cc45bb..eed42654 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md @@ -159,6 +159,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PosLink-PosLinkInfo.md b/docs/classes/YooKassa-Model-PosLink-PosLinkInfo.md new file mode 100644 index 00000000..ca917c8b --- /dev/null +++ b/docs/classes/YooKassa-Model-PosLink-PosLinkInfo.md @@ -0,0 +1,709 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\PosLink\PosLinkInfo +### Namespace: [\YooKassa\Model\PosLink](../namespaces/yookassa-model-poslink.md) +--- +**Summary:** + +Класс, представляющий модель PosLinkInfo. + +**Description:** + +Информация о кассовой ссылке. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$id](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_id) | | Идентификатор кассовой ссылки в ЮKassa | +| public | [$payment](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_payment) | | Данные о последнем платеже по кассовой ссылке | +| public | [$recipient](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_recipient) | | Получатель платежа по кассовой ссылке | +| public | [$status](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_status) | | Статус кассовой ссылки | +| public | [$type](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_type) | | Тип кассовой ссылки | +| protected | [$_id](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__id) | | Идентификатор кассовой ссылки в ЮKassa. | +| protected | [$_payment](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__payment) | | | +| protected | [$_recipient](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__recipient) | | | +| protected | [$_status](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__status) | | | +| protected | [$_type](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__type) | | | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getId()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getId) | | Возвращает идентификатор кассовой ссылки в ЮKassa. | +| public | [getPayment()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getPayment) | | Возвращает данные о последнем платеже по кассовой ссылке. | +| public | [getRecipient()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getRecipient) | | Возвращает получателя платежа по кассовой ссылке. | +| public | [getStatus()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getStatus) | | Возвращает статус кассовой ссылки. | +| public | [getType()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getType) | | Возвращает тип кассовой ссылки. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setId()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setId) | | Устанавливает идентификатор кассовой ссылки в ЮKassa. | +| public | [setPayment()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setPayment) | | Устанавливает данные о последнем платеже по кассовой ссылке. | +| public | [setRecipient()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | +| public | [setStatus()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setStatus) | | Устанавливает статус кассовой ссылки. | +| public | [setType()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setType) | | Устанавливает тип кассовой ссылки. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/PosLink/PosLinkInfo.php](../../lib/Model/PosLink/PosLinkInfo.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\PosLink\PosLinkInfo + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $id : string +--- +***Description*** + +Идентификатор кассовой ссылки в ЮKassa + +**Type:** string + +**Details:** + + + +#### public $payment : \YooKassa\Model\PosLink\PosLinkLastPayment +--- +***Description*** + +Данные о последнем платеже по кассовой ссылке + +**Type:** PosLinkLastPayment + +**Details:** + + + +#### public $recipient : \YooKassa\Model\PosLink\PosLinkRecipient +--- +***Description*** + +Получатель платежа по кассовой ссылке + +**Type:** PosLinkRecipient + +**Details:** + + + +#### public $status : string +--- +***Description*** + +Статус кассовой ссылки + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Тип кассовой ссылки + +**Type:** string + +**Details:** + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор кассовой ссылки в ЮKassa. + +**Type:** ?string + +**Details:** + + + +#### protected $_payment : ?\YooKassa\Model\PosLink\PosLinkLastPayment +--- +**Type:** PosLinkLastPayment +Данные о последнем платеже по кассовой ссылке +**Details:** + + + +#### protected $_recipient : ?\YooKassa\Model\PosLink\PosLinkRecipient +--- +**Type:** PosLinkRecipient +Получатель платежа по кассовой ссылке +**Details:** + + + +#### protected $_status : ?string +--- +**Type:** ?string +Статус кассовой ссылки +**Details:** + + + +#### protected $_type : ?string +--- +**Type:** ?string +Тип кассовой ссылки +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Идентификатор кассовой ссылки в ЮKassa + + + +#### public getPayment() : \YooKassa\Model\PosLink\PosLinkLastPayment|null + +```php +public getPayment() : \YooKassa\Model\PosLink\PosLinkLastPayment|null +``` + +**Summary** + +Возвращает данные о последнем платеже по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkLastPayment|null - Данные о последнем платеже по кассовой ссылке + + + +#### public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null + +```php +public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null +``` + +**Summary** + +Возвращает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkRecipient|null - Получатель платежа по кассовой ссылке + + + +#### public getStatus() : string|null + +```php +public getStatus() : string|null +``` + +**Summary** + +Возвращает статус кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Статус кассовой ссылки + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Тип кассовой ссылки + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор кассовой ссылки в ЮKassa | + +**Returns:** self - + + + +#### public setPayment() : self + +```php +public setPayment(\YooKassa\Model\PosLink\PosLinkLastPayment|array|null $payment = null) : self +``` + +**Summary** + +Устанавливает данные о последнем платеже по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkLastPayment OR array OR null | payment | Данные о последнем платеже по кассовой ссылке | + +**Returns:** self - + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Model\PosLink\PosLinkRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkRecipient OR array OR null | recipient | Получатель платежа по кассовой ссылке | + +**Returns:** self - + + + +#### public setStatus() : self + +```php +public setStatus(string|null $status = null) : self +``` + +**Summary** + +Устанавливает статус кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | status | Статус кассовой ссылки | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает тип кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип кассовой ссылки | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PosLink-PosLinkLastPayment.md b/docs/classes/YooKassa-Model-PosLink-PosLinkLastPayment.md new file mode 100644 index 00000000..e81d9a6f --- /dev/null +++ b/docs/classes/YooKassa-Model-PosLink-PosLinkLastPayment.md @@ -0,0 +1,520 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\PosLink\PosLinkLastPayment +### Namespace: [\YooKassa\Model\PosLink](../namespaces/yookassa-model-poslink.md) +--- +**Summary:** + +Класс, представляющий модель PosLinkLastPayment. + +**Description:** + +Данные о последнем платеже по кассовой ссылке. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$id](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#property_id) | | Идентификатор платежа в ЮKassa | +| public | [$status](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#property_status) | | Текущее состояние платежа | +| protected | [$_id](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#property__id) | | Идентификатор платежа в ЮKassa. | +| protected | [$_status](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#property__status) | | | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getId()](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#method_getId) | | Возвращает идентификатор платежа в ЮKassa. | +| public | [getStatus()](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#method_getStatus) | | Возвращает состояние платежа. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setId()](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#method_setId) | | Устанавливает идентификатор платежа в ЮKassa. | +| public | [setStatus()](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md#method_setStatus) | | Устанавливает состояние платежа. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/PosLink/PosLinkLastPayment.php](../../lib/Model/PosLink/PosLinkLastPayment.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\PosLink\PosLinkLastPayment + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $id : string +--- +***Description*** + +Идентификатор платежа в ЮKassa + +**Type:** string + +**Details:** + + + +#### public $status : string +--- +***Description*** + +Текущее состояние платежа + +**Type:** string + +**Details:** + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор платежа в ЮKassa. + +**Type:** ?string + +**Details:** + + + +#### protected $_status : ?string +--- +**Type:** ?string +Текущее состояние платежа +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает идентификатор платежа в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkLastPayment](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md) + +**Returns:** string|null - Идентификатор платежа в ЮKassa + + + +#### public getStatus() : string|null + +```php +public getStatus() : string|null +``` + +**Summary** + +Возвращает состояние платежа. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkLastPayment](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md) + +**Returns:** string|null - Текущее состояние платежа + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает идентификатор платежа в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkLastPayment](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор платежа в ЮKassa | + +**Returns:** self - + + + +#### public setStatus() : self + +```php +public setStatus(string|null $status = null) : self +``` + +**Summary** + +Устанавливает состояние платежа. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkLastPayment](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | status | Текущее состояние платежа | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PosLink-PosLinkPayment.md b/docs/classes/YooKassa-Model-PosLink-PosLinkPayment.md new file mode 100644 index 00000000..35de5af7 --- /dev/null +++ b/docs/classes/YooKassa-Model-PosLink-PosLinkPayment.md @@ -0,0 +1,537 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\PosLink\PosLinkPayment +### Namespace: [\YooKassa\Model\PosLink](../namespaces/yookassa-model-poslink.md) +--- +**Summary:** + +Класс, представляющий модель PaymentData. + +**Description:** + +Данные о кассовой ссылке для проведения платежа в офлайне. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$expires_at](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#property_expires_at) | | Срок действия оплаты | +| public | [$expiresAt](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#property_expiresAt) | | Срок действия оплаты | +| public | [$id](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#property_id) | | Идентификатор кассовой ссылки в ЮKassa | +| protected | [$_expires_at](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#property__expires_at) | | Срок действия оплаты. Может составлять от 1 до 20 минут с момента создания платежа, по умолчанию 20 минут. | +| protected | [$_id](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#property__id) | | Идентификатор кассовой ссылки в ЮKassa. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getExpiresAt()](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#method_getExpiresAt) | | Возвращает срок действия оплаты. | +| public | [getId()](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#method_getId) | | Возвращает идентификатор кассовой ссылки в ЮKassa. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setExpiresAt()](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#method_setExpiresAt) | | Устанавливает срок действия оплаты. | +| public | [setId()](../classes/YooKassa-Model-PosLink-PosLinkPayment.md#method_setId) | | Устанавливает идентификатор кассовой ссылки в ЮKassa. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/PosLink/PosLinkPayment.php](../../lib/Model/PosLink/PosLinkPayment.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\PosLink\PosLinkPayment + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $expires_at : \DateTime +--- +***Description*** + +Срок действия оплаты + +**Type:** \DateTime + +**Details:** + + + +#### public $expiresAt : \DateTime +--- +***Description*** + +Срок действия оплаты + +**Type:** \DateTime + +**Details:** + + + +#### public $id : string +--- +***Description*** + +Идентификатор кассовой ссылки в ЮKassa + +**Type:** string + +**Details:** + + + +#### protected $_expires_at : ?\DateTime +--- +**Summary** + +Срок действия оплаты. Может составлять от 1 до 20 минут с момента создания платежа, по умолчанию 20 минут. + +**Type:** DateTime + +**Details:** + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор кассовой ссылки в ЮKassa. + +**Type:** ?string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getExpiresAt() : \DateTime|null + +```php +public getExpiresAt() : \DateTime|null +``` + +**Summary** + +Возвращает срок действия оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkPayment](../classes/YooKassa-Model-PosLink-PosLinkPayment.md) + +**Returns:** \DateTime|null - Срок действия оплаты + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkPayment](../classes/YooKassa-Model-PosLink-PosLinkPayment.md) + +**Returns:** string|null - Идентификатор кассовой ссылки в ЮKassa + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setExpiresAt() : self + +```php +public setExpiresAt(\DateTime|string|null $expires_at = null) : self +``` + +**Summary** + +Устанавливает срок действия оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkPayment](../classes/YooKassa-Model-PosLink-PosLinkPayment.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \DateTime OR string OR null | expires_at | Срок действия оплаты | + +**Returns:** self - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkPayment](../classes/YooKassa-Model-PosLink-PosLinkPayment.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор кассовой ссылки в ЮKassa | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PosLink-PosLinkRecipient.md b/docs/classes/YooKassa-Model-PosLink-PosLinkRecipient.md new file mode 100644 index 00000000..47b21e3a --- /dev/null +++ b/docs/classes/YooKassa-Model-PosLink-PosLinkRecipient.md @@ -0,0 +1,470 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\PosLink\PosLinkRecipient +### Namespace: [\YooKassa\Model\PosLink](../namespaces/yookassa-model-poslink.md) +--- +**Summary:** + +Класс, представляющий модель PosLinkRecipient. + +**Description:** + +Получатель платежа по кассовой ссылке. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$gateway_id](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md#property_gateway_id) | | Идентификатор субаккаунта | +| public | [$gatewayId](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md#property_gatewayId) | | Идентификатор субаккаунта | +| protected | [$_gateway_id](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md#property__gateway_id) | | Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getGatewayId()](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md#method_getGatewayId) | | Возвращает идентификатор субаккаунта. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setGatewayId()](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md#method_setGatewayId) | | Устанавливает идентификатор субаккаунта. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Model/PosLink/PosLinkRecipient.php](../../lib/Model/PosLink/PosLinkRecipient.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\PosLink\PosLinkRecipient + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $gateway_id : string +--- +***Description*** + +Идентификатор субаккаунта + +**Type:** string + +**Details:** + + + +#### public $gatewayId : string +--- +***Description*** + +Идентификатор субаккаунта + +**Type:** string + +**Details:** + + + +#### protected $_gateway_id : ?string +--- +**Summary** + +Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. + +**Type:** ?string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getGatewayId() : string|null + +```php +public getGatewayId() : string|null +``` + +**Summary** + +Возвращает идентификатор субаккаунта. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkRecipient](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md) + +**Returns:** string|null - Идентификатор субаккаунта + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setGatewayId() : self + +```php +public setGatewayId(string|null $gateway_id = null) : self +``` + +**Summary** + +Устанавливает идентификатор субаккаунта. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkRecipient](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | gateway_id | Идентификатор субаккаунта | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PosLink-PosLinkStatus.md b/docs/classes/YooKassa-Model-PosLink-PosLinkStatus.md new file mode 100644 index 00000000..a951b04b --- /dev/null +++ b/docs/classes/YooKassa-Model-PosLink-PosLinkStatus.md @@ -0,0 +1,174 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\PosLink\PosLinkStatus +### Namespace: [\YooKassa\Model\PosLink](../namespaces/yookassa-model-poslink.md) +--- +**Summary:** + +Класс, представляющий модель PosLinkStatus. + +**Description:** + +Статус кассовой ссылки. + +Возможные значения: + * ~`active` — кассовая ссылка активна и готова к приему платежей; + * ~`inactive` — кассовая ссылка неактивна, прием платежей недоступен. + +--- +### Constants +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [ACTIVE](../classes/YooKassa-Model-PosLink-PosLinkStatus.md#constant_ACTIVE) | | Кассовая ссылка активна и готова к приему платежей | +| public | [INACTIVE](../classes/YooKassa-Model-PosLink-PosLinkStatus.md#constant_INACTIVE) | | Кассовая ссылка неактивна, прием платежей недоступен | + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$validValues](../classes/YooKassa-Model-PosLink-PosLinkStatus.md#property_validValues) | | Возвращает список доступных значений. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [getEnabledValues()](../classes/YooKassa-Common-AbstractEnum.md#method_getEnabledValues) | | Возвращает значения в enum'е значения которых разрешены. | +| public | [getValidValues()](../classes/YooKassa-Common-AbstractEnum.md#method_getValidValues) | | Возвращает все значения в enum'e. | +| public | [valueExists()](../classes/YooKassa-Common-AbstractEnum.md#method_valueExists) | | Проверяет наличие значения в enum'e. | + +--- +### Details +* File: [lib/Model/PosLink/PosLinkStatus.php](../../lib/Model/PosLink/PosLinkStatus.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + * \YooKassa\Model\PosLink\PosLinkStatus + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Constants + +###### ACTIVE +Кассовая ссылка активна и готова к приему платежей + +```php +ACTIVE = 'active' +``` + + + +###### INACTIVE +Кассовая ссылка неактивна, прием платежей недоступен + +```php +INACTIVE = 'inactive' +``` + + + +--- +## Properties + +#### protected $validValues : array +--- +**Summary** + +Возвращает список доступных значений. + +**Type:** array +Массив принимаемых enum'ом значений +**Details:** + + +##### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| return | | | + + +--- +## Methods + +#### public getEnabledValues() : string[] + +```php +Static public getEnabledValues() : string[] +``` + +**Summary** + +Возвращает значения в enum'е значения которых разрешены. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +**Returns:** string[] - Массив разрешённых значений + + + +#### public getValidValues() : array + +```php +Static public getValidValues() : array +``` + +**Summary** + +Возвращает все значения в enum'e. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +**Returns:** array - Массив значений в перечислении + + + +#### public valueExists() : bool + +```php +Static public valueExists(mixed $value) : bool +``` + +**Summary** + +Проверяет наличие значения в enum'e. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| mixed | value | Проверяемое значение | + +**Returns:** bool - True если значение имеется, false если нет + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-PosLink-PosLinkType.md b/docs/classes/YooKassa-Model-PosLink-PosLinkType.md new file mode 100644 index 00000000..7ad01fc0 --- /dev/null +++ b/docs/classes/YooKassa-Model-PosLink-PosLinkType.md @@ -0,0 +1,162 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\PosLink\PosLinkType +### Namespace: [\YooKassa\Model\PosLink](../namespaces/yookassa-model-poslink.md) +--- +**Summary:** + +Класс, представляющий модель PosLinkType. + +**Description:** + +Тип кассовой ссылки — провайдер, доступный для проведения платежей по этой кассовой ссылке. + +Возможные значения: ~`nspk` — НСПК (Национальная Система Платежных Карт), проводит платежи через СБП. + +--- +### Constants +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [NSPK](../classes/YooKassa-Model-PosLink-PosLinkType.md#constant_NSPK) | | НСПК (Национальная Система Платежных Карт), проводит платежи через СБП | + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$validValues](../classes/YooKassa-Model-PosLink-PosLinkType.md#property_validValues) | | Возвращает список доступных значений. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [getEnabledValues()](../classes/YooKassa-Common-AbstractEnum.md#method_getEnabledValues) | | Возвращает значения в enum'е значения которых разрешены. | +| public | [getValidValues()](../classes/YooKassa-Common-AbstractEnum.md#method_getValidValues) | | Возвращает все значения в enum'e. | +| public | [valueExists()](../classes/YooKassa-Common-AbstractEnum.md#method_valueExists) | | Проверяет наличие значения в enum'e. | + +--- +### Details +* File: [lib/Model/PosLink/PosLinkType.php](../../lib/Model/PosLink/PosLinkType.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + * \YooKassa\Model\PosLink\PosLinkType + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Constants + +###### NSPK +НСПК (Национальная Система Платежных Карт), проводит платежи через СБП + +```php +NSPK = 'nspk' +``` + + + +--- +## Properties + +#### protected $validValues : array +--- +**Summary** + +Возвращает список доступных значений. + +**Type:** array +Массив принимаемых enum'ом значений +**Details:** + + +##### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| return | | | + + +--- +## Methods + +#### public getEnabledValues() : string[] + +```php +Static public getEnabledValues() : string[] +``` + +**Summary** + +Возвращает значения в enum'е значения которых разрешены. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +**Returns:** string[] - Массив разрешённых значений + + + +#### public getValidValues() : array + +```php +Static public getValidValues() : array +``` + +**Summary** + +Возвращает все значения в enum'e. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +**Returns:** array - Массив значений в перечислении + + + +#### public valueExists() : bool + +```php +Static public valueExists(mixed $value) : bool +``` + +**Summary** + +Проверяет наличие значения в enum'e. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| mixed | value | Проверяемое значение | + +**Returns:** bool - True если значение имеется, false если нет + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md b/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md index 0caa25fd..e53d2291 100644 --- a/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md +++ b/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md @@ -513,6 +513,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-AgentType.md b/docs/classes/YooKassa-Model-Receipt-AgentType.md index 43c44dfa..fb2713fc 100644 --- a/docs/classes/YooKassa-Model-Receipt-AgentType.md +++ b/docs/classes/YooKassa-Model-Receipt-AgentType.md @@ -207,6 +207,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md b/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md index 39ba6abe..7f6fddec 100644 --- a/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md +++ b/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md @@ -673,6 +673,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md b/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md index 02878058..946f185d 100644 --- a/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md +++ b/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md @@ -1089,6 +1089,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md b/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md index bd480f8e..d1257781 100644 --- a/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md +++ b/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md @@ -513,6 +513,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md b/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md index effb84a3..cdb83f59 100644 --- a/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md +++ b/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md @@ -606,6 +606,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-PaymentMode.md b/docs/classes/YooKassa-Model-Receipt-PaymentMode.md index 2ad34d50..3d342960 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentMode.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentMode.md @@ -206,6 +206,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md b/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md index 9d1d70d3..5a73e349 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md @@ -466,6 +466,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-Receipt.md b/docs/classes/YooKassa-Model-Receipt-Receipt.md index 6ed6e31a..3480ce31 100644 --- a/docs/classes/YooKassa-Model-Receipt-Receipt.md +++ b/docs/classes/YooKassa-Model-Receipt-Receipt.md @@ -1221,6 +1221,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md index 1546b42a..467ea438 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md @@ -648,6 +648,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md index 01fb8315..5fe2ad08 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md @@ -144,6 +144,6 @@ public jsonSerialize() : array --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md b/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md index c08c249e..4e6e7d30 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md @@ -185,6 +185,6 @@ public normalize(\YooKassa\Model\AmountInterface $orderAmount, bool $withShippin --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md index 6d4e28fa..9e249385 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md @@ -1773,6 +1773,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md index 583f6e60..c46442c9 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md @@ -571,6 +571,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md index d6d58da9..a6af2a09 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md @@ -460,6 +460,6 @@ public isShipping() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md b/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md index 780bda17..6fd309bc 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md @@ -378,6 +378,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-ReceiptType.md b/docs/classes/YooKassa-Model-Receipt-ReceiptType.md index d0e4d4bd..0939efdc 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptType.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptType.md @@ -159,6 +159,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-Settlement.md b/docs/classes/YooKassa-Model-Receipt-Settlement.md index 720c105d..9d441024 100644 --- a/docs/classes/YooKassa-Model-Receipt-Settlement.md +++ b/docs/classes/YooKassa-Model-Receipt-Settlement.md @@ -492,6 +492,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md b/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md index e6192fa4..64320287 100644 --- a/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md @@ -87,6 +87,6 @@ public getAmount() : \YooKassa\Model\AmountInterface|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-SettlementType.md b/docs/classes/YooKassa-Model-Receipt-SettlementType.md index 5254b2de..88325138 100644 --- a/docs/classes/YooKassa-Model-Receipt-SettlementType.md +++ b/docs/classes/YooKassa-Model-Receipt-SettlementType.md @@ -172,6 +172,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-Supplier.md b/docs/classes/YooKassa-Model-Receipt-Supplier.md index 942a0390..efdbc66d 100644 --- a/docs/classes/YooKassa-Model-Receipt-Supplier.md +++ b/docs/classes/YooKassa-Model-Receipt-Supplier.md @@ -551,6 +551,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md b/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md index ba704bc6..bd7b754a 100644 --- a/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md @@ -181,6 +181,6 @@ public setInn(null|string $inn) : mixed --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-Refund.md b/docs/classes/YooKassa-Model-Refund-Refund.md index eb2f8664..1546e492 100644 --- a/docs/classes/YooKassa-Model-Refund-Refund.md +++ b/docs/classes/YooKassa-Model-Refund-Refund.md @@ -1298,6 +1298,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md b/docs/classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md index 43158967..2e50abdc 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md +++ b/docs/classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md @@ -440,6 +440,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md index 3b533ff2..08a4e60a 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md @@ -495,6 +495,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md index b37d8f4c..42c1df53 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md @@ -168,6 +168,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md index 5a2c5054..23675ef7 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md @@ -247,6 +247,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundInterface.md b/docs/classes/YooKassa-Model-Refund-RefundInterface.md index ba907106..32a0ccd1 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundInterface.md +++ b/docs/classes/YooKassa-Model-Refund-RefundInterface.md @@ -225,6 +225,6 @@ public getDeal() : null|\YooKassa\Model\Deal\RefundDealInfo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md index d0e7b8a6..903600f8 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md index f8d9922f..7cc69473 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md @@ -640,6 +640,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md index ef093496..c796d44a 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md @@ -508,6 +508,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md index 401196ac..d1c46d10 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md @@ -585,6 +585,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md index 06d358e2..bc4c0542 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md index 74a2d80c..68b8f12d 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md @@ -518,6 +518,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md index 60190881..ad658725 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundMethodType.md b/docs/classes/YooKassa-Model-Refund-RefundMethodType.md index ed712742..2c8e57dc 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethodType.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethodType.md @@ -172,6 +172,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-RefundStatus.md b/docs/classes/YooKassa-Model-Refund-RefundStatus.md index 4c27cb38..8a9c2029 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundStatus.md +++ b/docs/classes/YooKassa-Model-Refund-RefundStatus.md @@ -165,6 +165,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-Source.md b/docs/classes/YooKassa-Model-Refund-Source.md index 7028dfd9..b4889c39 100644 --- a/docs/classes/YooKassa-Model-Refund-Source.md +++ b/docs/classes/YooKassa-Model-Refund-Source.md @@ -612,6 +612,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Refund-SourceInterface.md b/docs/classes/YooKassa-Model-Refund-SourceInterface.md index 43a48c91..99f513cf 100644 --- a/docs/classes/YooKassa-Model-Refund-SourceInterface.md +++ b/docs/classes/YooKassa-Model-Refund-SourceInterface.md @@ -213,6 +213,6 @@ public setPlatformFeeAmount(\YooKassa\Model\AmountInterface|array|null $platform --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md b/docs/classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md index 013557f6..0b1796e8 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md @@ -22,6 +22,7 @@ | public | [$confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_confirmation) | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | | public | [$holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | | public | [$id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_id) | | Идентификатор сохраненного способа оплаты. | +| public | [$metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | | public | [$saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | public | [$status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_status) | | Статус проверки и сохранения способа оплаты. | | public | [$title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_title) | | Название способа оплаты. | @@ -29,6 +30,7 @@ | protected | [$_confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__confirmation) | | | | protected | [$_holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__holder) | | Данные магазина, для которого сохраняется способ оплаты. | | protected | [$_id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__id) | | Идентификатор сохраненного способа оплаты. | +| protected | [$_metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | | protected | [$_saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | protected | [$_status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__status) | | Статус проверки и сохранения способа оплаты. | | protected | [$_title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__title) | | Название способа оплаты. | @@ -47,6 +49,7 @@ | public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getConfirmation) | | Возвращает confirmation. | | public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getHolder) | | Возвращает holder. | | public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getMetadata) | | Возвращает metadata. | | public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getSaved) | | Возвращает saved. | | public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getStatus) | | Возвращает status. | | public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getTitle) | | Возвращает title. | @@ -60,6 +63,7 @@ | public | [setConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setHolder) | | Устанавливает holder. | | public | [setId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setMetadata) | | Устанавливает metadata. | | public | [setSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setSaved) | | Устанавливает saved. | | public | [setStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setStatus) | | Устанавливает status. | | public | [setTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setTitle) | | Устанавливает title. | @@ -126,6 +130,18 @@ **Details:** + +#### public $metadata : \YooKassa\Model\Metadata +--- +***Description*** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + +**Type:** Metadata + +**Details:** + + #### public $saved : bool --- @@ -206,6 +222,18 @@ **Details:** + +#### protected $_metadata : ?\YooKassa\Model\Metadata +--- +**Summary** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + +**Type:** Metadata + +**Details:** + + #### protected $_saved : ?bool --- @@ -446,6 +474,23 @@ public getId() : string|null **Returns:** string|null - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + #### public getSaved() : bool|null @@ -699,6 +744,28 @@ public setId(string|null $id = null) : self **Returns:** self - + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** self - + + #### public setSaved() : self @@ -857,6 +924,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md index 580e040e..f86c1c9f 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md index 8d9059df..eadd401f 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationQr.md b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationQr.md index 13c93c0f..52056462 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationQr.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationQr.md @@ -511,6 +511,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md index dbcfcd08..fa238299 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md @@ -635,6 +635,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.md b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.md index ca2bd259..eaf82df5 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.md @@ -164,6 +164,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodBankCard.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodBankCard.md index d05db482..48fea570 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodBankCard.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodBankCard.md @@ -23,6 +23,7 @@ | public | [$confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_confirmation) | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | | public | [$holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | | public | [$id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_id) | | Идентификатор сохраненного способа оплаты. | +| public | [$metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | | public | [$saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | public | [$status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_status) | | Статус проверки и сохранения способа оплаты. | | public | [$title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_title) | | Название способа оплаты. | @@ -31,6 +32,7 @@ | protected | [$_confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__confirmation) | | | | protected | [$_holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__holder) | | Данные магазина, для которого сохраняется способ оплаты. | | protected | [$_id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__id) | | Идентификатор сохраненного способа оплаты. | +| protected | [$_metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | | protected | [$_saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | protected | [$_status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__status) | | Статус проверки и сохранения способа оплаты. | | protected | [$_title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__title) | | Название способа оплаты. | @@ -50,6 +52,7 @@ | public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getConfirmation) | | Возвращает confirmation. | | public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getHolder) | | Возвращает holder. | | public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getMetadata) | | Возвращает metadata. | | public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getSaved) | | Возвращает saved. | | public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getStatus) | | Возвращает status. | | public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getTitle) | | Возвращает title. | @@ -64,6 +67,7 @@ | public | [setConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setHolder) | | Устанавливает holder. | | public | [setId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setMetadata) | | Устанавливает metadata. | | public | [setSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setSaved) | | Устанавливает saved. | | public | [setStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setStatus) | | Устанавливает status. | | public | [setTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setTitle) | | Устанавливает title. | @@ -144,6 +148,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### public $metadata : \YooKassa\Model\Metadata +--- +***Description*** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### public $saved : bool --- @@ -243,6 +260,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### protected $_metadata : ?\YooKassa\Model\Metadata +--- +**Summary** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### protected $_saved : ?bool --- @@ -500,6 +530,23 @@ public getId() : string|null **Returns:** string|null - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + #### public getSaved() : bool|null @@ -775,6 +822,28 @@ public setId(string|null $id = null) : self **Returns:** self - + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** self - + + #### public setSaved() : self @@ -933,6 +1002,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodFactory.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodFactory.md index 111d80b5..25cf90b0 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodFactory.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md index 253de695..7a701ec2 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md @@ -519,6 +519,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md index c6b55766..402ae693 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md @@ -22,6 +22,7 @@ Interface SavePaymentMethodInterface. | public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getConfirmation) | | Возвращает выбранный сценарий подтверждения привязки. | | public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getHolder) | | Возвращает данные магазина, для которого сохраняется способ оплаты. | | public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getId) | | Возвращает идентификатор сохраненного способа оплаты. | +| public | [getMetadata()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getMetadata) | | Возвращает metadata. | | public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getSaved) | | Возвращает признак сохранения способа оплаты для %[автоплатежей](/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getStatus) | | Возвращает статус проверки и сохранения способа оплаты. | | public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getTitle) | | Возвращает название способа оплаты. | @@ -47,6 +48,7 @@ Interface SavePaymentMethodInterface. | property | | Данные магазина, для которого сохраняется способ оплаты. | | property | | Название способа оплаты. | | property | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | +| property | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | --- ## Methods @@ -169,6 +171,23 @@ public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\Abstra **Returns:** \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + --- @@ -186,6 +205,6 @@ public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\Abstra --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md index 21accd37..5a373b74 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md @@ -22,6 +22,7 @@ | public | [$confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_confirmation) | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | | public | [$holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | | public | [$id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_id) | | Идентификатор сохраненного способа оплаты. | +| public | [$metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | | public | [$payer_bank_details](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md#property_payer_bank_details) | | | | public | [$payerBankDetails](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md#property_payerBankDetails) | | | | public | [$saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | @@ -31,6 +32,7 @@ | protected | [$_confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__confirmation) | | | | protected | [$_holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__holder) | | Данные магазина, для которого сохраняется способ оплаты. | | protected | [$_id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__id) | | Идентификатор сохраненного способа оплаты. | +| protected | [$_metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | | protected | [$_saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | protected | [$_status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__status) | | Статус проверки и сохранения способа оплаты. | | protected | [$_title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__title) | | Название способа оплаты. | @@ -49,6 +51,7 @@ | public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getConfirmation) | | Возвращает confirmation. | | public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getHolder) | | Возвращает holder. | | public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getMetadata) | | Возвращает metadata. | | public | [getPayerBankDetails()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md#method_getPayerBankDetails) | | Возвращает payer_bank_details. | | public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getSaved) | | Возвращает saved. | | public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getStatus) | | Возвращает status. | @@ -63,6 +66,7 @@ | public | [setConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setHolder) | | Устанавливает holder. | | public | [setId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setMetadata) | | Устанавливает metadata. | | public | [setPayerBankDetails()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbp.md#method_setPayerBankDetails) | | Устанавливает payer_bank_details. | | public | [setSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setSaved) | | Устанавливает saved. | | public | [setStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setStatus) | | Устанавливает status. | @@ -132,6 +136,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### public $metadata : \YooKassa\Model\Metadata +--- +***Description*** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### public $payer_bank_details : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodSbpPayerBankDetails --- @@ -235,6 +252,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### protected $_metadata : ?\YooKassa\Model\Metadata +--- +**Summary** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### protected $_saved : ?bool --- @@ -475,6 +505,23 @@ public getId() : string|null **Returns:** string|null - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + #### public getPayerBankDetails() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodSbpPayerBankDetails|null @@ -745,6 +792,28 @@ public setId(string|null $id = null) : self **Returns:** self - + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** self - + + #### public setPayerBankDetails() : self @@ -925,6 +994,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbpPayerBankDetails.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbpPayerBankDetails.md index a54c1d19..2b910e04 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbpPayerBankDetails.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodSbpPayerBankDetails.md @@ -454,6 +454,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md index c165e0ea..6cf5b119 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md @@ -176,6 +176,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.md index 200b6c11..5eb53f04 100644 --- a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.md +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.md @@ -167,6 +167,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md index abc519dc..e8c6fc5c 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md @@ -874,6 +874,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md index 31f941fd..aabc7fae 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md index 134366c3..b82b584f 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md @@ -100,6 +100,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md index 05c793af..f1fbf46b 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md @@ -522,6 +522,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md index d175450b..0faf02d9 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md @@ -155,6 +155,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md index d0b0ba0c..c5e658aa 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md @@ -364,6 +364,6 @@ public setTest(bool $test) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md index ad30b945..6f91ad1a 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md @@ -191,6 +191,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Settings-FiscalizationData.md b/docs/classes/YooKassa-Model-Settings-FiscalizationData.md index 2abda8f2..6b3d08f3 100644 --- a/docs/classes/YooKassa-Model-Settings-FiscalizationData.md +++ b/docs/classes/YooKassa-Model-Settings-FiscalizationData.md @@ -496,6 +496,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md b/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md index eb88ba17..dc632656 100644 --- a/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md +++ b/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md @@ -298,6 +298,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Settings-Me.md b/docs/classes/YooKassa-Model-Settings-Me.md index 9a8eaa60..bc83851e 100644 --- a/docs/classes/YooKassa-Model-Settings-Me.md +++ b/docs/classes/YooKassa-Model-Settings-Me.md @@ -1018,6 +1018,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Webhook-Webhook.md b/docs/classes/YooKassa-Model-Webhook-Webhook.md index 3ddba890..4fe2dd18 100644 --- a/docs/classes/YooKassa-Model-Webhook-Webhook.md +++ b/docs/classes/YooKassa-Model-Webhook-Webhook.md @@ -546,6 +546,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md b/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md index 37d27e60..bd41ffa7 100644 --- a/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md +++ b/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md @@ -175,6 +175,6 @@ public setUrl(string|null $url = null) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-AbstractListResponse.md b/docs/classes/YooKassa-Request-AbstractListResponse.md index c43dff58..fd26577f 100644 --- a/docs/classes/YooKassa-Request-AbstractListResponse.md +++ b/docs/classes/YooKassa-Request-AbstractListResponse.md @@ -519,6 +519,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md b/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md index 89aa2f1e..1422e582 100644 --- a/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md @@ -1236,6 +1236,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md index 8e5d37e3..1eddd411 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md @@ -811,6 +811,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md index 6c746476..dbb3ce62 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md @@ -284,6 +284,6 @@ protected initCurrentObject() : \YooKassa\Request\Deals\CreateDealRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md index bea9ffba..1fd194af 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md @@ -290,6 +290,6 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md b/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md index 6a2cc605..42793132 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Deals\CreateDealRequestInterface $request) : --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md b/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md index 6ada26f2..07da6763 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md @@ -1237,6 +1237,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealResponse.md b/docs/classes/YooKassa-Request-Deals-DealResponse.md index 509b4a5f..5de02801 100644 --- a/docs/classes/YooKassa-Request-Deals-DealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealResponse.md @@ -1237,6 +1237,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequest.md b/docs/classes/YooKassa-Request-Deals-DealsRequest.md index be559682..c1049a63 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequest.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequest.md @@ -1492,6 +1492,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md b/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md index 113c79cc..c447e1ad 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md @@ -441,6 +441,6 @@ protected initCurrentObject() : \YooKassa\Request\Deals\DealsRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md b/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md index 9b1eb5fc..07caa505 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md @@ -769,6 +769,6 @@ public setFullTextSearch(string|null $full_text_search) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md b/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md index 8757fb56..59414f47 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Common\AbstractRequest|\YooKassa\Request\Deals\DealsR --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Deals-DealsResponse.md b/docs/classes/YooKassa-Request-Deals-DealsResponse.md index 33515ac3..6a3f8258 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealsResponse.md @@ -546,6 +546,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequest.md b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequest.md index a3104d13..6bb5706e 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequest.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequest.md @@ -984,6 +984,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestBuilder.md b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestBuilder.md index 109a251e..88a72019 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestBuilder.md @@ -443,6 +443,6 @@ protected initCurrentObject() : \YooKassa\Request\Invoices\CreateInvoiceRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestInterface.md b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestInterface.md index ed5012f6..bd3a15d2 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestInterface.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestInterface.md @@ -399,6 +399,6 @@ public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : \YooK --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md index 4c261ff6..8e10baef 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Invoices\CreateInvoiceRequestInterface $reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-AbstractDeliveryMethodData.md b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-AbstractDeliveryMethodData.md index 9d3c3d70..f97c33a8 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-AbstractDeliveryMethodData.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-AbstractDeliveryMethodData.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataEmail.md b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataEmail.md index 789f52a0..e627b328 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataEmail.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataEmail.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataFactory.md b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataFactory.md index e7cba3fe..13d927a8 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataFactory.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSelf.md b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSelf.md index ee716060..3c05773d 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSelf.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSelf.md @@ -464,6 +464,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSms.md b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSms.md index 26f281d2..f1fb4878 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSms.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSms.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-InvoiceResponse.md b/docs/classes/YooKassa-Request-Invoices-InvoiceResponse.md index c387aec0..7d00aaf1 100644 --- a/docs/classes/YooKassa-Request-Invoices-InvoiceResponse.md +++ b/docs/classes/YooKassa-Request-Invoices-InvoiceResponse.md @@ -1165,6 +1165,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Invoices-PaymentData.md b/docs/classes/YooKassa-Request-Invoices-PaymentData.md index 6ebad259..65ffda86 100644 --- a/docs/classes/YooKassa-Request-Invoices-PaymentData.md +++ b/docs/classes/YooKassa-Request-Invoices-PaymentData.md @@ -843,6 +843,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md index 1b472349..7ec240ed 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md @@ -448,6 +448,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md index 36008619..5ae175de 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationQr.md b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationQr.md index 62173590..2040b9bc 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationQr.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationQr.md @@ -494,6 +494,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md index 3d947d1e..89d27cb3 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md @@ -622,6 +622,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md index feca29a4..a7a66dc0 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md @@ -24,6 +24,7 @@ | public | [$clientIp](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_clientIp) | | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | | public | [$confirmation](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_confirmation) | | Данные, необходимые для инициирования сценария подтверждения привязки. | | public | [$holder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | +| public | [$metadata](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | | public | [$type](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_type) | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта, ~`sbp` - СБП (Система быстрых платежей) | --- @@ -43,8 +44,10 @@ | public | [getConfirmation()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_getConfirmation) | | Возвращает confirmation. | | public | [getHolder()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_getHolder) | | Возвращает holder. | | public | [getLastValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_getLastValidationError) | | Возвращает последнюю ошибку валидации. | +| public | [getMetadata()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_getMetadata) | | Возвращает metadata. | | public | [getType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_getType) | | Возвращает type. | | public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [hasMetadata()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_hasMetadata) | | Проверяет, были ли установлены метаданные. | | public | [hasType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_hasType) | | Проверяет, были ли установлен код способа оплаты. | | public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | | public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | @@ -55,6 +58,7 @@ | public | [setClientIp()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_setClientIp) | | Устанавливает client_ip. | | public | [setConfirmation()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_setHolder) | | Устанавливает holder. | +| public | [setMetadata()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_setMetadata) | | Устанавливает metadata. | | public | [setType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_setType) | | Устанавливает type. | | public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | | public | [validate()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_validate) | | Валидирует текущий запрос, проверяет все ли нужные свойства установлены. | @@ -145,6 +149,18 @@ IPv4 или IPv6-адрес пользователя. Если не указан **Details:** + +#### public $metadata : \YooKassa\Model\Metadata +--- +***Description*** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + +**Type:** Metadata + +**Details:** + + #### public $type : string --- @@ -412,6 +428,23 @@ public getLastValidationError() : string|null **Returns:** string|null - Последняя произошедшая ошибка валидации + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + #### public getType() : string|null @@ -442,6 +475,23 @@ public getValidator() : \YooKassa\Validator\Validator **Returns:** \YooKassa\Validator\Validator - + +#### public hasMetadata() : bool + +```php +public hasMetadata() : bool +``` + +**Summary** + +Проверяет, были ли установлены метаданные. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** bool - True если метаданные были установлены, false если нет + + #### public hasType() : bool @@ -653,6 +703,28 @@ public setHolder(\YooKassa\Request\PaymentMethods\PaymentMethodHolder|array|null **Returns:** self - + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** self - + + #### public setType() : self @@ -784,6 +856,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md index deb82f51..976d6368 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md @@ -62,6 +62,7 @@ var_dump($response); | public | [setClientIp()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_setClientIp) | | Устанавливает client_ip. | | public | [setConfirmation()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_setHolder) | | Устанавливает holder. | +| public | [setMetadata()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_setMetadata) | | Устанавливает metadata. | | public | [setOptions()](../classes/YooKassa-Common-AbstractRequestBuilder.md#method_setOptions) | | Устанавливает свойства запроса из массива. | | public | [setType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_setType) | | Устанавливает type. | | protected | [initCurrentObject()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_initCurrentObject) | | Инициализирует объект запроса, который в дальнейшем будет собираться билдером | @@ -228,6 +229,28 @@ public setHolder(\YooKassa\Request\PaymentMethods\PaymentMethodHolder|array|null **Returns:** self - + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $value = null) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | value | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** self - + + #### public setOptions() : \YooKassa\Common\AbstractRequestBuilder @@ -311,6 +334,6 @@ protected initCurrentObject() : \YooKassa\Request\PaymentMethods\CreatePaymentMe --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md index 195b6d17..5d8e0e73 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md @@ -25,11 +25,14 @@ | public | [getConfirmation()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_getConfirmation) | | Возвращает confirmation. | | public | [getHolder()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_getHolder) | | Возвращает holder. | | public | [getLastValidationError()](../classes/YooKassa-Common-AbstractRequestInterface.md#method_getLastValidationError) | | Возвращает последнюю ошибку валидации. | +| public | [getMetadata()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_getMetadata) | | Возвращает metadata. | | public | [getType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_getType) | | Возвращает type. | +| public | [hasMetadata()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_hasMetadata) | | Проверяет, были ли установлены метаданные. | | public | [setCard()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_setCard) | | Устанавливает card. | | public | [setClientIp()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_setClientIp) | | Устанавливает client_ip. | | public | [setConfirmation()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_setHolder) | | Устанавливает holder. | +| public | [setMetadata()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_setMetadata) | | Устанавливает metadata. | | public | [setType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_setType) | | Устанавливает type. | | public | [validate()](../classes/YooKassa-Common-AbstractRequestInterface.md#method_validate) | | Валидирует текущий запрос, проверяет все ли нужные свойства установлены. | @@ -54,6 +57,7 @@ | property | | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | | property | | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | | property | | Данные, необходимые для инициирования сценария подтверждения привязки. | +| property | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | --- ## Methods @@ -303,6 +307,62 @@ public setConfirmation(\YooKassa\Request\PaymentMethods\ConfirmationData\Abstrac **Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + + +#### public hasMetadata() : bool + +```php +public hasMetadata() : bool +``` + +**Summary** + +Проверяет, были ли установлены метаданные. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +**Returns:** bool - True если метаданные были установлены, false если нет + + + +#### public setMetadata() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata) : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - + + --- @@ -320,6 +380,6 @@ public setConfirmation(\YooKassa\Request\PaymentMethods\ConfirmationData\Abstrac --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md index d04123ee..db4d1006 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInte --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodBankCartResponse.md b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodBankCartResponse.md index e2591d8a..2fdcf09b 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodBankCartResponse.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodBankCartResponse.md @@ -23,6 +23,7 @@ | public | [$confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_confirmation) | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | | public | [$holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | | public | [$id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_id) | | Идентификатор сохраненного способа оплаты. | +| public | [$metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | | public | [$saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | public | [$status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_status) | | Статус проверки и сохранения способа оплаты. | | public | [$title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_title) | | Название способа оплаты. | @@ -31,6 +32,7 @@ | protected | [$_confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__confirmation) | | | | protected | [$_holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__holder) | | Данные магазина, для которого сохраняется способ оплаты. | | protected | [$_id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__id) | | Идентификатор сохраненного способа оплаты. | +| protected | [$_metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | | protected | [$_saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | protected | [$_status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__status) | | Статус проверки и сохранения способа оплаты. | | protected | [$_title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__title) | | Название способа оплаты. | @@ -50,6 +52,7 @@ | public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getConfirmation) | | Возвращает confirmation. | | public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getHolder) | | Возвращает holder. | | public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getMetadata) | | Возвращает metadata. | | public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getSaved) | | Возвращает saved. | | public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getStatus) | | Возвращает status. | | public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getTitle) | | Возвращает title. | @@ -64,6 +67,7 @@ | public | [setConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setHolder) | | Устанавливает holder. | | public | [setId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setMetadata) | | Устанавливает metadata. | | public | [setSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setSaved) | | Устанавливает saved. | | public | [setStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setStatus) | | Устанавливает status. | | public | [setTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setTitle) | | Устанавливает title. | @@ -148,6 +152,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### public $metadata : \YooKassa\Model\Metadata +--- +***Description*** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### public $saved : bool --- @@ -248,6 +265,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### protected $_metadata : ?\YooKassa\Model\Metadata +--- +**Summary** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### protected $_saved : ?bool --- @@ -509,6 +539,23 @@ public getId() : string|null **Returns:** string|null - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + #### public getSaved() : bool|null @@ -784,6 +831,28 @@ public setId(string|null $id = null) : self **Returns:** self - + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** self - + + #### public setSaved() : self @@ -942,6 +1011,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md index 173291d8..382e3460 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md @@ -681,6 +681,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md index 407c74fb..f854b97f 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseFactory.md b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseFactory.md index c4264eea..aa7ab1b2 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseFactory.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseInterface.md b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseInterface.md index 4629c81b..dda4f1fc 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseInterface.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponseInterface.md @@ -22,6 +22,7 @@ | public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getConfirmation) | | Возвращает выбранный сценарий подтверждения привязки. | | public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getHolder) | | Возвращает данные магазина, для которого сохраняется способ оплаты. | | public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getId) | | Возвращает идентификатор сохраненного способа оплаты. | +| public | [getMetadata()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getMetadata) | | Возвращает metadata. | | public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getSaved) | | Возвращает признак сохранения способа оплаты для %[автоплатежей](/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getStatus) | | Возвращает статус проверки и сохранения способа оплаты. | | public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getTitle) | | Возвращает название способа оплаты. | @@ -164,6 +165,23 @@ public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\Abstra **Returns:** \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + --- @@ -181,6 +199,6 @@ public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\Abstra --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodSbpResponse.md b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodSbpResponse.md index cd2f545f..27236af5 100644 --- a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodSbpResponse.md +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodSbpResponse.md @@ -23,6 +23,7 @@ | public | [$confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_confirmation) | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | | public | [$holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | | public | [$id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_id) | | Идентификатор сохраненного способа оплаты. | +| public | [$metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. | | public | [$saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | public | [$status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_status) | | Статус проверки и сохранения способа оплаты. | | public | [$title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property_title) | | Название способа оплаты. | @@ -31,6 +32,7 @@ | protected | [$_confirmation](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__confirmation) | | | | protected | [$_holder](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__holder) | | Данные магазина, для которого сохраняется способ оплаты. | | protected | [$_id](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__id) | | Идентификатор сохраненного способа оплаты. | +| protected | [$_metadata](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__metadata) | | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | | protected | [$_saved](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | | protected | [$_status](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__status) | | Статус проверки и сохранения способа оплаты. | | protected | [$_title](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#property__title) | | Название способа оплаты. | @@ -50,6 +52,7 @@ | public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getConfirmation) | | Возвращает confirmation. | | public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getHolder) | | Возвращает holder. | | public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getMetadata) | | Возвращает metadata. | | public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getSaved) | | Возвращает saved. | | public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getStatus) | | Возвращает status. | | public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_getTitle) | | Возвращает title. | @@ -64,6 +67,7 @@ | public | [setConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setConfirmation) | | Устанавливает confirmation. | | public | [setHolder()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setHolder) | | Устанавливает holder. | | public | [setId()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setMetadata()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setMetadata) | | Устанавливает metadata. | | public | [setSaved()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setSaved) | | Устанавливает saved. | | public | [setStatus()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setStatus) | | Устанавливает status. | | public | [setTitle()](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md#method_setTitle) | | Устанавливает title. | @@ -148,6 +152,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### public $metadata : \YooKassa\Model\Metadata +--- +***Description*** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### public $saved : bool --- @@ -248,6 +265,19 @@ * Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +#### protected $_metadata : ?\YooKassa\Model\Metadata +--- +**Summary** + +Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + +**Type:** Metadata + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + + #### protected $_saved : ?bool --- @@ -509,6 +539,23 @@ public getId() : string|null **Returns:** string|null - + +#### public getMetadata() : \YooKassa\Model\Metadata|null + +```php +public getMetadata() : \YooKassa\Model\Metadata|null +``` + +**Summary** + +Возвращает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +**Returns:** \YooKassa\Model\Metadata|null - + + #### public getSaved() : bool|null @@ -784,6 +831,28 @@ public setId(string|null $id = null) : self **Returns:** self - + +#### public setMetadata() : self + +```php +public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : self +``` + +**Summary** + +Устанавливает metadata. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\AbstractSavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-AbstractSavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Metadata OR array OR null | metadata | Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. | + +**Returns:** self - + + #### public setSaved() : self @@ -942,6 +1011,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md index 06b4e6ee..301ccd32 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md @@ -810,6 +810,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md index 79c65846..4d6517fb 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md @@ -475,6 +475,6 @@ protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterface|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md b/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md index 1f04a84f..51652979 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md @@ -2053,6 +2053,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Airline.md b/docs/classes/YooKassa-Request-Payments-Airline.md index 319febf8..c4dab355 100644 --- a/docs/classes/YooKassa-Request-Payments-Airline.md +++ b/docs/classes/YooKassa-Request-Payments-Airline.md @@ -694,6 +694,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-AirlineInterface.md b/docs/classes/YooKassa-Request-Payments-AirlineInterface.md index 8c50ea48..9a57595e 100644 --- a/docs/classes/YooKassa-Request-Payments-AirlineInterface.md +++ b/docs/classes/YooKassa-Request-Payments-AirlineInterface.md @@ -127,6 +127,6 @@ public getLegs() : \YooKassa\Request\Payments\LegInterface[]|\YooKassa\Common\Li --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CancelResponse.md b/docs/classes/YooKassa-Request-Payments-CancelResponse.md index 39313303..a419f161 100644 --- a/docs/classes/YooKassa-Request-Payments-CancelResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CancelResponse.md @@ -2054,6 +2054,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md index 90e4b228..fefde4db 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md @@ -511,6 +511,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md index 932c58b6..8020068c 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md @@ -539,6 +539,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md index 80f31fa6..5b25fccc 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md @@ -539,6 +539,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md index 40f8ef22..1e6123a6 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md @@ -94,6 +94,6 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md index f131ca0c..1c59c0f6 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md @@ -601,6 +601,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md index 51ab0d10..edf9fbee 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md @@ -598,6 +598,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md index 39960a5e..64c1f3a7 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md @@ -648,6 +648,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md index 52b0e57a..7773244f 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md @@ -942,6 +942,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md index 863a746c..2f3ebb32 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md @@ -523,6 +523,6 @@ protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterface|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md index 22a76a9a..411f17ec 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md @@ -293,6 +293,6 @@ public setDeal(null|array|\YooKassa\Model\Deal\CaptureDealData $deal) : \YooKass --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md index 442effd9..a785b573 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Payments\CreateCaptureRequestInterface $reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md b/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md index 484751bb..6a5b6c60 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md @@ -2054,6 +2054,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md index efb54bd9..ca1ae39e 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequest.md @@ -105,8 +105,8 @@ var_dump($response); | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [$airline](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#property_airline) | | Объект с данными для продажи авиабилетов | -| public | [$amount](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_amount) | | Сумма создаваемого платежа | | public | [$amount](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#property_amount) | | Сумма | +| public | [$amount](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_amount) | | Сумма создаваемого платежа | | public | [$capture](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_capture) | | Автоматически принять поступившую оплату | | public | [$client_ip](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_client_ip) | | IPv4 или IPv6-адрес покупателя. Если не указан, используется IP-адрес TCP-подключения | | public | [$clientIp](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_clientIp) | | IPv4 или IPv6-адрес покупателя. Если не указан, используется IP-адрес TCP-подключения | @@ -123,6 +123,8 @@ var_dump($response); | public | [$paymentMethodData](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_paymentMethodData) | | Данные используемые для создания метода оплаты | | public | [$paymentMethodId](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_paymentMethodId) | | Идентификатор записи о сохраненных платежных данных покупателя | | public | [$paymentToken](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_paymentToken) | | Одноразовый токен для проведения оплаты, сформированный YooKassa JS widget | +| public | [$pos_link](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_pos_link) | | Данные о кассовой ссылке для проведения платежа в офлайне | +| public | [$posLink](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_posLink) | | Данные о кассовой ссылке для проведения платежа в офлайне | | public | [$receipt](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_receipt) | | Данные фискального чека 54-ФЗ | | public | [$receipt](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#property_receipt) | | Данные фискального чека 54-ФЗ | | public | [$receiver](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_receiver) | | Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона | @@ -163,6 +165,7 @@ var_dump($response); | public | [getPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getPaymentMethodId) | | Устанавливает идентификатор записи платёжных данных покупателя. | | public | [getPaymentOrder()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getPaymentOrder) | | Возвращает платежное поручение. | | public | [getPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getPaymentToken) | | Возвращает одноразовый токен для проведения оплаты. | +| public | [getPosLink()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getPosLink) | | Возвращает данные о кассовой ссылке для проведения платежа в офлайне. | | public | [getReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_getReceipt) | | Возвращает чек, если он есть. | | public | [getReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getReceiver) | | Возвращает реквизиты получателя оплаты. | | public | [getRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getRecipient) | | Возвращает объект получателя платежа. | @@ -210,6 +213,7 @@ var_dump($response); | public | [setPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPaymentMethodId) | | Устанавливает идентификатор записи о сохранённых данных покупателя. | | public | [setPaymentOrder()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPaymentOrder) | | Устанавливает платежное поручение. | | public | [setPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPaymentToken) | | Устанавливает одноразовый токен для проведения оплаты, сформированный YooKassa JS widget. | +| public | [setPosLink()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPosLink) | | Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. | | public | [setReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_setReceipt) | | Устанавливает чек. | | public | [setReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setReceiver) | | Устанавливает реквизиты получателя оплаты. | | public | [setRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setRecipient) | | Устанавливает объект с информацией о получателе платежа. | @@ -274,11 +278,12 @@ MAX_LENGTH_PAYMENT_TOKEN = 10240 --- ***Description*** -Сумма создаваемого платежа +Сумма **Type:** AmountInterface **Details:** +* Inherited From: [\YooKassa\Request\Payments\AbstractPaymentRequest](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md) @@ -286,12 +291,11 @@ MAX_LENGTH_PAYMENT_TOKEN = 10240 --- ***Description*** -Сумма +Сумма создаваемого платежа **Type:** AmountInterface **Details:** -* Inherited From: [\YooKassa\Request\Payments\AbstractPaymentRequest](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md) @@ -486,6 +490,30 @@ IPv4 или IPv6-адрес покупателя. Если не указан, и **Details:** + +#### public $pos_link : \YooKassa\Model\PosLink\PosLinkPayment +--- +***Description*** + +Данные о кассовой ссылке для проведения платежа в офлайне + +**Type:** PosLinkPayment + +**Details:** + + + +#### public $posLink : \YooKassa\Model\PosLink\PosLinkPayment +--- +***Description*** + +Данные о кассовой ссылке для проведения платежа в офлайне + +**Type:** PosLinkPayment + +**Details:** + + #### public $receipt : \YooKassa\Model\Receipt\ReceiptInterface --- @@ -1047,6 +1075,23 @@ public getPaymentToken() : string|null **Returns:** string|null - Одноразовый токен для проведения оплаты, сформированный YooKassa JS widget + +#### public getPosLink() : \YooKassa\Model\PosLink\PosLinkPayment|null + +```php +public getPosLink() : \YooKassa\Model\PosLink\PosLinkPayment|null +``` + +**Summary** + +Возвращает данные о кассовой ссылке для проведения платежа в офлайне. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkPayment|null - Данные о кассовой ссылке + + #### public getReceipt() : null|\YooKassa\Model\Receipt\ReceiptInterface @@ -1978,6 +2023,28 @@ public setPaymentToken(string|null $payment_token) : self **Returns:** self - + +#### public setPosLink() : self + +```php +public setPosLink(\YooKassa\Model\PosLink\PosLinkPayment|array|null $pos_link = null) : self +``` + +**Summary** + +Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkPayment OR array OR null | pos_link | Данные о кассовой ссылке | + +**Returns:** self - + + #### public setReceipt() : self @@ -2224,6 +2291,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md index 38915d04..eeb63bd4 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md @@ -134,6 +134,7 @@ var_dump($response); | public | [setPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setPaymentMethodId) | | Устанавливает идентификатор записи о сохранённых данных покупателя. | | public | [setPaymentOrder()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setPaymentOrder) | | Устанавливает платежное поручение. | | public | [setPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setPaymentToken) | | Устанавливает одноразовый токен для проведения оплаты. | +| public | [setPosLink()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setPosLink) | | Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. | | public | [setReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceipt) | | Устанавливает чек. | | public | [setReceiptEmail()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceiptEmail) | | Устанавливает адрес электронной почты получателя чека. | | public | [setReceiptIndustryDetails()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setReceiptIndustryDetails) | | Устанавливает отраслевой реквизит чека. | @@ -839,6 +840,28 @@ public setPaymentToken(string|null $value) : \YooKassa\Request\Payments\CreatePa **Returns:** \YooKassa\Request\Payments\CreatePaymentRequestBuilder - Инстанс текущего билдера + +#### public setPosLink() : \YooKassa\Request\Payments\CreatePaymentRequestBuilder + +```php +public setPosLink(\YooKassa\Model\PosLink\PosLinkPayment|array|null $value) : \YooKassa\Request\Payments\CreatePaymentRequestBuilder +``` + +**Summary** + +Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestBuilder](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkPayment OR array OR null | value | Данные о кассовой ссылке | + +**Returns:** \YooKassa\Request\Payments\CreatePaymentRequestBuilder - Инстанс текущего билдера + + #### public setReceipt() : self @@ -1156,6 +1179,6 @@ protected initCurrentObject() : \YooKassa\Request\Payments\CreatePaymentRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md index b8438d6c..e5df8efa 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md @@ -28,6 +28,7 @@ Interface CreatePaymentRequestInterface. | public | [getPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPaymentMethodId) | | Устанавливает идентификатор записи платёжных данных покупателя. | | public | [getPaymentOrder()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPaymentOrder) | | Возвращает платежное поручение. | | public | [getPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPaymentToken) | | Возвращает одноразовый токен для проведения оплаты. | +| public | [getPosLink()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPosLink) | | Возвращает данные о кассовой ссылке для проведения платежа в офлайне. | | public | [getReceipt()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getReceipt) | | Возвращает чек, если он есть. | | public | [getReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getReceiver) | | Возвращает реквизиты получателя оплаты. | | public | [getRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getRecipient) | | Возвращает объект получателя платежа. | @@ -62,6 +63,7 @@ Interface CreatePaymentRequestInterface. | public | [setPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPaymentMethodId) | | Устанавливает идентификатор записи о сохранённых данных покупателя. | | public | [setPaymentOrder()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPaymentOrder) | | Устанавливает платежное поручение. | | public | [setPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPaymentToken) | | Устанавливает одноразовый токен для проведения оплаты, сформированный YooKassa JS widget. | +| public | [setPosLink()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPosLink) | | Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. | | public | [setReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setReceiver) | | Устанавливает реквизиты получателя оплаты. | | public | [setRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setRecipient) | | Устанавливает объект с информацией о получателе платежа. | | public | [setSavePaymentMethod()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setSavePaymentMethod) | | Устанавливает флаг сохранения платёжных данных. Значение true инициирует создание многоразового payment_method. | @@ -101,6 +103,8 @@ Interface CreatePaymentRequestInterface. | property | | Идентификатор покупателя в вашей системе, например электронная почта или номер телефона | | property | | Идентификатор покупателя в вашей системе, например электронная почта или номер телефона | | property | | Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона | +| property | | Данные о кассовой ссылке для проведения платежа в офлайне | +| property | | Данные о кассовой ссылке для проведения платежа в офлайне | --- ## Methods @@ -1061,6 +1065,45 @@ public setReceiver(null|array|\YooKassa\Request\Payments\ReceiverData\AbstractRe **Returns:** self - + +#### public getPosLink() : \YooKassa\Model\PosLink\PosLinkPayment|null + +```php +public getPosLink() : \YooKassa\Model\PosLink\PosLinkPayment|null +``` + +**Summary** + +Возвращает данные о кассовой ссылке для проведения платежа в офлайне. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkPayment|null - Данные о кассовой ссылке + + + +#### public setPosLink() : self + +```php +public setPosLink(\YooKassa\Model\PosLink\PosLinkPayment|array|null $pos_link = null) : self +``` + +**Summary** + +Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkPayment OR array OR null | pos_link | Данные о кассовой ссылке | + +**Returns:** self - + + --- @@ -1078,6 +1121,6 @@ public setReceiver(null|array|\YooKassa\Request\Payments\ReceiverData\AbstractRe --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md index 97f60230..bd92770a 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Payments\CreatePaymentRequestInterface $reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md b/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md index 47e46b21..fc97c31f 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md @@ -2054,6 +2054,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-FraudData.md b/docs/classes/YooKassa-Request-Payments-FraudData.md index d285ec14..b036e351 100644 --- a/docs/classes/YooKassa-Request-Payments-FraudData.md +++ b/docs/classes/YooKassa-Request-Payments-FraudData.md @@ -520,6 +520,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Leg.md b/docs/classes/YooKassa-Request-Payments-Leg.md index 49fabea9..5e11309c 100644 --- a/docs/classes/YooKassa-Request-Payments-Leg.md +++ b/docs/classes/YooKassa-Request-Payments-Leg.md @@ -689,6 +689,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-LegInterface.md b/docs/classes/YooKassa-Request-Payments-LegInterface.md index ee42415b..31379a97 100644 --- a/docs/classes/YooKassa-Request-Payments-LegInterface.md +++ b/docs/classes/YooKassa-Request-Payments-LegInterface.md @@ -180,6 +180,6 @@ public setDepartureDate(\DateTime|string|null $value) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Locale.md b/docs/classes/YooKassa-Request-Payments-Locale.md index 7fb42e49..37d4b2db 100644 --- a/docs/classes/YooKassa-Request-Payments-Locale.md +++ b/docs/classes/YooKassa-Request-Payments-Locale.md @@ -162,6 +162,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md b/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md index 7ea8e9bb..076c9278 100644 --- a/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md +++ b/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md @@ -506,6 +506,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Passenger.md b/docs/classes/YooKassa-Request-Payments-Passenger.md index 23956c88..30e8a9f4 100644 --- a/docs/classes/YooKassa-Request-Payments-Passenger.md +++ b/docs/classes/YooKassa-Request-Payments-Passenger.md @@ -521,6 +521,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PassengerInterface.md b/docs/classes/YooKassa-Request-Payments-PassengerInterface.md index 6f848d4f..537dddca 100644 --- a/docs/classes/YooKassa-Request-Payments-PassengerInterface.md +++ b/docs/classes/YooKassa-Request-Payments-PassengerInterface.md @@ -135,6 +135,6 @@ public setLastName(string|null $value) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md b/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md index 44e83d77..84a17b2d 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md b/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md index fca03d2c..ab6dcda5 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md @@ -815,6 +815,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfaPay.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfaPay.md index ce83f18d..4150f3eb 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfaPay.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfaPay.md @@ -447,6 +447,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md index fc0957b3..6a20cc84 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md @@ -502,6 +502,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md index 0e603f42..6b76f53b 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md @@ -514,6 +514,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md index 14b9ea7c..4502955a 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md @@ -581,6 +581,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md index 30b2a67c..5a729e72 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md index 2e9e3795..1c77c0e2 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md @@ -681,6 +681,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md index 113e9c19..aedc90c0 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md index a8c8faa2..b0c906c8 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md @@ -635,6 +635,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md index f9ad6853..99eab42c 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md index 5195c496..6cf48701 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md @@ -581,6 +581,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md index 3f5c8440..5d402dcb 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md @@ -448,6 +448,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md index 43010c3e..fb0acd4b 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md index dc84f331..9c58906b 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md @@ -502,6 +502,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberBnpl.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberBnpl.md index becc7f1f..15e56ffc 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberBnpl.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberBnpl.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md index 3d26f4d1..75fef0e0 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md @@ -447,6 +447,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md index 078cccf6..207ffa23 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md @@ -501,6 +501,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md index e40cf6a2..d131a60e 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md @@ -581,6 +581,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md index 85311ead..f10b4268 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md @@ -447,6 +447,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md index f9a0c529..27d1bb08 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md @@ -447,6 +447,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md index b46a7a8e..07b7074a 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md @@ -454,6 +454,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md index b8107ad3..2d279338 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBankUtilities.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBankUtilities.md index 4bdbe3a6..d9ed0bad 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBankUtilities.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBankUtilities.md @@ -611,6 +611,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientUtilities.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientUtilities.md index f5087fb5..72fc6a9f 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientUtilities.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientUtilities.md @@ -601,6 +601,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.md index de6cd79c..be2996e6 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.md @@ -155,6 +155,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md index 5ab63ee9..7440bae1 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md @@ -1261,6 +1261,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentPeriod.md b/docs/classes/YooKassa-Request-Payments-PaymentPeriod.md index 9107893e..077ab34f 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentPeriod.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentPeriod.md @@ -493,6 +493,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentResponse.md b/docs/classes/YooKassa-Request-Payments-PaymentResponse.md index 6f0c88b3..747d8eb7 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentResponse.md @@ -2054,6 +2054,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md index 056dd0a3..0cbfb907 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md @@ -1361,6 +1361,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md index 115cd2d7..582482e6 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md @@ -511,6 +511,6 @@ protected initCurrentObject() : \YooKassa\Request\Payments\PaymentsRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md index 3c539acd..5bfd2b9d 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md @@ -769,6 +769,6 @@ public setPaymentMethod(string $payment_method) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md b/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md index 091fb7e1..b0b0e2c1 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Payments\PaymentsRequestInterface $request) : --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md b/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md index b2711f8b..9f91cbbb 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md @@ -546,6 +546,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md index 113a03b7..d344dc14 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md index eec31dec..d8c604d3 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md @@ -585,6 +585,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md index 53601c57..208d9b81 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md @@ -531,6 +531,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md index b7715557..c7495efd 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md index b3bd3ee7..67e3ea4b 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md @@ -518,6 +518,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md index aa36bd07..1f9e01d4 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md @@ -175,6 +175,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-Recipient.md b/docs/classes/YooKassa-Request-Payments-Recipient.md index 58f07eb6..461c5361 100644 --- a/docs/classes/YooKassa-Request-Payments-Recipient.md +++ b/docs/classes/YooKassa-Request-Payments-Recipient.md @@ -439,6 +439,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-AbstractStatement.md b/docs/classes/YooKassa-Request-Payments-StatementData-AbstractStatement.md index 71130f66..a3d0a0c9 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-AbstractStatement.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-AbstractStatement.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-AbstractDeliveryMethod.md b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-AbstractDeliveryMethod.md index 7df95499..eac0588f 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-AbstractDeliveryMethod.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-AbstractDeliveryMethod.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodEmail.md b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodEmail.md index 571f8945..67d30abb 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodEmail.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodEmail.md @@ -505,6 +505,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodFactory.md b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodFactory.md index 7f6e2a63..d005dc6f 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodFactory.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodType.md b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodType.md index cdbe1865..4e457c2f 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodType.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-DeliveryMethod-DeliveryMethodType.md @@ -157,6 +157,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-StatementFactory.md b/docs/classes/YooKassa-Request-Payments-StatementData-StatementFactory.md index f9505491..b7f2a3f4 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-StatementFactory.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-StatementFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-StatementPaymentOverview.md b/docs/classes/YooKassa-Request-Payments-StatementData-StatementPaymentOverview.md index bc225335..545acef9 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-StatementPaymentOverview.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-StatementPaymentOverview.md @@ -505,6 +505,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-StatementData-StatementType.md b/docs/classes/YooKassa-Request-Payments-StatementData-StatementType.md index 9b45d823..a6a84542 100644 --- a/docs/classes/YooKassa-Request-Payments-StatementData-StatementType.md +++ b/docs/classes/YooKassa-Request-Payments-StatementData-StatementType.md @@ -157,6 +157,6 @@ Static public valueExists(mixed $value) : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-TransferData.md b/docs/classes/YooKassa-Request-Payments-TransferData.md index 3bc34071..e124ab04 100644 --- a/docs/classes/YooKassa-Request-Payments-TransferData.md +++ b/docs/classes/YooKassa-Request-Payments-TransferData.md @@ -768,6 +768,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md b/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md index 9c30e5c8..039fd03e 100644 --- a/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md +++ b/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md @@ -336,6 +336,6 @@ public hasMetadata() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md b/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md index b77e446b..cdc28d03 100644 --- a/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md @@ -1388,6 +1388,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md index 3aa53ec7..6bac31a9 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md @@ -1173,6 +1173,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md index 696aa104..d1558ae8 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md @@ -433,6 +433,6 @@ protected initCurrentObject() : \YooKassa\Request\Payouts\CreatePayoutRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md index e10d0e6e..ee1c3a75 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md @@ -533,6 +533,6 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md index 11c0f1b2..2c0adccc 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Payouts\CreatePayoutRequestInterface $request --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md b/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md index 944d37d7..a0a68712 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md @@ -1389,6 +1389,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md index 711e34b4..be505ac7 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md @@ -468,6 +468,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md index 14d08742..0e3c500d 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md @@ -524,6 +524,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md index 34aee9d4..14c4bc64 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md @@ -439,6 +439,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md index 43f8ecae..fdb5f1f3 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md index 242b048f..2defbb57 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md @@ -591,6 +591,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md index 24c3815a..3a84ab08 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md @@ -570,6 +570,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md b/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md index 4ccc5a86..8fcd4c54 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md @@ -462,6 +462,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md b/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md index 7c19299c..925d3ede 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md @@ -1389,6 +1389,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutsRequest.md b/docs/classes/YooKassa-Request-Payouts-PayoutsRequest.md index 57aada3b..2ceeb1bb 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutsRequest.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutsRequest.md @@ -1125,6 +1125,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutsRequestBuilder.md b/docs/classes/YooKassa-Request-Payouts-PayoutsRequestBuilder.md index 5d9a50a9..505aa916 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutsRequestBuilder.md @@ -395,6 +395,6 @@ protected initCurrentObject() : \YooKassa\Request\Payouts\PayoutsRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutsRequestInterface.md b/docs/classes/YooKassa-Request-Payouts-PayoutsRequestInterface.md index 7448d599..0bef21c3 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutsRequestInterface.md @@ -533,6 +533,6 @@ public setPayoutDestinationType(string $payout_destination_type) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutsRequestSerializer.md b/docs/classes/YooKassa-Request-Payouts-PayoutsRequestSerializer.md index 58ff7e65..d2cb6c82 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutsRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Payouts\PayoutsRequestInterface $request) : a --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutsResponse.md b/docs/classes/YooKassa-Request-Payouts-PayoutsResponse.md index 613d287d..18fc5d57 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutsResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutsResponse.md @@ -542,6 +542,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md b/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md index 1d7f041d..de1c66f7 100644 --- a/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md @@ -541,6 +541,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md b/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md index c4e7a6f2..e695be50 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md @@ -307,6 +307,6 @@ protected initCurrentObject() : \YooKassa\Request\PersonalData\PersonalDataType\ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md b/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md index 70ef8857..0ed2e72b 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md @@ -380,6 +380,6 @@ public toArray() : array --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md b/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md index 7d4e7141..412c54df 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md @@ -284,6 +284,6 @@ protected initCurrentObject() : \YooKassa\Request\PersonalData\PersonalDataType\ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md index 95261774..be29ec4f 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md @@ -943,6 +943,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md index c3f8d353..f921aac4 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md @@ -662,6 +662,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md index 2878d821..7258fb89 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md @@ -1034,6 +1034,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md index a505494e..6a42e6a5 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md index b6bfa280..5145a453 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md @@ -963,6 +963,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md new file mode 100644 index 00000000..5283c11e --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md @@ -0,0 +1,596 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\CreatePosLinkRequest +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий модель CreatePosLinkRequest. + +**Description:** + +Объект запроса к API на создание кассовой ссылки. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$pos_link_data](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#property_pos_link_data) | | Данные кассовой ссылки | +| public | [$recipient](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#property_recipient) | | Получатель платежа по кассовой ссылке | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [builder()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#method_builder) | | Возвращает билдер объектов запросов на создание кассовой ссылки. | +| public | [clearValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_clearValidationError) | | Очищает статус валидации текущего запроса. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getLastValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_getLastValidationError) | | Возвращает последнюю ошибку валидации. | +| public | [getPosLinkData()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#method_getPosLinkData) | | Возвращает данные кассовой ссылки. | +| public | [getRecipient()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#method_getRecipient) | | Возвращает получателя платежа по кассовой ссылке. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setPosLinkData()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#method_setPosLinkData) | | Устанавливает данные кассовой ссылки. | +| public | [setRecipient()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| public | [validate()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md#method_validate) | | Проверяет на валидность текущий объект. | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [setValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_setValidationError) | | Устанавливает ошибку валидации. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/PosLink/CreatePosLinkRequest.php](../../lib/Request/PosLink/CreatePosLinkRequest.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + * \YooKassa\Request\PosLink\CreatePosLinkRequest +* Implements: + * [\YooKassa\Request\PosLink\CreatePosLinkRequestInterface](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md) + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $pos_link_data : \YooKassa\Request\PosLink\PosLinkData +--- +***Description*** + +Данные кассовой ссылки + +**Type:** PosLinkData + +**Details:** + + + +#### public $recipient : \YooKassa\Model\PosLink\PosLinkRecipient +--- +***Description*** + +Получатель платежа по кассовой ссылке + +**Type:** PosLinkRecipient + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public builder() : \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder + +```php +Static public builder() : \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder +``` + +**Summary** + +Возвращает билдер объектов запросов на создание кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequest](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md) + +**Returns:** \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder - Инстанс билдера объектов запросов + + + +#### public clearValidationError() : void + +```php +public clearValidationError() : void +``` + +**Summary** + +Очищает статус валидации текущего запроса. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getLastValidationError() : string|null + +```php +public getLastValidationError() : string|null +``` + +**Summary** + +Возвращает последнюю ошибку валидации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + +**Returns:** string|null - Последняя произошедшая ошибка валидации + + + +#### public getPosLinkData() : \YooKassa\Request\PosLink\PosLinkData|null + +```php +public getPosLinkData() : \YooKassa\Request\PosLink\PosLinkData|null +``` + +**Summary** + +Возвращает данные кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequest](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md) + +**Returns:** \YooKassa\Request\PosLink\PosLinkData|null - Данные кассовой ссылки + + + +#### public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null + +```php +public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null +``` + +**Summary** + +Возвращает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequest](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkRecipient|null - Получатель платежа по кассовой ссылке + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setPosLinkData() : self + +```php +public setPosLinkData(\YooKassa\Request\PosLink\PosLinkData|array|null $pos_link_data = null) : self +``` + +**Summary** + +Устанавливает данные кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequest](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PosLink\PosLinkData OR array OR null | pos_link_data | Данные кассовой ссылки | + +**Returns:** self - + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Model\PosLink\PosLinkRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequest](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkRecipient OR array OR null | recipient | Получатель платежа по кассовой ссылке | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public validate() : bool + +```php +public validate() : bool +``` + +**Summary** + +Проверяет на валидность текущий объект. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequest](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md) + +**Returns:** bool - True если объект запроса валиден, false если нет + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected setValidationError() : void + +```php +protected setValidationError(string $value) : void +``` + +**Summary** + +Устанавливает ошибку валидации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Ошибка, произошедшая при валидации объекта | + +**Returns:** void - + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md new file mode 100644 index 00000000..56f30510 --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md @@ -0,0 +1,216 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий модель CreatePosLinkRequestBuilder. + +**Description:** + +Класс билдера объектов запросов к API на создание кассовой ссылки. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$currentObject](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md#property_currentObject) | | Собираемый объект запроса. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractRequestBuilder.md#method___construct) | | Конструктор, инициализирует пустой запрос, который в будущем начнём собирать. | +| public | [build()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md#method_build) | | Осуществляет сборку объекта запроса к API. | +| public | [setOptions()](../classes/YooKassa-Common-AbstractRequestBuilder.md#method_setOptions) | | Устанавливает свойства запроса из массива. | +| public | [setPosLinkData()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md#method_setPosLinkData) | | Устанавливает данные кассовой ссылки. | +| public | [setRecipient()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | +| protected | [initCurrentObject()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md#method_initCurrentObject) | | Инициализирует объект запроса, который в дальнейшем будет собираться билдером. | + +--- +### Details +* File: [lib/Request/PosLink/CreatePosLinkRequestBuilder.php](../../lib/Request/PosLink/CreatePosLinkRequestBuilder.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractRequestBuilder](../classes/YooKassa-Common-AbstractRequestBuilder.md) + * \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### protected $currentObject : ?\YooKassa\Common\AbstractRequestInterface +--- +**Summary** + +Собираемый объект запроса. + +**Type:** AbstractRequestInterface + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct() : mixed +``` + +**Summary** + +Конструктор, инициализирует пустой запрос, который в будущем начнём собирать. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequestBuilder](../classes/YooKassa-Common-AbstractRequestBuilder.md) + +**Returns:** mixed - + + + +#### public build() : \YooKassa\Request\PosLink\CreatePosLinkRequestInterface|\YooKassa\Common\AbstractRequestInterface + +```php +public build(array|null $options = null) : \YooKassa\Request\PosLink\CreatePosLinkRequestInterface|\YooKassa\Common\AbstractRequestInterface +``` + +**Summary** + +Осуществляет сборку объекта запроса к API. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | options | | + +**Returns:** \YooKassa\Request\PosLink\CreatePosLinkRequestInterface|\YooKassa\Common\AbstractRequestInterface - + + + +#### public setOptions() : \YooKassa\Common\AbstractRequestBuilder + +```php +public setOptions(iterable|null $options) : \YooKassa\Common\AbstractRequestBuilder +``` + +**Summary** + +Устанавливает свойства запроса из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequestBuilder](../classes/YooKassa-Common-AbstractRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| iterable OR null | options | Массив свойств запроса | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \InvalidArgumentException | Выбрасывается если аргумент не массив и не итерируемый объект | +| \YooKassa\Common\Exceptions\InvalidPropertyException | Выбрасывается если не удалось установить один из параметров, переданных в массиве настроек | + +**Returns:** \YooKassa\Common\AbstractRequestBuilder - Инстанс текущего билдера запросов + + + +#### public setPosLinkData() : \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder + +```php +public setPosLinkData(mixed $value) : \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder +``` + +**Summary** + +Устанавливает данные кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| mixed | value | Данные кассовой ссылки | + +**Returns:** \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder - Инстанс текущего билдера + + + +#### public setRecipient() : \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder + +```php +public setRecipient(mixed $value) : \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| mixed | value | Получатель платежа по кассовой ссылке | + +**Returns:** \YooKassa\Request\PosLink\CreatePosLinkRequestBuilder - Инстанс текущего билдера + + + +#### protected initCurrentObject() : \YooKassa\Request\PosLink\CreatePosLinkRequest + +```php +protected initCurrentObject() : \YooKassa\Request\PosLink\CreatePosLinkRequest +``` + +**Summary** + +Инициализирует объект запроса, который в дальнейшем будет собираться билдером. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md) + +**Returns:** \YooKassa\Request\PosLink\CreatePosLinkRequest - Инстанс собираемого объекта запроса к API + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md new file mode 100644 index 00000000..dc462d36 --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md @@ -0,0 +1,138 @@ +# [YooKassa API SDK](../home.md) + +# Interface: CreatePosLinkRequestInterface +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Interface CreatePosLinkRequestInterface. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [getPosLinkData()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md#method_getPosLinkData) | | Возвращает данные кассовой ссылки. | +| public | [getRecipient()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md#method_getRecipient) | | Возвращает получателя платежа по кассовой ссылке. | +| public | [setPosLinkData()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md#method_setPosLinkData) | | Устанавливает данные кассовой ссылки. | +| public | [setRecipient()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | + +--- +### Details +* File: [lib/Request/PosLink/CreatePosLinkRequestInterface.php](../../lib/Request/PosLink/CreatePosLinkRequestInterface.php) +* Package: \YooKassa\Request +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Interface | +| author | | cms@yoomoney.ru | +| property | | Получатель платежа по кассовой ссылке | +| property | | Данные кассовой ссылки | + +--- +## Methods + +#### public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null + +```php +public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null +``` + +**Summary** + +Возвращает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestInterface](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkRecipient|null - Получатель платежа по кассовой ссылке + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Model\PosLink\PosLinkRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestInterface](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkRecipient OR array OR null | recipient | Получатель платежа по кассовой ссылке | + +**Returns:** self - + + + +#### public getPosLinkData() : \YooKassa\Request\PosLink\PosLinkData|null + +```php +public getPosLinkData() : \YooKassa\Request\PosLink\PosLinkData|null +``` + +**Summary** + +Возвращает данные кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestInterface](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md) + +**Returns:** \YooKassa\Request\PosLink\PosLinkData|null - Данные кассовой ссылки + + + +#### public setPosLinkData() : self + +```php +public setPosLinkData(\YooKassa\Request\PosLink\PosLinkData|array|null $pos_link_data = null) : self +``` + +**Summary** + +Устанавливает данные кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestInterface](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PosLink\PosLinkData OR array OR null | pos_link_data | Данные кассовой ссылки | + +**Returns:** self - + + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestSerializer.md b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestSerializer.md new file mode 100644 index 00000000..5c1d4111 --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkRequestSerializer.md @@ -0,0 +1,83 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\CreatePosLinkRequestSerializer +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий модель CreatePosLinkRequestSerializer. + +**Description:** + +Класс объекта осуществляющего сериализацию объекта запроса к API на создание кассовой ссылки. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [serialize()](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestSerializer.md#method_serialize) | | Формирует ассоциативный массив данных из объекта запроса. | + +--- +### Details +* File: [lib/Request/PosLink/CreatePosLinkRequestSerializer.php](../../lib/Request/PosLink/CreatePosLinkRequestSerializer.php) +* Package: YooKassa\Request +* Class Hierarchy: + * \YooKassa\Request\PosLink\CreatePosLinkRequestSerializer + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Methods + +#### public serialize() : array + +```php +public serialize(\YooKassa\Request\PosLink\CreatePosLinkRequestInterface $request) : array +``` + +**Summary** + +Формирует ассоциативный массив данных из объекта запроса. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\CreatePosLinkRequestSerializer](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestSerializer.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PosLink\CreatePosLinkRequestInterface | request | Объект запроса | + +**Returns:** array - Массив данных для дальнейшего кодирования в JSON + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-CreatePosLinkResponse.md b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkResponse.md new file mode 100644 index 00000000..0150c079 --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-CreatePosLinkResponse.md @@ -0,0 +1,720 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\CreatePosLinkResponse +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий CreatePosLinkResponse. + +**Description:** + +Класс объекта ответа, возвращаемого API при запросе на создание кассовой ссылки. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$id](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_id) | | Идентификатор кассовой ссылки в ЮKassa | +| public | [$payment](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_payment) | | Данные о последнем платеже по кассовой ссылке | +| public | [$recipient](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_recipient) | | Получатель платежа по кассовой ссылке | +| public | [$status](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_status) | | Статус кассовой ссылки | +| public | [$type](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_type) | | Тип кассовой ссылки | +| protected | [$_id](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__id) | | Идентификатор кассовой ссылки в ЮKassa. | +| protected | [$_payment](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__payment) | | | +| protected | [$_recipient](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__recipient) | | | +| protected | [$_status](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__status) | | | +| protected | [$_type](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__type) | | | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getId()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getId) | | Возвращает идентификатор кассовой ссылки в ЮKassa. | +| public | [getPayment()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getPayment) | | Возвращает данные о последнем платеже по кассовой ссылке. | +| public | [getRecipient()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getRecipient) | | Возвращает получателя платежа по кассовой ссылке. | +| public | [getStatus()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getStatus) | | Возвращает статус кассовой ссылки. | +| public | [getType()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getType) | | Возвращает тип кассовой ссылки. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setId()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setId) | | Устанавливает идентификатор кассовой ссылки в ЮKassa. | +| public | [setPayment()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setPayment) | | Устанавливает данные о последнем платеже по кассовой ссылке. | +| public | [setRecipient()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | +| public | [setStatus()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setStatus) | | Устанавливает статус кассовой ссылки. | +| public | [setType()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setType) | | Устанавливает тип кассовой ссылки. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/PosLink/CreatePosLinkResponse.php](../../lib/Request/PosLink/CreatePosLinkResponse.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + * \YooKassa\Request\PosLink\CreatePosLinkResponse + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $id : string +--- +***Description*** + +Идентификатор кассовой ссылки в ЮKassa + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $payment : \YooKassa\Model\PosLink\PosLinkLastPayment +--- +***Description*** + +Данные о последнем платеже по кассовой ссылке + +**Type:** PosLinkLastPayment + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $recipient : \YooKassa\Model\PosLink\PosLinkRecipient +--- +***Description*** + +Получатель платежа по кассовой ссылке + +**Type:** PosLinkRecipient + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $status : string +--- +***Description*** + +Статус кассовой ссылки + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $type : string +--- +***Description*** + +Тип кассовой ссылки + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор кассовой ссылки в ЮKassa. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_payment : ?\YooKassa\Model\PosLink\PosLinkLastPayment +--- +**Type:** PosLinkLastPayment +Данные о последнем платеже по кассовой ссылке +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_recipient : ?\YooKassa\Model\PosLink\PosLinkRecipient +--- +**Type:** PosLinkRecipient +Получатель платежа по кассовой ссылке +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_status : ?string +--- +**Type:** ?string +Статус кассовой ссылки +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_type : ?string +--- +**Type:** ?string +Тип кассовой ссылки +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Идентификатор кассовой ссылки в ЮKassa + + + +#### public getPayment() : \YooKassa\Model\PosLink\PosLinkLastPayment|null + +```php +public getPayment() : \YooKassa\Model\PosLink\PosLinkLastPayment|null +``` + +**Summary** + +Возвращает данные о последнем платеже по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkLastPayment|null - Данные о последнем платеже по кассовой ссылке + + + +#### public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null + +```php +public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null +``` + +**Summary** + +Возвращает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkRecipient|null - Получатель платежа по кассовой ссылке + + + +#### public getStatus() : string|null + +```php +public getStatus() : string|null +``` + +**Summary** + +Возвращает статус кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Статус кассовой ссылки + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Тип кассовой ссылки + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор кассовой ссылки в ЮKassa | + +**Returns:** self - + + + +#### public setPayment() : self + +```php +public setPayment(\YooKassa\Model\PosLink\PosLinkLastPayment|array|null $payment = null) : self +``` + +**Summary** + +Устанавливает данные о последнем платеже по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkLastPayment OR array OR null | payment | Данные о последнем платеже по кассовой ссылке | + +**Returns:** self - + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Model\PosLink\PosLinkRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkRecipient OR array OR null | recipient | Получатель платежа по кассовой ссылке | + +**Returns:** self - + + + +#### public setStatus() : self + +```php +public setStatus(string|null $status = null) : self +``` + +**Summary** + +Устанавливает статус кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | status | Статус кассовой ссылки | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает тип кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип кассовой ссылки | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-PosLinkData.md b/docs/classes/YooKassa-Request-PosLink-PosLinkData.md new file mode 100644 index 00000000..b11a9fd0 --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-PosLinkData.md @@ -0,0 +1,457 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\PosLinkData +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий модель PosLinkData. + +**Description:** + +Данные кассовой ссылки для создания. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$link](../classes/YooKassa-Request-PosLink-PosLinkData.md#property_link) | | Кассовая ссылка с платежной таблички | +| protected | [$_link](../classes/YooKassa-Request-PosLink-PosLinkData.md#property__link) | | Кассовая ссылка с платежной таблички. Чтобы получить ее, отсканируйте QR-код на табличке. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getLink()](../classes/YooKassa-Request-PosLink-PosLinkData.md#method_getLink) | | Возвращает кассовую ссылку с платежной таблички. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setLink()](../classes/YooKassa-Request-PosLink-PosLinkData.md#method_setLink) | | Устанавливает кассовую ссылку с платежной таблички. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/PosLink/PosLinkData.php](../../lib/Request/PosLink/PosLinkData.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\PosLink\PosLinkData + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $link : string +--- +***Description*** + +Кассовая ссылка с платежной таблички + +**Type:** string + +**Details:** + + + +#### protected $_link : ?string +--- +**Summary** + +Кассовая ссылка с платежной таблички. Чтобы получить ее, отсканируйте QR-код на табличке. + +**Type:** ?string + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getLink() : string|null + +```php +public getLink() : string|null +``` + +**Summary** + +Возвращает кассовую ссылку с платежной таблички. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\PosLinkData](../classes/YooKassa-Request-PosLink-PosLinkData.md) + +**Returns:** string|null - Кассовая ссылка с платежной таблички + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setLink() : self + +```php +public setLink(string|null $link = null) : self +``` + +**Summary** + +Устанавливает кассовую ссылку с платежной таблички. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\PosLinkData](../classes/YooKassa-Request-PosLink-PosLinkData.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | link | Кассовая ссылка с платежной таблички | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-PosLinkResponse.md b/docs/classes/YooKassa-Request-PosLink-PosLinkResponse.md new file mode 100644 index 00000000..5adf26aa --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-PosLinkResponse.md @@ -0,0 +1,720 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\PosLinkResponse +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий PosLinkResponse. + +**Description:** + +Класс объекта ответа, возвращаемого API при запросе информации о кассовой ссылке. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$id](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_id) | | Идентификатор кассовой ссылки в ЮKassa | +| public | [$payment](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_payment) | | Данные о последнем платеже по кассовой ссылке | +| public | [$recipient](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_recipient) | | Получатель платежа по кассовой ссылке | +| public | [$status](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_status) | | Статус кассовой ссылки | +| public | [$type](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property_type) | | Тип кассовой ссылки | +| protected | [$_id](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__id) | | Идентификатор кассовой ссылки в ЮKassa. | +| protected | [$_payment](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__payment) | | | +| protected | [$_recipient](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__recipient) | | | +| protected | [$_status](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__status) | | | +| protected | [$_type](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#property__type) | | | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getId()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getId) | | Возвращает идентификатор кассовой ссылки в ЮKassa. | +| public | [getPayment()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getPayment) | | Возвращает данные о последнем платеже по кассовой ссылке. | +| public | [getRecipient()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getRecipient) | | Возвращает получателя платежа по кассовой ссылке. | +| public | [getStatus()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getStatus) | | Возвращает статус кассовой ссылки. | +| public | [getType()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_getType) | | Возвращает тип кассовой ссылки. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setId()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setId) | | Устанавливает идентификатор кассовой ссылки в ЮKassa. | +| public | [setPayment()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setPayment) | | Устанавливает данные о последнем платеже по кассовой ссылке. | +| public | [setRecipient()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | +| public | [setStatus()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setStatus) | | Устанавливает статус кассовой ссылки. | +| public | [setType()](../classes/YooKassa-Model-PosLink-PosLinkInfo.md#method_setType) | | Устанавливает тип кассовой ссылки. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/PosLink/PosLinkResponse.php](../../lib/Request/PosLink/PosLinkResponse.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + * \YooKassa\Request\PosLink\PosLinkResponse + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $id : string +--- +***Description*** + +Идентификатор кассовой ссылки в ЮKassa + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $payment : \YooKassa\Model\PosLink\PosLinkLastPayment +--- +***Description*** + +Данные о последнем платеже по кассовой ссылке + +**Type:** PosLinkLastPayment + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $recipient : \YooKassa\Model\PosLink\PosLinkRecipient +--- +***Description*** + +Получатель платежа по кассовой ссылке + +**Type:** PosLinkRecipient + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $status : string +--- +***Description*** + +Статус кассовой ссылки + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### public $type : string +--- +***Description*** + +Тип кассовой ссылки + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор кассовой ссылки в ЮKassa. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_payment : ?\YooKassa\Model\PosLink\PosLinkLastPayment +--- +**Type:** PosLinkLastPayment +Данные о последнем платеже по кассовой ссылке +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_recipient : ?\YooKassa\Model\PosLink\PosLinkRecipient +--- +**Type:** PosLinkRecipient +Получатель платежа по кассовой ссылке +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_status : ?string +--- +**Type:** ?string +Статус кассовой ссылки +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +#### protected $_type : ?string +--- +**Type:** ?string +Тип кассовой ссылки +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Идентификатор кассовой ссылки в ЮKassa + + + +#### public getPayment() : \YooKassa\Model\PosLink\PosLinkLastPayment|null + +```php +public getPayment() : \YooKassa\Model\PosLink\PosLinkLastPayment|null +``` + +**Summary** + +Возвращает данные о последнем платеже по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkLastPayment|null - Данные о последнем платеже по кассовой ссылке + + + +#### public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null + +```php +public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null +``` + +**Summary** + +Возвращает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkRecipient|null - Получатель платежа по кассовой ссылке + + + +#### public getStatus() : string|null + +```php +public getStatus() : string|null +``` + +**Summary** + +Возвращает статус кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Статус кассовой ссылки + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает тип кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +**Returns:** string|null - Тип кассовой ссылки + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает идентификатор кассовой ссылки в ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор кассовой ссылки в ЮKassa | + +**Returns:** self - + + + +#### public setPayment() : self + +```php +public setPayment(\YooKassa\Model\PosLink\PosLinkLastPayment|array|null $payment = null) : self +``` + +**Summary** + +Устанавливает данные о последнем платеже по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkLastPayment OR array OR null | payment | Данные о последнем платеже по кассовой ссылке | + +**Returns:** self - + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Model\PosLink\PosLinkRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkRecipient OR array OR null | recipient | Получатель платежа по кассовой ссылке | + +**Returns:** self - + + + +#### public setStatus() : self + +```php +public setStatus(string|null $status = null) : self +``` + +**Summary** + +Устанавливает статус кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | status | Статус кассовой ссылки | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает тип кассовой ссылки. + +**Details:** +* Inherited From: [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип кассовой ссылки | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md new file mode 100644 index 00000000..3929cad0 --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md @@ -0,0 +1,542 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\RecipientPosLinkRequest +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий модель RecipientPosLinkRequest. + +**Description:** + +Объект запроса на привязку получателя к кассовой ссылке. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$recipient](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md#property_recipient) | | Получатель платежа по кассовой ссылке | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractObject.md#method___construct) | | AbstractObject constructor. | +| public | [__get()](../classes/YooKassa-Common-AbstractObject.md#method___get) | | Возвращает значение свойства. | +| public | [__isset()](../classes/YooKassa-Common-AbstractObject.md#method___isset) | | Проверяет наличие свойства. | +| public | [__set()](../classes/YooKassa-Common-AbstractObject.md#method___set) | | Устанавливает значение свойства. | +| public | [__unset()](../classes/YooKassa-Common-AbstractObject.md#method___unset) | | Удаляет свойство. | +| public | [builder()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md#method_builder) | | Возвращает билдер объектов запросов на привязку получателя к кассовой ссылке. | +| public | [clearValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_clearValidationError) | | Очищает статус валидации текущего запроса. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getLastValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_getLastValidationError) | | Возвращает последнюю ошибку валидации. | +| public | [getRecipient()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md#method_getRecipient) | | Возвращает получателя платежа по кассовой ссылке. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [jsonSerialize()](../classes/YooKassa-Common-AbstractObject.md#method_jsonSerialize) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. | +| public | [offsetExists()](../classes/YooKassa-Common-AbstractObject.md#method_offsetExists) | | Проверяет наличие свойства. | +| public | [offsetGet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetGet) | | Возвращает значение свойства. | +| public | [offsetSet()](../classes/YooKassa-Common-AbstractObject.md#method_offsetSet) | | Устанавливает значение свойства. | +| public | [offsetUnset()](../classes/YooKassa-Common-AbstractObject.md#method_offsetUnset) | | Удаляет свойство. | +| public | [setRecipient()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| public | [validate()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md#method_validate) | | Проверяет на валидность текущий объект. | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [setValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_setValidationError) | | Устанавливает ошибку валидации. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/PosLink/RecipientPosLinkRequest.php](../../lib/Request/PosLink/RecipientPosLinkRequest.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + * \YooKassa\Request\PosLink\RecipientPosLinkRequest +* Implements: + * [\YooKassa\Request\PosLink\RecipientPosLinkRequestInterface](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md) + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $recipient : \YooKassa\Model\PosLink\PosLinkRecipient +--- +***Description*** + +Получатель платежа по кассовой ссылке + +**Type:** PosLinkRecipient + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(array|null $data = []) : mixed +``` + +**Summary** + +AbstractObject constructor. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | | + +**Returns:** mixed - + + + +#### public __get() : mixed + +```php +public __get(string $propertyName) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public __isset() : bool + +```php +public __isset(string $propertyName) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public __set() : void + +```php +public __set(string $propertyName, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public __unset() : void + +```php +public __unset(string $propertyName) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public builder() : \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder + +```php +Static public builder() : \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder +``` + +**Summary** + +Возвращает билдер объектов запросов на привязку получателя к кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequest](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md) + +**Returns:** \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder - Инстанс билдера объектов запросов + + + +#### public clearValidationError() : void + +```php +public clearValidationError() : void +``` + +**Summary** + +Очищает статус валидации текущего запроса. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + +**Returns:** void - + + + +#### public fromArray() : void + +```php +public fromArray(array|\Traversable $sourceArray) : void +``` + +**Summary** + +Устанавливает значения свойств текущего объекта из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \Traversable | sourceArray | Ассоциативный массив с настройками | + +**Returns:** void - + + + +#### public getLastValidationError() : string|null + +```php +public getLastValidationError() : string|null +``` + +**Summary** + +Возвращает последнюю ошибку валидации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + +**Returns:** string|null - Последняя произошедшая ошибка валидации + + + +#### public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null + +```php +public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null +``` + +**Summary** + +Возвращает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequest](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkRecipient|null - Получатель платежа по кассовой ссылке + + + +#### public getValidator() : \YooKassa\Validator\Validator + +```php +public getValidator() : \YooKassa\Validator\Validator +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** \YooKassa\Validator\Validator - + + + +#### public jsonSerialize() : array + +```php +public jsonSerialize() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public offsetExists() : bool + +```php +public offsetExists(string $offset) : bool +``` + +**Summary** + +Проверяет наличие свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя проверяемого свойства | + +**Returns:** bool - True если свойство имеется, false если нет + + + +#### public offsetGet() : mixed + +```php +public offsetGet(string $offset) : mixed +``` + +**Summary** + +Возвращает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | + +**Returns:** mixed - Значение свойства + + + +#### public offsetSet() : void + +```php +public offsetSet(string $offset, mixed $value) : void +``` + +**Summary** + +Устанавливает значение свойства. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя свойства | +| mixed | value | Значение свойства | + +**Returns:** void - + + + +#### public offsetUnset() : void + +```php +public offsetUnset(string $offset) : void +``` + +**Summary** + +Удаляет свойство. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | offset | Имя удаляемого свойства | + +**Returns:** void - + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Model\PosLink\PosLinkRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequest](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkRecipient OR array OR null | recipient | Получатель платежа по кассовой ссылке | + +**Returns:** self - + + + +#### public toArray() : array + +```php +public toArray() : array +``` + +**Summary** + +Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации +Является алиасом метода AbstractObject::jsonSerialize(). + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив со свойствами текущего объекта + + + +#### public validate() : bool + +```php +public validate() : bool +``` + +**Summary** + +Проверяет на валидность текущий объект. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequest](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md) + +**Returns:** bool - True если объект запроса валиден, false если нет + + + +#### protected getUnknownProperties() : array + +```php +protected getUnknownProperties() : array +``` + +**Summary** + +Возвращает массив свойств которые не существуют, но были заданы у объекта. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +**Returns:** array - Ассоциативный массив с не существующими у текущего объекта свойствами + + + +#### protected setValidationError() : void + +```php +protected setValidationError(string $value) : void +``` + +**Summary** + +Устанавливает ошибку валидации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | value | Ошибка, произошедшая при валидации объекта | + +**Returns:** void - + + + +#### protected validatePropertyValue() : mixed + +```php +protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | propertyName | | +| mixed | propertyValue | | + +**Returns:** mixed - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md new file mode 100644 index 00000000..bfc7507e --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md @@ -0,0 +1,193 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий модель RecipientPosLinkRequestBuilder. + +**Description:** + +Класс билдера объектов запросов на привязку получателя к кассовой ссылке. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$currentObject](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md#property_currentObject) | | Собираемый объект запроса. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractRequestBuilder.md#method___construct) | | Конструктор, инициализирует пустой запрос, который в будущем начнём собирать. | +| public | [build()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md#method_build) | | Осуществляет сборку объекта запроса к API. | +| public | [setOptions()](../classes/YooKassa-Common-AbstractRequestBuilder.md#method_setOptions) | | Устанавливает свойства запроса из массива. | +| public | [setRecipient()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | +| protected | [initCurrentObject()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md#method_initCurrentObject) | | Инициализирует объект запроса, который в дальнейшем будет собираться билдером. | + +--- +### Details +* File: [lib/Request/PosLink/RecipientPosLinkRequestBuilder.php](../../lib/Request/PosLink/RecipientPosLinkRequestBuilder.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractRequestBuilder](../classes/YooKassa-Common-AbstractRequestBuilder.md) + * \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### protected $currentObject : ?\YooKassa\Common\AbstractRequestInterface +--- +**Summary** + +Собираемый объект запроса. + +**Type:** AbstractRequestInterface + +**Details:** + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct() : mixed +``` + +**Summary** + +Конструктор, инициализирует пустой запрос, который в будущем начнём собирать. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequestBuilder](../classes/YooKassa-Common-AbstractRequestBuilder.md) + +**Returns:** mixed - + + + +#### public build() : \YooKassa\Request\PosLink\RecipientPosLinkRequestInterface|\YooKassa\Common\AbstractRequestInterface + +```php +public build(array|null $options = null) : \YooKassa\Request\PosLink\RecipientPosLinkRequestInterface|\YooKassa\Common\AbstractRequestInterface +``` + +**Summary** + +Осуществляет сборку объекта запроса к API. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | options | | + +**Returns:** \YooKassa\Request\PosLink\RecipientPosLinkRequestInterface|\YooKassa\Common\AbstractRequestInterface - + + + +#### public setOptions() : \YooKassa\Common\AbstractRequestBuilder + +```php +public setOptions(iterable|null $options) : \YooKassa\Common\AbstractRequestBuilder +``` + +**Summary** + +Устанавливает свойства запроса из массива. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequestBuilder](../classes/YooKassa-Common-AbstractRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| iterable OR null | options | Массив свойств запроса | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \InvalidArgumentException | Выбрасывается если аргумент не массив и не итерируемый объект | +| \YooKassa\Common\Exceptions\InvalidPropertyException | Выбрасывается если не удалось установить один из параметров, переданных в массиве настроек | + +**Returns:** \YooKassa\Common\AbstractRequestBuilder - Инстанс текущего билдера запросов + + + +#### public setRecipient() : \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder + +```php +public setRecipient(mixed $value) : \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| mixed | value | Получатель платежа по кассовой ссылке | + +**Returns:** \YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder - Инстанс текущего билдера + + + +#### protected initCurrentObject() : \YooKassa\Request\PosLink\RecipientPosLinkRequest + +```php +protected initCurrentObject() : \YooKassa\Request\PosLink\RecipientPosLinkRequest +``` + +**Summary** + +Инициализирует объект запроса, который в дальнейшем будет собираться билдером. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md) + +**Returns:** \YooKassa\Request\PosLink\RecipientPosLinkRequest - Инстанс собираемого объекта запроса к API + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md new file mode 100644 index 00000000..34d5c4fd --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md @@ -0,0 +1,96 @@ +# [YooKassa API SDK](../home.md) + +# Interface: RecipientPosLinkRequestInterface +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Interface RecipientPosLinkRequestInterface. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [getRecipient()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md#method_getRecipient) | | Возвращает получателя платежа по кассовой ссылке. | +| public | [setRecipient()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md#method_setRecipient) | | Устанавливает получателя платежа по кассовой ссылке. | + +--- +### Details +* File: [lib/Request/PosLink/RecipientPosLinkRequestInterface.php](../../lib/Request/PosLink/RecipientPosLinkRequestInterface.php) +* Package: \YooKassa\Request +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Interface | +| author | | cms@yoomoney.ru | +| property | | Получатель платежа по кассовой ссылке | + +--- +## Methods + +#### public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null + +```php +public getRecipient() : \YooKassa\Model\PosLink\PosLinkRecipient|null +``` + +**Summary** + +Возвращает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequestInterface](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md) + +**Returns:** \YooKassa\Model\PosLink\PosLinkRecipient|null - Получатель платежа по кассовой ссылке + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Model\PosLink\PosLinkRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает получателя платежа по кассовой ссылке. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequestInterface](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\PosLink\PosLinkRecipient OR array OR null | recipient | Получатель платежа по кассовой ссылке | + +**Returns:** self - + + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestSerializer.md b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestSerializer.md new file mode 100644 index 00000000..4a349303 --- /dev/null +++ b/docs/classes/YooKassa-Request-PosLink-RecipientPosLinkRequestSerializer.md @@ -0,0 +1,83 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PosLink\RecipientPosLinkRequestSerializer +### Namespace: [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) +--- +**Summary:** + +Класс, представляющий модель RecipientPosLinkRequestSerializer. + +**Description:** + +Класс объекта осуществляющего сериализацию объекта запроса на привязку получателя к кассовой ссылке. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [serialize()](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestSerializer.md#method_serialize) | | Формирует ассоциативный массив данных из объекта запроса. | + +--- +### Details +* File: [lib/Request/PosLink/RecipientPosLinkRequestSerializer.php](../../lib/Request/PosLink/RecipientPosLinkRequestSerializer.php) +* Package: YooKassa\Request +* Class Hierarchy: + * \YooKassa\Request\PosLink\RecipientPosLinkRequestSerializer + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Methods + +#### public serialize() : array + +```php +public serialize(\YooKassa\Request\PosLink\RecipientPosLinkRequestInterface $request) : array +``` + +**Summary** + +Формирует ассоциативный массив данных из объекта запроса. + +**Details:** +* Inherited From: [\YooKassa\Request\PosLink\RecipientPosLinkRequestSerializer](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestSerializer.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PosLink\RecipientPosLinkRequestInterface | request | Объект запроса | + +**Returns:** array - Массив данных для дальнейшего кодирования в JSON + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md index e03c23dc..fbf8b13b 100644 --- a/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md @@ -1717,6 +1717,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md index 2cdcc0de..d12cfbfc 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md @@ -1444,6 +1444,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md index 3721cb46..45f50b64 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md @@ -642,6 +642,6 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\CreatePostReceiptRequ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md index 7d63ed7b..96a9e11a 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md @@ -591,6 +591,6 @@ public notEmpty() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md index f749fb7c..f2da2071 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Receipts\CreatePostReceiptRequestInterface $r --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md index 126d3a56..22d03dc3 100644 --- a/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md @@ -1834,6 +1834,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md index c5216105..7720bb44 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md @@ -65,6 +65,6 @@ public factory(array $data) : \YooKassa\Request\Receipts\AbstractReceiptResponse --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md index abb7298f..b07dd62c 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md @@ -212,6 +212,6 @@ public notEmpty() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md index 2d2fcfe1..7cf7708d 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md @@ -1571,6 +1571,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md index cdd62759..7b3f5496 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md @@ -402,6 +402,6 @@ public getSupplier() : \YooKassa\Model\Receipt\SupplierInterface|null --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md index c60c3bc6..3de4f116 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md @@ -1240,6 +1240,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md index 204f66fb..ac133ca3 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md @@ -411,6 +411,6 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\ReceiptsRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md index a6ea5bb7..f9c85a1c 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md @@ -382,6 +382,6 @@ public hasLimit() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md index 2d9a1223..9f168f0c 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md @@ -65,6 +65,6 @@ public serialize(\YooKassa\Request\Receipts\ReceiptsRequestInterface $request) : --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md b/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md index cd432892..f36f3c95 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md @@ -543,6 +543,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md index 5806bed2..b3c2b465 100644 --- a/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md @@ -1834,6 +1834,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md b/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md index 998ce392..f6fbad39 100644 --- a/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md @@ -1747,6 +1747,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md b/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md index 8658f3e6..4fdb18c2 100644 --- a/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md @@ -1331,6 +1331,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md index 58da515f..2bd23a61 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md @@ -1153,6 +1153,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md index 8e388eb6..e3574992 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md @@ -701,6 +701,6 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\CreateRefundRequest --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md index 2fe634f3..5c8a0653 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md @@ -404,6 +404,6 @@ public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : self --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md index cd88c40f..a5811da7 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Refunds\CreateRefundRequestInterface $request --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md b/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md index f2c6552a..28469426 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md @@ -1332,6 +1332,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md index c4278e28..ebc4f26e 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md @@ -452,6 +452,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md index 06e2e583..c2683abc 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md @@ -585,6 +585,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md index bd1dfee8..4eb000f0 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundResponse.md b/docs/classes/YooKassa-Request-Refunds-RefundResponse.md index 83c911fc..b78576ed 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundResponse.md @@ -1332,6 +1332,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md index 62bcfffa..cbb977ca 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md @@ -1143,6 +1143,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md index 5f0befb9..8696caca 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md @@ -395,6 +395,6 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\RefundsRequestInterfac --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md index 361f85e8..2eea3462 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md @@ -309,6 +309,6 @@ public hasCursor() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md b/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md index 6a29908e..d7c4a66f 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\Refunds\RefundsRequestInterface $request) : a --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md b/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md index a4c66697..734cd52b 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md @@ -546,6 +546,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md index b56ce866..ed1a77ce 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md @@ -725,6 +725,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md index acc7696e..b99aa80e 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md @@ -265,6 +265,6 @@ protected initCurrentObject() : \YooKassa\Request\SelfEmployed\SelfEmployedReque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md index c4139d11..d60ff54e 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md @@ -449,6 +449,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md index 09c69ae3..13d2bdb3 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md @@ -102,6 +102,6 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md index 538aaab0..08c81eef 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md @@ -455,6 +455,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md index ddb7f3ee..6b0fa367 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md @@ -251,6 +251,6 @@ public validate() : bool --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md index fc22dad3..b9c04320 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md @@ -78,6 +78,6 @@ public serialize(\YooKassa\Request\SelfEmployed\SelfEmployedRequest $request) : --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md index a62b079c..7aff9f70 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md @@ -888,6 +888,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md b/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md index bb289bd4..11fb6bff 100644 --- a/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md +++ b/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md @@ -537,6 +537,6 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/default.md b/docs/namespaces/default.md index d9a3b791..6e3d0da5 100644 --- a/docs/namespaces/default.md +++ b/docs/namespaces/default.md @@ -71,6 +71,6 @@ YOOKASSA_SDK_ROOT_PATH = __DIR__ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-client.md b/docs/namespaces/yookassa-client.md index a9481cc3..645585c0 100644 --- a/docs/namespaces/yookassa-client.md +++ b/docs/namespaces/yookassa-client.md @@ -33,6 +33,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common-errors.md b/docs/namespaces/yookassa-common-errors.md index d5eab640..880dff33 100644 --- a/docs/namespaces/yookassa-common-errors.md +++ b/docs/namespaces/yookassa-common-errors.md @@ -37,6 +37,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common-exceptions.md b/docs/namespaces/yookassa-common-exceptions.md index cc70a822..90c732e1 100644 --- a/docs/namespaces/yookassa-common-exceptions.md +++ b/docs/namespaces/yookassa-common-exceptions.md @@ -42,6 +42,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common.md b/docs/namespaces/yookassa-common.md index fce67655..46ac4230 100644 --- a/docs/namespaces/yookassa-common.md +++ b/docs/namespaces/yookassa-common.md @@ -44,6 +44,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers-config.md b/docs/namespaces/yookassa-helpers-config.md index 87109c7a..6c153f8b 100644 --- a/docs/namespaces/yookassa-helpers-config.md +++ b/docs/namespaces/yookassa-helpers-config.md @@ -31,6 +31,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers.md b/docs/namespaces/yookassa-helpers.md index 7f408cf4..2c5128c6 100644 --- a/docs/namespaces/yookassa-helpers.md +++ b/docs/namespaces/yookassa-helpers.md @@ -35,6 +35,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-deal.md b/docs/namespaces/yookassa-model-deal.md index e0624650..04e0d11d 100644 --- a/docs/namespaces/yookassa-model-deal.md +++ b/docs/namespaces/yookassa-model-deal.md @@ -44,6 +44,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-invoice-deliverymethod.md b/docs/namespaces/yookassa-model-invoice-deliverymethod.md index 1ffd8a82..9a23b620 100644 --- a/docs/namespaces/yookassa-model-invoice-deliverymethod.md +++ b/docs/namespaces/yookassa-model-invoice-deliverymethod.md @@ -31,6 +31,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-invoice.md b/docs/namespaces/yookassa-model-invoice.md index 5935e35c..53dbf447 100644 --- a/docs/namespaces/yookassa-model-invoice.md +++ b/docs/namespaces/yookassa-model-invoice.md @@ -41,6 +41,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-notification.md b/docs/namespaces/yookassa-model-notification.md index 74d719ee..b8998905 100644 --- a/docs/namespaces/yookassa-model-notification.md +++ b/docs/namespaces/yookassa-model-notification.md @@ -42,6 +42,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-confirmation.md b/docs/namespaces/yookassa-model-payment-confirmation.md index 3662f1c9..6d8d6bfb 100644 --- a/docs/namespaces/yookassa-model-payment-confirmation.md +++ b/docs/namespaces/yookassa-model-payment-confirmation.md @@ -32,6 +32,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md index a6403868..35b3f09f 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md @@ -39,6 +39,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md index 708f8ca9..66baffb7 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md @@ -23,6 +23,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md b/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md index cf3ebc86..e128b640 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md @@ -27,6 +27,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment-paymentmethod.md b/docs/namespaces/yookassa-model-payment-paymentmethod.md index 3ca647fe..290ea96b 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod.md @@ -57,6 +57,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment.md b/docs/namespaces/yookassa-model-payment.md index 77ae8fdd..ebacc918 100644 --- a/docs/namespaces/yookassa-model-payment.md +++ b/docs/namespaces/yookassa-model-payment.md @@ -53,6 +53,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payout.md b/docs/namespaces/yookassa-model-payout.md index 3c86b69c..ab3d4583 100644 --- a/docs/namespaces/yookassa-model-payout.md +++ b/docs/namespaces/yookassa-model-payout.md @@ -45,6 +45,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-personaldata.md b/docs/namespaces/yookassa-model-personaldata.md index f25898f7..a8ac84d9 100644 --- a/docs/namespaces/yookassa-model-personaldata.md +++ b/docs/namespaces/yookassa-model-personaldata.md @@ -36,6 +36,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-poslink.md b/docs/namespaces/yookassa-model-poslink.md new file mode 100644 index 00000000..8277a7f7 --- /dev/null +++ b/docs/namespaces/yookassa-model-poslink.md @@ -0,0 +1,35 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Model\PosLink + +## Parent: [\YooKassa\Model](../namespaces/yookassa-model.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Model\PosLink\PosLinkInfo](../classes/YooKassa-Model-PosLink-PosLinkInfo.md) | Класс, представляющий модель PosLinkInfo. | +| [\YooKassa\Model\PosLink\PosLinkLastPayment](../classes/YooKassa-Model-PosLink-PosLinkLastPayment.md) | Класс, представляющий модель PosLinkLastPayment. | +| [\YooKassa\Model\PosLink\PosLinkPayment](../classes/YooKassa-Model-PosLink-PosLinkPayment.md) | Класс, представляющий модель PaymentData. | +| [\YooKassa\Model\PosLink\PosLinkRecipient](../classes/YooKassa-Model-PosLink-PosLinkRecipient.md) | Класс, представляющий модель PosLinkRecipient. | +| [\YooKassa\Model\PosLink\PosLinkStatus](../classes/YooKassa-Model-PosLink-PosLinkStatus.md) | Класс, представляющий модель PosLinkStatus. | +| [\YooKassa\Model\PosLink\PosLinkType](../classes/YooKassa-Model-PosLink-PosLinkType.md) | Класс, представляющий модель PosLinkType. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-receipt.md b/docs/namespaces/yookassa-model-receipt.md index e8008a1b..041bc1e3 100644 --- a/docs/namespaces/yookassa-model-receipt.md +++ b/docs/namespaces/yookassa-model-receipt.md @@ -51,6 +51,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md b/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md index b95e94cb..85df4878 100644 --- a/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md +++ b/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md @@ -26,6 +26,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-refund-refundmethod.md b/docs/namespaces/yookassa-model-refund-refundmethod.md index 74b3b84d..b6f563cf 100644 --- a/docs/namespaces/yookassa-model-refund-refundmethod.md +++ b/docs/namespaces/yookassa-model-refund-refundmethod.md @@ -33,6 +33,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-refund.md b/docs/namespaces/yookassa-model-refund.md index f4bdf9fc..fdfa9b9c 100644 --- a/docs/namespaces/yookassa-model-refund.md +++ b/docs/namespaces/yookassa-model-refund.md @@ -43,6 +43,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-savepaymentmethod-confirmation.md b/docs/namespaces/yookassa-model-savepaymentmethod-confirmation.md index 1e4a9783..1afba9ab 100644 --- a/docs/namespaces/yookassa-model-savepaymentmethod-confirmation.md +++ b/docs/namespaces/yookassa-model-savepaymentmethod-confirmation.md @@ -29,6 +29,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-savepaymentmethod.md b/docs/namespaces/yookassa-model-savepaymentmethod.md index bab05c38..a404b52f 100644 --- a/docs/namespaces/yookassa-model-savepaymentmethod.md +++ b/docs/namespaces/yookassa-model-savepaymentmethod.md @@ -42,6 +42,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-selfemployed.md b/docs/namespaces/yookassa-model-selfemployed.md index 44f9f5e9..153b3d83 100644 --- a/docs/namespaces/yookassa-model-selfemployed.md +++ b/docs/namespaces/yookassa-model-selfemployed.md @@ -36,6 +36,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-settings.md b/docs/namespaces/yookassa-model-settings.md index f41ee559..1a6c3699 100644 --- a/docs/namespaces/yookassa-model-settings.md +++ b/docs/namespaces/yookassa-model-settings.md @@ -27,6 +27,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-webhook.md b/docs/namespaces/yookassa-model-webhook.md index d0b584af..f89d002b 100644 --- a/docs/namespaces/yookassa-model-webhook.md +++ b/docs/namespaces/yookassa-model-webhook.md @@ -31,6 +31,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model.md b/docs/namespaces/yookassa-model.md index 73935e30..082b8c58 100644 --- a/docs/namespaces/yookassa-model.md +++ b/docs/namespaces/yookassa-model.md @@ -12,6 +12,7 @@ * [\YooKassa\Model\Payment](../namespaces/yookassa-model-payment.md) * [\YooKassa\Model\Payout](../namespaces/yookassa-model-payout.md) * [\YooKassa\Model\PersonalData](../namespaces/yookassa-model-personaldata.md) +* [\YooKassa\Model\PosLink](../namespaces/yookassa-model-poslink.md) * [\YooKassa\Model\Receipt](../namespaces/yookassa-model-receipt.md) * [\YooKassa\Model\Refund](../namespaces/yookassa-model-refund.md) * [\YooKassa\Model\SavePaymentMethod](../namespaces/yookassa-model-savepaymentmethod.md) @@ -49,6 +50,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-deals.md b/docs/namespaces/yookassa-request-deals.md index 3c195568..9d507dad 100644 --- a/docs/namespaces/yookassa-request-deals.md +++ b/docs/namespaces/yookassa-request-deals.md @@ -41,6 +41,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-invoices-deliverymethoddata.md b/docs/namespaces/yookassa-request-invoices-deliverymethoddata.md index 89fe7cec..e03302f3 100644 --- a/docs/namespaces/yookassa-request-invoices-deliverymethoddata.md +++ b/docs/namespaces/yookassa-request-invoices-deliverymethoddata.md @@ -29,6 +29,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-invoices.md b/docs/namespaces/yookassa-request-invoices.md index 69a9a9f9..141492d9 100644 --- a/docs/namespaces/yookassa-request-invoices.md +++ b/docs/namespaces/yookassa-request-invoices.md @@ -39,6 +39,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-paymentmethods-confirmationdata.md b/docs/namespaces/yookassa-request-paymentmethods-confirmationdata.md index 64c5f080..04c3092d 100644 --- a/docs/namespaces/yookassa-request-paymentmethods-confirmationdata.md +++ b/docs/namespaces/yookassa-request-paymentmethods-confirmationdata.md @@ -28,6 +28,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-paymentmethods.md b/docs/namespaces/yookassa-request-paymentmethods.md index 6449af01..080298d2 100644 --- a/docs/namespaces/yookassa-request-paymentmethods.md +++ b/docs/namespaces/yookassa-request-paymentmethods.md @@ -43,6 +43,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-confirmationattributes.md b/docs/namespaces/yookassa-request-payments-confirmationattributes.md index a0be7b5b..ae0c4e84 100644 --- a/docs/namespaces/yookassa-request-payments-confirmationattributes.md +++ b/docs/namespaces/yookassa-request-payments-confirmationattributes.md @@ -31,6 +31,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md b/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md index 58f3e2ea..e0c13707 100644 --- a/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md +++ b/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md @@ -25,6 +25,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-paymentdata.md b/docs/namespaces/yookassa-request-payments-paymentdata.md index 69516b60..0f37744c 100644 --- a/docs/namespaces/yookassa-request-payments-paymentdata.md +++ b/docs/namespaces/yookassa-request-payments-paymentdata.md @@ -48,6 +48,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-paymentorderdata.md b/docs/namespaces/yookassa-request-payments-paymentorderdata.md index b2650463..45f5c9c5 100644 --- a/docs/namespaces/yookassa-request-payments-paymentorderdata.md +++ b/docs/namespaces/yookassa-request-payments-paymentorderdata.md @@ -30,6 +30,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-receiverdata.md b/docs/namespaces/yookassa-request-payments-receiverdata.md index 45546fd4..b008ae6f 100644 --- a/docs/namespaces/yookassa-request-payments-receiverdata.md +++ b/docs/namespaces/yookassa-request-payments-receiverdata.md @@ -30,6 +30,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-statementdata-deliverymethod.md b/docs/namespaces/yookassa-request-payments-statementdata-deliverymethod.md index 1faeeafa..6c6c338c 100644 --- a/docs/namespaces/yookassa-request-payments-statementdata-deliverymethod.md +++ b/docs/namespaces/yookassa-request-payments-statementdata-deliverymethod.md @@ -28,6 +28,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments-statementdata.md b/docs/namespaces/yookassa-request-payments-statementdata.md index 1dbc47eb..9fa7ed25 100644 --- a/docs/namespaces/yookassa-request-payments-statementdata.md +++ b/docs/namespaces/yookassa-request-payments-statementdata.md @@ -32,6 +32,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments.md b/docs/namespaces/yookassa-request-payments.md index 3304abb9..0bcf87d0 100644 --- a/docs/namespaces/yookassa-request-payments.md +++ b/docs/namespaces/yookassa-request-payments.md @@ -70,6 +70,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md b/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md index 0c392924..5918e8d4 100644 --- a/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md +++ b/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md @@ -30,6 +30,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payouts.md b/docs/namespaces/yookassa-request-payouts.md index 8d14fadb..3d4a7490 100644 --- a/docs/namespaces/yookassa-request-payouts.md +++ b/docs/namespaces/yookassa-request-payouts.md @@ -47,6 +47,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-personaldata-personaldatatype.md b/docs/namespaces/yookassa-request-personaldata-personaldatatype.md index 0689260c..f9a6d6b3 100644 --- a/docs/namespaces/yookassa-request-personaldata-personaldatatype.md +++ b/docs/namespaces/yookassa-request-personaldata-personaldatatype.md @@ -28,6 +28,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-personaldata.md b/docs/namespaces/yookassa-request-personaldata.md index e6ce9633..b3133149 100644 --- a/docs/namespaces/yookassa-request-personaldata.md +++ b/docs/namespaces/yookassa-request-personaldata.md @@ -37,6 +37,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-poslink.md b/docs/namespaces/yookassa-request-poslink.md new file mode 100644 index 00000000..bb474e0e --- /dev/null +++ b/docs/namespaces/yookassa-request-poslink.md @@ -0,0 +1,45 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Request\PosLink + +## Parent: [\YooKassa\Request](../namespaces/yookassa-request.md) + +### Interfaces + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\PosLink\CreatePosLinkRequestInterface](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestInterface.md) | Interface CreatePosLinkRequestInterface. | +| [\YooKassa\Request\PosLink\RecipientPosLinkRequestInterface](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestInterface.md) | Interface RecipientPosLinkRequestInterface. | + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\PosLink\CreatePosLinkRequest](../classes/YooKassa-Request-PosLink-CreatePosLinkRequest.md) | Класс, представляющий модель CreatePosLinkRequest. | +| [\YooKassa\Request\PosLink\CreatePosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestBuilder.md) | Класс, представляющий модель CreatePosLinkRequestBuilder. | +| [\YooKassa\Request\PosLink\CreatePosLinkRequestSerializer](../classes/YooKassa-Request-PosLink-CreatePosLinkRequestSerializer.md) | Класс, представляющий модель CreatePosLinkRequestSerializer. | +| [\YooKassa\Request\PosLink\CreatePosLinkResponse](../classes/YooKassa-Request-PosLink-CreatePosLinkResponse.md) | Класс, представляющий CreatePosLinkResponse. | +| [\YooKassa\Request\PosLink\PosLinkData](../classes/YooKassa-Request-PosLink-PosLinkData.md) | Класс, представляющий модель PosLinkData. | +| [\YooKassa\Request\PosLink\PosLinkResponse](../classes/YooKassa-Request-PosLink-PosLinkResponse.md) | Класс, представляющий PosLinkResponse. | +| [\YooKassa\Request\PosLink\RecipientPosLinkRequest](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequest.md) | Класс, представляющий модель RecipientPosLinkRequest. | +| [\YooKassa\Request\PosLink\RecipientPosLinkRequestBuilder](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestBuilder.md) | Класс, представляющий модель RecipientPosLinkRequestBuilder. | +| [\YooKassa\Request\PosLink\RecipientPosLinkRequestSerializer](../classes/YooKassa-Request-PosLink-RecipientPosLinkRequestSerializer.md) | Класс, представляющий модель RecipientPosLinkRequestSerializer. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 43](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) + +© 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-receipts.md b/docs/namespaces/yookassa-request-receipts.md index 00ab8939..09332b6b 100644 --- a/docs/namespaces/yookassa-request-receipts.md +++ b/docs/namespaces/yookassa-request-receipts.md @@ -46,6 +46,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-refunds-refundmethoddata.md b/docs/namespaces/yookassa-request-refunds-refundmethoddata.md index 6165a758..ec2eb426 100644 --- a/docs/namespaces/yookassa-request-refunds-refundmethoddata.md +++ b/docs/namespaces/yookassa-request-refunds-refundmethoddata.md @@ -27,6 +27,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-refunds.md b/docs/namespaces/yookassa-request-refunds.md index 088dddac..6451c6c5 100644 --- a/docs/namespaces/yookassa-request-refunds.md +++ b/docs/namespaces/yookassa-request-refunds.md @@ -45,6 +45,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-selfemployed.md b/docs/namespaces/yookassa-request-selfemployed.md index e24edbb4..f1139f5c 100644 --- a/docs/namespaces/yookassa-request-selfemployed.md +++ b/docs/namespaces/yookassa-request-selfemployed.md @@ -37,6 +37,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-webhook.md b/docs/namespaces/yookassa-request-webhook.md index 21d14706..ac54904f 100644 --- a/docs/namespaces/yookassa-request-webhook.md +++ b/docs/namespaces/yookassa-request-webhook.md @@ -25,6 +25,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request.md b/docs/namespaces/yookassa-request.md index 33a3880c..d861d5b5 100644 --- a/docs/namespaces/yookassa-request.md +++ b/docs/namespaces/yookassa-request.md @@ -12,6 +12,7 @@ * [\YooKassa\Request\Payments](../namespaces/yookassa-request-payments.md) * [\YooKassa\Request\Payouts](../namespaces/yookassa-request-payouts.md) * [\YooKassa\Request\PersonalData](../namespaces/yookassa-request-personaldata.md) +* [\YooKassa\Request\PosLink](../namespaces/yookassa-request-poslink.md) * [\YooKassa\Request\Receipts](../namespaces/yookassa-request-receipts.md) * [\YooKassa\Request\Refunds](../namespaces/yookassa-request-refunds.md) * [\YooKassa\Request\SelfEmployed](../namespaces/yookassa-request-selfemployed.md) @@ -38,6 +39,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa.md b/docs/namespaces/yookassa.md index 0417d53b..b40e20ff 100644 --- a/docs/namespaces/yookassa.md +++ b/docs/namespaces/yookassa.md @@ -33,6 +33,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/readme.md b/docs/readme.md index b6505a71..989a9159 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -71,6 +71,6 @@ YOOKASSA_SDK_ROOT_PATH = __DIR__ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/reports/deprecated.md b/docs/reports/deprecated.md index bc49815b..71598534 100644 --- a/docs/reports/deprecated.md +++ b/docs/reports/deprecated.md @@ -141,15 +141,15 @@ #### [lib/Request/Payments/CreatePaymentRequest.php](../../lib/Request/Payments/CreatePaymentRequest.php) | Line | Element | Description | | ---- | ------- | ----------- | -| 587 | \YooKassa\Request\Payments\CreatePaymentRequest::getFraudData() | Больше не поддерживается. Вместо него нужно использовать `getReceiver()` | -| 598 | \YooKassa\Request\Payments\CreatePaymentRequest::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | -| 609 | \YooKassa\Request\Payments\CreatePaymentRequest::hasFraudData() | Больше не поддерживается. Вместо него нужно использовать `hasReceiver()` | +| 599 | \YooKassa\Request\Payments\CreatePaymentRequest::getFraudData() | Больше не поддерживается. Вместо него нужно использовать `getReceiver()` | +| 610 | \YooKassa\Request\Payments\CreatePaymentRequest::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | +| 621 | \YooKassa\Request\Payments\CreatePaymentRequest::hasFraudData() | Больше не поддерживается. Вместо него нужно использовать `hasReceiver()` | #### [lib/Request/Payments/CreatePaymentRequestBuilder.php](../../lib/Request/Payments/CreatePaymentRequestBuilder.php) | Line | Element | Description | | ---- | ------- | ----------- | -| 95 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setAccountId() | Больше не используется | -| 332 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | +| 96 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setAccountId() | Больше не используется | +| 333 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | #### [lib/Request/Payments/FraudData.php](../../lib/Request/Payments/FraudData.php) | Line | Element | Description | @@ -192,6 +192,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/reports/errors.md b/docs/reports/errors.md index 292cd32a..0a6374ec 100644 --- a/docs/reports/errors.md +++ b/docs/reports/errors.md @@ -18,6 +18,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/docs/reports/markers.md b/docs/reports/markers.md index 5e148a32..a2df9baa 100644 --- a/docs/reports/markers.md +++ b/docs/reports/markers.md @@ -18,6 +18,6 @@ --- -This document was automatically generated from source code comments on 2026-06-29 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2026-08-12 using [phpDocumentor](http://www.phpdoc.org/) © 2026 YooMoney \ No newline at end of file diff --git a/lib/Client.php b/lib/Client.php index ced79636..f0e116bd 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -97,6 +97,15 @@ use YooKassa\Request\Payouts\PayoutsRequestInterface; use YooKassa\Request\Payouts\PayoutsRequestSerializer; use YooKassa\Request\Payouts\PayoutsResponse; use YooKassa\Request\Payouts\SbpBanksResponse; +use YooKassa\Model\PosLink\PosLinkInfo; +use YooKassa\Request\PosLink\CreatePosLinkRequest; +use YooKassa\Request\PosLink\CreatePosLinkRequestInterface; +use YooKassa\Request\PosLink\CreatePosLinkRequestSerializer; +use YooKassa\Request\PosLink\CreatePosLinkResponse; +use YooKassa\Request\PosLink\PosLinkResponse; +use YooKassa\Request\PosLink\RecipientPosLinkRequest; +use YooKassa\Request\PosLink\RecipientPosLinkRequestInterface; +use YooKassa\Request\PosLink\RecipientPosLinkRequestSerializer; use YooKassa\Request\PersonalData\PersonalDataResponse; use YooKassa\Request\PersonalData\PersonalDataType\AbstractPersonalDataRequest; use YooKassa\Request\PersonalData\PersonalDataType\RecipientPersonalDataRequestFactory; @@ -135,7 +144,7 @@ class Client extends BaseClient /** * Текущая версия библиотеки. */ - public const SDK_VERSION = '3.14.0'; + public const SDK_VERSION = '3.15.0'; /** * Получить список платежей магазина. @@ -516,7 +525,7 @@ class Client extends BaseClient * Запрос позволяет получить информацию о текущем состоянии возврата по его уникальному идентификатору. * В ответ на запрос придет объект возврата {@link RefundResponse} в актуальном статусе. * - * @example 01-client.php 183 7 Получить информацию о возврате + * @example 01-client.php 193 7 Получить информацию о возврате * * @param string $refundId Идентификатор возврата * @@ -607,6 +616,8 @@ class Client extends BaseClient * Запрос позволяет отписаться от уведомлений о событии для переданного OAuth-токена. * Чтобы удалить webhook, вам нужно передать в запросе его идентификатор. * + * @example 01-client.php 202 36 Удаление Webhook + * * @param string $webhookId Идентификатор Webhook * @param null|string $idempotenceKey [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) * @@ -620,8 +631,6 @@ class Client extends BaseClient * @throws UnauthorizedException Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации * @throws ExtensionNotFoundException Требуемое PHP расширение не установлено * @throws Exception - *@example 01-client.php 202 36 Удаление Webhook - * */ public function removeWebhook(string $webhookId, ?string $idempotenceKey = null): ?Webhook { @@ -686,7 +695,7 @@ class Client extends BaseClient * Если результатов больше, чем задано в `limit`, список будет выводиться фрагментами. * В этом случае в ответе на запрос вернется фрагмент списка и параметр `next_cursor` с указателем на следующий фрагмент. * - * @example 01-client.php 240 24 Получить список чеков магазина с фильтрацией + * @example 01-client.php 266 22 Получить список чеков магазина с фильтрацией * * @param null|array|ReceiptsRequestInterface $filter Параметры фильтрации * @@ -782,7 +791,7 @@ class Client extends BaseClient * Запрос позволяет получить информацию о текущем состоянии чека по его уникальному идентификатору. * Выдает объект чека {@link ReceiptResponseInterface} в актуальном статусе. * - * @example 01-client.php 173 7 Получить информацию о чеке + * @example 01-client.php 183 7 Получить информацию о чеке * * @param string $receiptId Идентификатор чека * @@ -973,6 +982,245 @@ class Client extends BaseClient return $dealsResponse; } + /** + * Создание кассовой ссылки. + * + * Запрос позволяет создать кассовую ссылку для проведения платежа в офлайне. + * + * @param array|CreatePosLinkRequestInterface $posLinkData Данные для создания кассовой ссылки + * @param null|string $idempotenceKey [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) + * + * @return null|PosLinkInfo Объект ответа от API + * + * @throws ApiException Неожиданный код ошибки + * @throws BadApiRequestException Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API + * @throws ForbiddenException Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции + * @throws InternalServerError Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности + * @throws NotFoundException Ресурс не найден + * @throws ResponseProcessingException Запрос был принят на обработку, но она не завершена + * @throws TooManyRequestsException Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов + * @throws UnauthorizedException Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации + * @throws ExtensionNotFoundException Требуемое PHP расширение не установлено + *@example 01-client.php 644 18 Запрос на создание кассовой ссылки + * + */ + public function createPosLink(CreatePosLinkRequestInterface|array $posLinkData, ?string $idempotenceKey = null): ?PosLinkInfo + { + $path = self::POS_LINKS_PATH; + + $headers = [self::IDEMPOTENCE_KEY_HEADER => $idempotenceKey ?: UUID::v4()]; + $request = is_array($posLinkData) ? CreatePosLinkRequest::builder()->build($posLinkData) : $posLinkData; + + $serializer = new CreatePosLinkRequestSerializer(); + $serializedData = $serializer->serialize($request); + $httpBody = $this->encodeData($serializedData); + + $response = $this->execute($path, HttpVerb::POST, [], $httpBody, $headers); + + $posLinkResponse = null; + if (200 === $response->getCode()) { + $resultArray = $this->decodeData($response); + $posLinkResponse = new CreatePosLinkResponse($resultArray); + } else { + $this->handleError($response); + } + + return $posLinkResponse; + } + + /** + * Получить информацию о кассовой ссылке. + * + * Запрос позволяет получить информацию о кассовой ссылке по её уникальному идентификатору. + * + * @example 01-client.php 664 7 Получить информацию о кассовой ссылке + * + * @param string $posLinkId Идентификатор кассовой ссылки + * + * @return null|PosLinkInfo Объект ответа от API + * + * @throws ApiException Неожиданный код ошибки + * @throws BadApiRequestException Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API + * @throws ForbiddenException Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции + * @throws InternalServerError Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности + * @throws NotFoundException Ресурс не найден + * @throws ResponseProcessingException Запрос был принят на обработку, но она не завершена + * @throws TooManyRequestsException Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов + * @throws UnauthorizedException Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации + * @throws ExtensionNotFoundException Требуемое PHP расширение не установлено + */ + public function getPosLinkInfo(string $posLinkId): ?PosLinkInfo + { + if (!TypeCast::canCastToString($posLinkId)) { + throw new InvalidArgumentException('Invalid posLinkId value: string required'); + } + if (mb_strlen($posLinkId) < 36 || mb_strlen($posLinkId) > 50) { + throw new InvalidArgumentException('Invalid posLinkId value'); + } + + $path = self::POS_LINKS_PATH . '/' . $posLinkId; + + $response = $this->execute($path, HttpVerb::GET, []); + + $result = null; + if (200 === $response->getCode()) { + $resultArray = $this->decodeData($response); + $result = new PosLinkResponse($resultArray); + } else { + $this->handleError($response); + } + + return $result; + } + + /** + * Активировать кассовую ссылку. + * + * Запрос позволяет активировать кассовую ссылку, чтобы она стала доступна для приема платежей. + * + * @example 01-client.php 673 10 Активировать кассовую ссылку + * + * @param string $posLinkId Идентификатор кассовой ссылки + * @param null|string $idempotenceKey [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) + * + * @return null|PosLinkInfo Объект ответа от API + * + * @throws ApiException Неожиданный код ошибки + * @throws BadApiRequestException Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API + * @throws ForbiddenException Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции + * @throws InternalServerError Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности + * @throws NotFoundException Ресурс не найден + * @throws ResponseProcessingException Запрос был принят на обработку, но она не завершена + * @throws TooManyRequestsException Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов + * @throws UnauthorizedException Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации + * @throws ExtensionNotFoundException Требуемое PHP расширение не установлено + */ + public function activatePosLink(string $posLinkId, ?string $idempotenceKey = null): ?PosLinkInfo + { + if (!TypeCast::canCastToString($posLinkId)) { + throw new InvalidArgumentException('Invalid posLinkId value: string required'); + } + if (mb_strlen($posLinkId) < 36 || mb_strlen($posLinkId) > 50) { + throw new InvalidArgumentException('Invalid posLinkId value'); + } + + $path = self::POS_LINKS_PATH . '/' . $posLinkId . '/activate'; + $headers = [self::IDEMPOTENCE_KEY_HEADER => $idempotenceKey ?: UUID::v4()]; + + $response = $this->execute($path, HttpVerb::POST, [], null, $headers); + + $result = null; + if (200 === $response->getCode()) { + $resultArray = $this->decodeData($response); + $result = new PosLinkResponse($resultArray); + } else { + $this->handleError($response); + } + + return $result; + } + + /** + * Деактивировать кассовую ссылку. + * + * Запрос позволяет деактивировать кассовую ссылку, прием платежей по ней будет недоступен. + * + * @example 01-client.php 685 10 Деактивировать кассовую ссылку + * + * @param string $posLinkId Идентификатор кассовой ссылки + * @param null|string $idempotenceKey [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) + * + * @return null|PosLinkInfo Объект ответа от API + * + * @throws ApiException Неожиданный код ошибки + * @throws BadApiRequestException Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API + * @throws ForbiddenException Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции + * @throws InternalServerError Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности + * @throws NotFoundException Ресурс не найден + * @throws ResponseProcessingException Запрос был принят на обработку, но она не завершена + * @throws TooManyRequestsException Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов + * @throws UnauthorizedException Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации + * @throws ExtensionNotFoundException Требуемое PHP расширение не установлено + */ + public function deactivatePosLink(string $posLinkId, ?string $idempotenceKey = null): ?PosLinkInfo + { + if (!TypeCast::canCastToString($posLinkId)) { + throw new InvalidArgumentException('Invalid posLinkId value: string required'); + } + if (mb_strlen($posLinkId) < 36 || mb_strlen($posLinkId) > 50) { + throw new InvalidArgumentException('Invalid posLinkId value'); + } + + $path = self::POS_LINKS_PATH . '/' . $posLinkId . '/deactivate'; + $headers = [self::IDEMPOTENCE_KEY_HEADER => $idempotenceKey ?: UUID::v4()]; + + $response = $this->execute($path, HttpVerb::POST, [], null, $headers); + + $result = null; + if (200 === $response->getCode()) { + $resultArray = $this->decodeData($response); + $result = new PosLinkResponse($resultArray); + } else { + $this->handleError($response); + } + + return $result; + } + + /** + * Изменение торговой точки, привязанной к кассовой ссылке. + * + * Запрос позволяет привязать к кассовой ссылке другую торговую точку. + * + * @example 01-client.php 697 12 Привязать торговую точку к кассовой ссылке + * + * @param string $posLinkId Идентификатор кассовой ссылки + * @param array|RecipientPosLinkRequestInterface $recipientData Идентификатор торговой точки, которую вы хотите привязать к кассовой ссылке. + * @param null|string $idempotenceKey [Ключ идемпотентности](https://yookassa.ru/developers/using-api/basics?lang=php#idempotence) + * + * @return null|PosLinkInfo Объект ответа от API + * + * @throws ApiException Неожиданный код ошибки + * @throws BadApiRequestException Неправильный запрос. Чаще всего этот статус выдается из-за нарушения правил взаимодействия с API + * @throws ForbiddenException Секретный ключ или OAuth-токен верный, но не хватает прав для совершения операции + * @throws InternalServerError Технические неполадки на стороне ЮKassa. Результат обработки запроса неизвестен. Повторите запрос позднее с тем же ключом идемпотентности + * @throws NotFoundException Ресурс не найден + * @throws ResponseProcessingException Запрос был принят на обработку, но она не завершена + * @throws TooManyRequestsException Превышен лимит запросов в единицу времени. Попробуйте снизить интенсивность запросов + * @throws UnauthorizedException Неверное имя пользователя или пароль или невалидный OAuth-токен при аутентификации + * @throws ExtensionNotFoundException Требуемое PHP расширение не установлено + */ + public function recipientPosLink(string $posLinkId, array|RecipientPosLinkRequestInterface $recipientData, ?string $idempotenceKey = null): ?PosLinkInfo + { + if (!TypeCast::canCastToString($posLinkId)) { + throw new InvalidArgumentException('Invalid posLinkId value: string required'); + } + if (mb_strlen($posLinkId) < 36 || mb_strlen($posLinkId) > 50) { + throw new InvalidArgumentException('Invalid posLinkId value'); + } + + $path = self::POS_LINKS_PATH . '/' . $posLinkId . '/recipient'; + + $headers = [self::IDEMPOTENCE_KEY_HEADER => $idempotenceKey ?: UUID::v4()]; + $request = is_array($recipientData) ? RecipientPosLinkRequest::builder()->build($recipientData) : $recipientData; + + $serializer = new RecipientPosLinkRequestSerializer(); + $serializedData = $serializer->serialize($request); + $httpBody = $this->encodeData($serializedData); + + $response = $this->execute($path, HttpVerb::POST, [], $httpBody, $headers); + + $result = null; + if (200 === $response->getCode()) { + $resultArray = $this->decodeData($response); + $result = new PosLinkResponse($resultArray); + } else { + $this->handleError($response); + } + + return $result; + } + /** * Создание выплаты. * diff --git a/lib/Client/BaseClient.php b/lib/Client/BaseClient.php index a54b9cf1..1d85080d 100644 --- a/lib/Client/BaseClient.php +++ b/lib/Client/BaseClient.php @@ -95,6 +95,9 @@ class BaseClient /** Точка входа для запросов к API по способам оплаты */ public const PAYMENT_METHODS_PATH = '/payment_methods'; + /** Точка входа для запросов к API по кассовым ссылкам */ + public const POS_LINKS_PATH = '/pos_links'; + /** Имя HTTP заголовка, используемого для передачи idempotence key */ public const IDEMPOTENCE_KEY_HEADER = 'Idempotence-Key'; diff --git a/lib/Model/Payment/CancellationDetailsReasonCode.php b/lib/Model/Payment/CancellationDetailsReasonCode.php index 74f4aff0..16d5b937 100644 --- a/lib/Model/Payment/CancellationDetailsReasonCode.php +++ b/lib/Model/Payment/CancellationDetailsReasonCode.php @@ -124,6 +124,15 @@ class CancellationDetailsReasonCode extends AbstractEnum /** Отклонено по таймауту */ public const REJECTED_BY_TIMEOUT = 'rejected_by_timeout'; + /** Организация, предоставляющая кредит или рассрочку, отказала в выдаче. При новой попытке оплаты пользователю следует выбрать другое платежное средство */ + public const LOAN_DECLINED = 'loan_declined'; + + /** Покупатель отказался от кредитной сделки */ + public const LOAN_DECLINED_BY_PAYER = 'loan_declined_by_payer'; + + /** Истек срок действия заявки на кредит */ + public const LOAN_APPLICATION_EXPIRED = 'loan_application_expired'; + protected static array $validValues = [ self::THREE_D_SECURE_FAILED => true, self::CALL_ISSUER => true, @@ -146,5 +155,8 @@ class CancellationDetailsReasonCode extends AbstractEnum self::DEAL_EXPIRED => true, self::UNSUPPORTED_MOBILE_OPERATOR => true, self::REJECTED_BY_TIMEOUT => true, + self::LOAN_DECLINED => true, + self::LOAN_DECLINED_BY_PAYER => true, + self::LOAN_APPLICATION_EXPIRED => true, ]; } diff --git a/lib/Model/PosLink/PosLinkInfo.php b/lib/Model/PosLink/PosLinkInfo.php new file mode 100644 index 00000000..4564a4b1 --- /dev/null +++ b/lib/Model/PosLink/PosLinkInfo.php @@ -0,0 +1,206 @@ +_id; + } + + /** + * Устанавливает идентификатор кассовой ссылки в ЮKassa. + * + * @param string|null $id Идентификатор кассовой ссылки в ЮKassa + * + * @return self + */ + public function setId(?string $id = null): self + { + $this->_id = $this->validatePropertyValue('_id', $id); + return $this; + } + + /** + * Возвращает статус кассовой ссылки. + * + * @return string|null Статус кассовой ссылки + */ + public function getStatus(): ?string + { + return $this->_status; + } + + /** + * Устанавливает статус кассовой ссылки. + * + * @param string|null $status Статус кассовой ссылки + * + * @return self + */ + public function setStatus(?string $status = null): self + { + $this->_status = $this->validatePropertyValue('_status', $status); + return $this; + } + + /** + * Возвращает тип кассовой ссылки. + * + * @return string|null Тип кассовой ссылки + */ + public function getType(): ?string + { + return $this->_type; + } + + /** + * Устанавливает тип кассовой ссылки. + * + * @param string|null $type Тип кассовой ссылки + * + * @return self + */ + public function setType(?string $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } + + /** + * Возвращает получателя платежа по кассовой ссылке. + * + * @return PosLinkRecipient|null Получатель платежа по кассовой ссылке + */ + public function getRecipient(): ?PosLinkRecipient + { + return $this->_recipient; + } + + /** + * Устанавливает получателя платежа по кассовой ссылке. + * + * @param PosLinkRecipient|array|null $recipient Получатель платежа по кассовой ссылке + * + * @return self + */ + public function setRecipient(mixed $recipient = null): self + { + $this->_recipient = $this->validatePropertyValue('_recipient', $recipient); + return $this; + } + + /** + * Возвращает данные о последнем платеже по кассовой ссылке. + * + * @return PosLinkLastPayment|null Данные о последнем платеже по кассовой ссылке + */ + public function getPayment(): ?PosLinkLastPayment + { + return $this->_payment; + } + + /** + * Устанавливает данные о последнем платеже по кассовой ссылке. + * + * @param PosLinkLastPayment|array|null $payment Данные о последнем платеже по кассовой ссылке + * + * @return self + */ + public function setPayment(mixed $payment = null): self + { + $this->_payment = $this->validatePropertyValue('_payment', $payment); + return $this; + } +} diff --git a/lib/Model/PosLink/PosLinkLastPayment.php b/lib/Model/PosLink/PosLinkLastPayment.php new file mode 100644 index 00000000..1d0db59d --- /dev/null +++ b/lib/Model/PosLink/PosLinkLastPayment.php @@ -0,0 +1,112 @@ +_id; + } + + /** + * Устанавливает идентификатор платежа в ЮKassa. + * + * @param string|null $id Идентификатор платежа в ЮKassa + * + * @return self + */ + public function setId(?string $id = null): self + { + $this->_id = $this->validatePropertyValue('_id', $id); + return $this; + } + + /** + * Возвращает состояние платежа. + * + * @return string|null Текущее состояние платежа + */ + public function getStatus(): ?string + { + return $this->_status; + } + + /** + * Устанавливает состояние платежа. + * + * @param string|null $status Текущее состояние платежа + * + * @return self + */ + public function setStatus(?string $status = null): self + { + $this->_status = $this->validatePropertyValue('_status', $status); + return $this; + } +} diff --git a/lib/Model/PosLink/PosLinkPayment.php b/lib/Model/PosLink/PosLinkPayment.php new file mode 100644 index 00000000..deafe011 --- /dev/null +++ b/lib/Model/PosLink/PosLinkPayment.php @@ -0,0 +1,115 @@ +_id; + } + + /** + * Устанавливает идентификатор кассовой ссылки в ЮKassa. + * + * @param string|null $id Идентификатор кассовой ссылки в ЮKassa + * + * @return self + */ + public function setId(?string $id = null): self + { + $this->_id = $this->validatePropertyValue('_id', $id); + return $this; + } + + /** + * Возвращает срок действия оплаты. + * + * @return DateTime|null Срок действия оплаты + */ + public function getExpiresAt(): ?DateTime + { + return $this->_expires_at; + } + + /** + * Устанавливает срок действия оплаты. + * + * @param DateTime|string|null $expires_at Срок действия оплаты + * + * @return self + */ + public function setExpiresAt(DateTime|string|null $expires_at = null): self + { + $this->_expires_at = $this->validatePropertyValue('_expires_at', $expires_at); + return $this; + } +} diff --git a/lib/Model/PosLink/PosLinkRecipient.php b/lib/Model/PosLink/PosLinkRecipient.php new file mode 100644 index 00000000..7cf88f89 --- /dev/null +++ b/lib/Model/PosLink/PosLinkRecipient.php @@ -0,0 +1,78 @@ +_gateway_id; + } + + /** + * Устанавливает идентификатор субаккаунта. + * + * @param string|null $gateway_id Идентификатор субаккаунта + * + * @return self + */ + public function setGatewayId(?string $gateway_id = null): self + { + $this->_gateway_id = $this->validatePropertyValue('_gateway_id', $gateway_id); + return $this; + } +} diff --git a/lib/Model/PosLink/PosLinkStatus.php b/lib/Model/PosLink/PosLinkStatus.php new file mode 100644 index 00000000..bb9ed544 --- /dev/null +++ b/lib/Model/PosLink/PosLinkStatus.php @@ -0,0 +1,62 @@ + true, + self::INACTIVE => true, + ]; +} diff --git a/lib/Model/PosLink/PosLinkType.php b/lib/Model/PosLink/PosLinkType.php new file mode 100644 index 00000000..e1507399 --- /dev/null +++ b/lib/Model/PosLink/PosLinkType.php @@ -0,0 +1,56 @@ + true, + ]; +} diff --git a/lib/Model/SavePaymentMethod/AbstractSavePaymentMethod.php b/lib/Model/SavePaymentMethod/AbstractSavePaymentMethod.php index 19067950..3690a2b2 100644 --- a/lib/Model/SavePaymentMethod/AbstractSavePaymentMethod.php +++ b/lib/Model/SavePaymentMethod/AbstractSavePaymentMethod.php @@ -27,6 +27,7 @@ namespace YooKassa\Model\SavePaymentMethod; use YooKassa\Common\AbstractObject; +use YooKassa\Model\Metadata; use YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation; use YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationFactory; use YooKassa\Validator\Constraints as Assert; @@ -48,6 +49,7 @@ use YooKassa\Validator\Constraints as Assert; * @property SavePaymentMethodHolder $holder Данные магазина, для которого сохраняется способ оплаты. * @property string $title Название способа оплаты. * @property AbstractConfirmation $confirmation Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. + * @property Metadata $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. */ abstract class AbstractSavePaymentMethod extends AbstractObject implements SavePaymentMethodInterface { @@ -115,6 +117,15 @@ abstract class AbstractSavePaymentMethod extends AbstractObject implements SaveP #[Assert\Type(AbstractConfirmation::class)] protected ?AbstractConfirmation $_confirmation = null; + /** + * Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + * + * @var Metadata|null + */ + #[Assert\AllType('string')] + #[Assert\Type(Metadata::class)] + protected ?Metadata $_metadata = null; + /** * Возвращает type. * @@ -278,5 +289,28 @@ abstract class AbstractSavePaymentMethod extends AbstractObject implements SaveP $this->_confirmation = $this->validatePropertyValue('_confirmation', $confirmation); return $this; } + + /** + * Возвращает metadata. + * + * @return Metadata|null + */ + public function getMetadata(): ?Metadata + { + return $this->_metadata; + } + + /** + * Устанавливает metadata. + * + * @param Metadata|array|null $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + * + * @return self + */ + public function setMetadata(mixed $metadata = null): self + { + $this->_metadata = $this->validatePropertyValue('_metadata', $metadata); + return $this; + } } diff --git a/lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php b/lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php index d41703fa..e4751391 100644 --- a/lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php +++ b/lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php @@ -26,6 +26,7 @@ namespace YooKassa\Model\SavePaymentMethod; +use YooKassa\Model\Metadata; use YooKassa\Model\Payment\PaymentMethod\BankCard; use YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation; @@ -46,6 +47,7 @@ use YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation; * @property SavePaymentMethodHolder $holder Данные магазина, для которого сохраняется способ оплаты. * @property string $title Название способа оплаты. * @property AbstractConfirmation $confirmation Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. + * @property Metadata $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. */ interface SavePaymentMethodInterface { @@ -97,4 +99,11 @@ interface SavePaymentMethodInterface * @return AbstractConfirmation|null */ public function getConfirmation(): ?AbstractConfirmation; + + /** + * Возвращает metadata. + * + * @return Metadata|null + */ + public function getMetadata(): ?Metadata; } diff --git a/lib/Request/PaymentMethods/CreatePaymentMethodRequest.php b/lib/Request/PaymentMethods/CreatePaymentMethodRequest.php index 96f6ca9d..9a152cc2 100644 --- a/lib/Request/PaymentMethods/CreatePaymentMethodRequest.php +++ b/lib/Request/PaymentMethods/CreatePaymentMethodRequest.php @@ -27,6 +27,7 @@ namespace YooKassa\Request\PaymentMethods; use YooKassa\Common\AbstractRequest; +use YooKassa\Model\Metadata; use YooKassa\Model\SavePaymentMethod\SavePaymentMethodType; use YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation; use YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationFactory; @@ -48,6 +49,7 @@ use YooKassa\Validator\Constraints as Assert; * @property string $client_ip IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. * @property string $clientIp IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. * @property AbstractConfirmation $confirmation Данные, необходимые для инициирования сценария подтверждения привязки. + * @property Metadata $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. */ class CreatePaymentMethodRequest extends AbstractRequest implements CreatePaymentMethodRequestInterface { @@ -94,6 +96,14 @@ class CreatePaymentMethodRequest extends AbstractRequest implements CreatePaymen #[Assert\Type(AbstractConfirmation::class)] private ?AbstractConfirmation $_confirmation = null; + /** + * Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + * + * @var Metadata|null + */ + #[Assert\Type(Metadata::class)] + private ?Metadata $_metadata = null; + /** * Возвращает type. * @@ -222,6 +232,39 @@ class CreatePaymentMethodRequest extends AbstractRequest implements CreatePaymen return $this; } + /** + * Возвращает metadata. + * + * @return Metadata|null + */ + public function getMetadata(): ?Metadata + { + return $this->_metadata; + } + + /** + * Проверяет, были ли установлены метаданные. + * + * @return bool True если метаданные были установлены, false если нет + */ + public function hasMetadata(): bool + { + return !empty($this->_metadata) && $this->_metadata->count() > 0; + } + + /** + * Устанавливает metadata. + * + * @param Metadata|array|null $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + * + * @return self + */ + public function setMetadata(mixed $metadata): self + { + $this->_metadata = $this->validatePropertyValue('_metadata', $metadata); + return $this; + } + /** * Валидирует текущий запрос, проверяет все ли нужные свойства установлены. * diff --git a/lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php b/lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php index 4380e234..4abedb4f 100644 --- a/lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php +++ b/lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php @@ -28,6 +28,7 @@ namespace YooKassa\Request\PaymentMethods; use YooKassa\Common\AbstractRequestBuilder; use YooKassa\Common\AbstractRequestInterface; +use YooKassa\Model\Metadata; use YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation; /** @@ -121,6 +122,20 @@ class CreatePaymentMethodRequestBuilder extends AbstractRequestBuilder return $this; } + /** + * Устанавливает metadata. + * + * @param Metadata|array|null $value Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + * + * @return self + */ + public function setMetadata(mixed $value = null): CreatePaymentMethodRequestBuilder + { + $this->currentObject->setMetadata($value); + + return $this; + } + /** * Строит и возвращает объект запроса для отправки в API ЮKassa. * diff --git a/lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php b/lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php index 77204e60..0df0d936 100644 --- a/lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php +++ b/lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php @@ -26,6 +26,7 @@ namespace YooKassa\Request\PaymentMethods; use YooKassa\Common\AbstractRequestInterface; +use YooKassa\Model\Metadata; use YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation; /** @@ -44,6 +45,7 @@ use YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation; * @property string $client_ip IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. * @property string $clientIp IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. * @property AbstractConfirmation $confirmation Данные, необходимые для инициирования сценария подтверждения привязки. + * @property Metadata $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. Ограничения: максимум 16 ключей, имя ключа не больше 32 символов, значение ключа не больше 512 символов, тип данных — строка в формате UTF-8. */ interface CreatePaymentMethodRequestInterface extends AbstractRequestInterface { @@ -126,4 +128,27 @@ interface CreatePaymentMethodRequestInterface extends AbstractRequestInterface * @return CreatePaymentMethodRequest */ public function setConfirmation(mixed $confirmation = null): CreatePaymentMethodRequest; + + /** + * Возвращает metadata. + * + * @return Metadata|null + */ + public function getMetadata(): ?Metadata; + + /** + * Проверяет, были ли установлены метаданные. + * + * @return bool True если метаданные были установлены, false если нет + */ + public function hasMetadata(): bool; + + /** + * Устанавливает metadata. + * + * @param Metadata|array|null $metadata Любые дополнительные данные, которые нужны вам для работы (например, ваш внутренний идентификатор заказа). Передаются в виде набора пар «ключ-значение» и возвращаются в ответе от ЮKassa. + * + * @return CreatePaymentMethodRequest + */ + public function setMetadata(mixed $metadata): CreatePaymentMethodRequest; } diff --git a/lib/Request/Payments/CreatePaymentRequest.php b/lib/Request/Payments/CreatePaymentRequest.php index 51b9abb2..c9835c01 100644 --- a/lib/Request/Payments/CreatePaymentRequest.php +++ b/lib/Request/Payments/CreatePaymentRequest.php @@ -35,6 +35,7 @@ use YooKassa\Model\AmountInterface; use YooKassa\Model\Deal\PaymentDealInfo; use YooKassa\Model\Metadata; use YooKassa\Model\Payment\Payment; +use YooKassa\Model\PosLink\PosLinkPayment; use YooKassa\Model\Receipt\ReceiptInterface; use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttributes; use YooKassa\Request\Payments\ConfirmationAttributes\ConfirmationAttributesFactory; @@ -84,6 +85,8 @@ use YooKassa\Validator\Exceptions\ValidatorParameterException; * @property AbstractPaymentOrder $payment_order Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. Необходимо передавать при [оплате ЖКУ](/developers/payment-acceptance/scenario-extensions/utility-payments). * @property AbstractReceiver|null $receiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона * @property AbstractStatement[]|ListObjectInterface $statements Данные для отправки справки. Необходимо передавать, если вы хотите, чтобы после оплаты пользователь получил справку. Сейчас доступен один тип справок — квитанция по платежу. Это информация об успешном платеже, которую ЮKassa отправляет на электронную почту пользователя. Квитанцию можно отправить, если оплата прошла с банковской карты, через SberPay или СБП. Отправка квитанции доступна во всех сценариях интеграции. + * @property PosLinkPayment $posLink Данные о кассовой ссылке для проведения платежа в офлайне + * @property PosLinkPayment $pos_link Данные о кассовой ссылке для проведения платежа в офлайне */ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePaymentRequestInterface { @@ -211,6 +214,15 @@ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePayme #[Assert\Type(ListObject::class)] private ?ListObject $_statements = null; + /** + * Данные о кассовой ссылке для проведения платежа в офлайне. + * + * @var PosLinkPayment|null + */ + #[Assert\Valid] + #[Assert\Type(PosLinkPayment::class)] + private ?PosLinkPayment $_pos_link = null; + /** * Возвращает описание транзакции * @return string|null @@ -772,6 +784,29 @@ class CreatePaymentRequest extends AbstractPaymentRequest implements CreatePayme return $this; } + /** + * Возвращает данные о кассовой ссылке для проведения платежа в офлайне. + * + * @return PosLinkPayment|null Данные о кассовой ссылке + */ + public function getPosLink(): ?PosLinkPayment + { + return $this->_pos_link; + } + + /** + * Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. + * + * @param PosLinkPayment|array|null $pos_link Данные о кассовой ссылке + * + * @return self + */ + public function setPosLink(mixed $pos_link = null): self + { + $this->_pos_link = $this->validatePropertyValue('_pos_link', $pos_link); + return $this; + } + /** * Проверяет на валидность текущий объект * diff --git a/lib/Request/Payments/CreatePaymentRequestBuilder.php b/lib/Request/Payments/CreatePaymentRequestBuilder.php index 10f11ef4..0524a54a 100644 --- a/lib/Request/Payments/CreatePaymentRequestBuilder.php +++ b/lib/Request/Payments/CreatePaymentRequestBuilder.php @@ -34,6 +34,7 @@ use YooKassa\Common\Exceptions\InvalidPropertyValueTypeException; use YooKassa\Common\ListObject; use YooKassa\Model\Deal\PaymentDealInfo; use YooKassa\Model\Metadata; +use YooKassa\Model\PosLink\PosLinkPayment; use YooKassa\Model\Receipt\IndustryDetails; use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttributes; use YooKassa\Request\Payments\ConfirmationAttributes\ConfirmationAttributesFactory; @@ -424,6 +425,20 @@ class CreatePaymentRequestBuilder extends AbstractPaymentRequestBuilder return $this; } + /** + * Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. + * + * @param PosLinkPayment|array|null $value Данные о кассовой ссылке + * + * @return CreatePaymentRequestBuilder Инстанс текущего билдера + */ + public function setPosLink(mixed $value): CreatePaymentRequestBuilder + { + $this->currentObject->setPosLink($value); + + return $this; + } + /** * Строит и возвращает объект запроса для отправки в API ЮKassa. * diff --git a/lib/Request/Payments/CreatePaymentRequestInterface.php b/lib/Request/Payments/CreatePaymentRequestInterface.php index e0ff1395..d43de7fc 100644 --- a/lib/Request/Payments/CreatePaymentRequestInterface.php +++ b/lib/Request/Payments/CreatePaymentRequestInterface.php @@ -33,6 +33,7 @@ use YooKassa\Model\Deal\PaymentDealInfo; use YooKassa\Model\Metadata; use YooKassa\Model\Payment\RecipientInterface; use YooKassa\Model\Payment\TransferInterface; +use YooKassa\Model\PosLink\PosLinkPayment; use YooKassa\Model\Receipt\ReceiptInterface; use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttributes; use YooKassa\Request\Payments\PaymentData\AbstractPaymentData; @@ -68,6 +69,8 @@ use YooKassa\Request\Payments\ReceiverData\AbstractReceiver; * @property string $merchantCustomerId Идентификатор покупателя в вашей системе, например электронная почта или номер телефона * @property string $merchant_customer_id Идентификатор покупателя в вашей системе, например электронная почта или номер телефона * @property AbstractReceiver|null $receiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона + * @property PosLinkPayment $posLink Данные о кассовой ссылке для проведения платежа в офлайне + * @property PosLinkPayment $pos_link Данные о кассовой ссылке для проведения платежа в офлайне */ interface CreatePaymentRequestInterface { @@ -427,4 +430,18 @@ interface CreatePaymentRequestInterface * @param null|array|AbstractReceiver $receiver Реквизиты получателя оплаты при пополнении электронного кошелька, банковского счета или баланса телефона. */ public function setReceiver(mixed $receiver): self; + + /** + * Возвращает данные о кассовой ссылке для проведения платежа в офлайне. + * + * @return PosLinkPayment|null Данные о кассовой ссылке + */ + public function getPosLink(): ?PosLinkPayment; + + /** + * Устанавливает данные о кассовой ссылке для проведения платежа в офлайне. + * + * @param PosLinkPayment|array|null $pos_link Данные о кассовой ссылке + */ + public function setPosLink(mixed $pos_link = null): self; } diff --git a/lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php b/lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php index f1a50e3d..5ec15267 100644 --- a/lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php +++ b/lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php @@ -117,9 +117,9 @@ class PaymentOrderUtilities extends AbstractPaymentOrder * @var string|null */ #[Assert\Type('string')] - #[Assert\Length(max: 8)] + #[Assert\Length(max: 11)] #[Assert\Length(min: 1)] - #[Assert\Regex("/^(\d{8})|(0)$/")] + #[Assert\Regex("/^(\d{11})|(\d{8})|(0)$/")] private ?string $_oktmo = null; /** diff --git a/lib/Request/PosLink/CreatePosLinkRequest.php b/lib/Request/PosLink/CreatePosLinkRequest.php new file mode 100644 index 00000000..ee58d3d2 --- /dev/null +++ b/lib/Request/PosLink/CreatePosLinkRequest.php @@ -0,0 +1,141 @@ +_recipient; + } + + /** + * Устанавливает получателя платежа по кассовой ссылке. + * + * @param PosLinkRecipient|array|null $recipient Получатель платежа по кассовой ссылке + * + * @return self + */ + public function setRecipient(mixed $recipient = null): self + { + $this->_recipient = $this->validatePropertyValue('_recipient', $recipient); + return $this; + } + + /** + * Возвращает данные кассовой ссылки. + * + * @return PosLinkData|null Данные кассовой ссылки + */ + public function getPosLinkData(): ?PosLinkData + { + return $this->_pos_link_data; + } + + /** + * Устанавливает данные кассовой ссылки. + * + * @param PosLinkData|array|null $pos_link_data Данные кассовой ссылки + * + * @return self + */ + public function setPosLinkData(mixed $pos_link_data = null): self + { + $this->_pos_link_data = $this->validatePropertyValue('_pos_link_data', $pos_link_data); + return $this; + } + + /** + * Проверяет на валидность текущий объект. + * + * @return bool True если объект запроса валиден, false если нет + */ + public function validate(): bool + { + if (null === $this->_recipient) { + $this->setValidationError('Recipient field is required'); + + return false; + } + if (null === $this->_pos_link_data) { + $this->setValidationError('PosLinkData field is required'); + + return false; + } + + return true; + } + + /** + * Возвращает билдер объектов запросов на создание кассовой ссылки. + * + * @return CreatePosLinkRequestBuilder Инстанс билдера объектов запросов + */ + public static function builder(): CreatePosLinkRequestBuilder + { + return new CreatePosLinkRequestBuilder(); + } +} diff --git a/lib/Request/PosLink/CreatePosLinkRequestBuilder.php b/lib/Request/PosLink/CreatePosLinkRequestBuilder.php new file mode 100644 index 00000000..14adf0c8 --- /dev/null +++ b/lib/Request/PosLink/CreatePosLinkRequestBuilder.php @@ -0,0 +1,100 @@ +currentObject->setRecipient($value); + + return $this; + } + + /** + * Устанавливает данные кассовой ссылки. + * + * @param mixed $value Данные кассовой ссылки + * + * @return CreatePosLinkRequestBuilder Инстанс текущего билдера + */ + public function setPosLinkData(mixed $value): CreatePosLinkRequestBuilder + { + $this->currentObject->setPosLinkData($value); + + return $this; + } + + /** + * Осуществляет сборку объекта запроса к API. + * + * @param array|null $options + * + * @return CreatePosLinkRequestInterface|AbstractRequestInterface + */ + public function build(?array $options = null): AbstractRequestInterface + { + return parent::build($options); + } + + /** + * Инициализирует объект запроса, который в дальнейшем будет собираться билдером. + * + * @return CreatePosLinkRequest Инстанс собираемого объекта запроса к API + */ + protected function initCurrentObject(): CreatePosLinkRequest + { + return new CreatePosLinkRequest(); + } +} diff --git a/lib/Request/PosLink/CreatePosLinkRequestInterface.php b/lib/Request/PosLink/CreatePosLinkRequestInterface.php new file mode 100644 index 00000000..8053b663 --- /dev/null +++ b/lib/Request/PosLink/CreatePosLinkRequestInterface.php @@ -0,0 +1,76 @@ +toArray(); + } +} diff --git a/lib/Request/PosLink/CreatePosLinkResponse.php b/lib/Request/PosLink/CreatePosLinkResponse.php new file mode 100644 index 00000000..c030fe8a --- /dev/null +++ b/lib/Request/PosLink/CreatePosLinkResponse.php @@ -0,0 +1,43 @@ +_link; + } + + /** + * Устанавливает кассовую ссылку с платежной таблички. + * + * @param string|null $link Кассовая ссылка с платежной таблички + * + * @return self + */ + public function setLink(?string $link = null): self + { + $this->_link = $this->validatePropertyValue('_link', $link); + return $this; + } +} diff --git a/lib/Request/PosLink/PosLinkResponse.php b/lib/Request/PosLink/PosLinkResponse.php new file mode 100644 index 00000000..6af4619b --- /dev/null +++ b/lib/Request/PosLink/PosLinkResponse.php @@ -0,0 +1,43 @@ +_recipient; + } + + /** + * Устанавливает получателя платежа по кассовой ссылке. + * + * @param PosLinkRecipient|array|null $recipient Получатель платежа по кассовой ссылке + * + * @return self + */ + public function setRecipient(mixed $recipient = null): self + { + $this->_recipient = $this->validatePropertyValue('_recipient', $recipient); + return $this; + } + + /** + * Проверяет на валидность текущий объект. + * + * @return bool True если объект запроса валиден, false если нет + */ + public function validate(): bool + { + if (null === $this->_recipient) { + $this->setValidationError('Recipient field is required'); + + return false; + } + + return true; + } + + /** + * Возвращает билдер объектов запросов на привязку получателя к кассовой ссылке. + * + * @return RecipientPosLinkRequestBuilder Инстанс билдера объектов запросов + */ + public static function builder(): RecipientPosLinkRequestBuilder + { + return new RecipientPosLinkRequestBuilder(); + } +} \ No newline at end of file diff --git a/lib/Request/PosLink/RecipientPosLinkRequestBuilder.php b/lib/Request/PosLink/RecipientPosLinkRequestBuilder.php new file mode 100644 index 00000000..f98fd42f --- /dev/null +++ b/lib/Request/PosLink/RecipientPosLinkRequestBuilder.php @@ -0,0 +1,86 @@ +currentObject->setRecipient($value); + + return $this; + } + + /** + * Осуществляет сборку объекта запроса к API. + * + * @param array|null $options + * + * @return RecipientPosLinkRequestInterface|AbstractRequestInterface + */ + public function build(?array $options = null): AbstractRequestInterface + { + return parent::build($options); + } + + /** + * Инициализирует объект запроса, который в дальнейшем будет собираться билдером. + * + * @return RecipientPosLinkRequest Инстанс собираемого объекта запроса к API + */ + protected function initCurrentObject(): RecipientPosLinkRequest + { + return new RecipientPosLinkRequest(); + } +} \ No newline at end of file diff --git a/lib/Request/PosLink/RecipientPosLinkRequestInterface.php b/lib/Request/PosLink/RecipientPosLinkRequestInterface.php new file mode 100644 index 00000000..86fd2213 --- /dev/null +++ b/lib/Request/PosLink/RecipientPosLinkRequestInterface.php @@ -0,0 +1,58 @@ +toArray(); + } +} \ No newline at end of file diff --git a/phpdoc.xml b/phpdoc.xml index 5604901d..05b5d83c 100644 --- a/phpdoc.xml +++ b/phpdoc.xml @@ -9,7 +9,7 @@ .phpdoc - + latest diff --git a/tests/Client/ClientTest.php b/tests/Client/ClientTest.php index 26e45df5..f57d0a26 100644 --- a/tests/Client/ClientTest.php +++ b/tests/Client/ClientTest.php @@ -76,6 +76,8 @@ use YooKassa\Request\Deals\DealsResponse; use YooKassa\Request\Invoices\CreateInvoiceRequest; use YooKassa\Request\Invoices\InvoiceResponse; use YooKassa\Request\Invoices\PaymentData; +use YooKassa\Request\PosLink\CreatePosLinkResponse; +use YooKassa\Request\PosLink\PosLinkResponse; use YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect; use YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest; use YooKassa\Request\PaymentMethods\PaymentMethodCard; @@ -1569,6 +1571,238 @@ class ClientTest extends TestCase } } + /** + * @throws ApiException + * @throws ResponseProcessingException + * @throws BadApiRequestException + * @throws ForbiddenException + * @throws InternalServerError + * @throws NotFoundException + * @throws TooManyRequestsException + * @throws UnauthorizedException + * @throws ExtensionNotFoundException + */ + public function testCreatePosLink(): void + { + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects($this->once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('createPosLinkFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->createPosLink([ + 'recipient' => ['gateway_id' => '123456'], + 'pos_link_data' => ['link' => Random::str(20)], + ]) + ; + + self::assertSame($curlClientStub, $apiClient->getApiClient()); + self::assertInstanceOf(CreatePosLinkResponse::class, $response); + } + + /** + * @dataProvider posLinkIdDataProvider + * + * @throws ApiException + * @throws ResponseProcessingException + * @throws BadApiRequestException + * @throws ForbiddenException + * @throws InternalServerError + * @throws NotFoundException + * @throws TooManyRequestsException + * @throws UnauthorizedException + * @throws ExtensionNotFoundException + */ + public function testGetPosLinkInfo(mixed $posLinkId, ?string $exceptionClassName = null): void + { + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects(null !== $exceptionClassName ? self::never() : self::once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('createPosLinkFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + if (null === $exceptionClassName) { + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->getPosLinkInfo($posLinkId) + ; + self::assertInstanceOf(PosLinkResponse::class, $response); + } else { + $this->expectException($exceptionClassName); + $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->getPosLinkInfo($posLinkId) + ; + } + } + + /** + * @dataProvider posLinkIdDataProvider + * + * @throws ApiException + * @throws ResponseProcessingException + * @throws BadApiRequestException + * @throws ForbiddenException + * @throws InternalServerError + * @throws NotFoundException + * @throws TooManyRequestsException + * @throws UnauthorizedException + * @throws ExtensionNotFoundException + */ + public function testActivatePosLink(mixed $posLinkId, ?string $exceptionClassName = null): void + { + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects(null !== $exceptionClassName ? self::never() : self::once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('createPosLinkFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + if (null === $exceptionClassName) { + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->activatePosLink($posLinkId) + ; + self::assertInstanceOf(PosLinkResponse::class, $response); + } else { + $this->expectException($exceptionClassName); + $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->activatePosLink($posLinkId) + ; + } + } + + /** + * @dataProvider posLinkIdDataProvider + * + * @throws ApiException + * @throws ResponseProcessingException + * @throws BadApiRequestException + * @throws ForbiddenException + * @throws InternalServerError + * @throws NotFoundException + * @throws TooManyRequestsException + * @throws UnauthorizedException + * @throws ExtensionNotFoundException + */ + public function testDeactivatePosLink(mixed $posLinkId, ?string $exceptionClassName = null): void + { + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects(null !== $exceptionClassName ? self::never() : self::once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('createPosLinkFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + if (null === $exceptionClassName) { + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->deactivatePosLink($posLinkId) + ; + self::assertInstanceOf(PosLinkResponse::class, $response); + } else { + $this->expectException($exceptionClassName); + $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->deactivatePosLink($posLinkId) + ; + } + } + + /** + * @dataProvider posLinkIdDataProvider + * + * @throws ApiException + * @throws ResponseProcessingException + * @throws BadApiRequestException + * @throws ForbiddenException + * @throws InternalServerError + * @throws NotFoundException + * @throws TooManyRequestsException + * @throws UnauthorizedException + * @throws ExtensionNotFoundException + */ + public function testRecipientPosLink(mixed $posLinkId, ?string $exceptionClassName = null): void + { + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects(null !== $exceptionClassName ? self::never() : self::once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('createPosLinkFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + if (null === $exceptionClassName) { + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->recipientPosLink($posLinkId, ['recipient' => ['gateway_id' => '123456']]) + ; + self::assertInstanceOf(PosLinkResponse::class, $response); + } else { + $this->expectException($exceptionClassName); + $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->recipientPosLink($posLinkId, ['recipient' => ['gateway_id' => '123456']]) + ; + } + } + + /** + * @return array[] + */ + public function posLinkIdDataProvider(): array + { + return [ + [Random::str(36, '0123456789')], + [new StringObject(Random::str(36, '0123456789'))], + [true, InvalidArgumentException::class], + [false, InvalidArgumentException::class], + [0, InvalidArgumentException::class], + [1, InvalidArgumentException::class], + [0.1, InvalidArgumentException::class], + [Random::str(35), InvalidArgumentException::class], + [Random::str(51), InvalidArgumentException::class], + ]; + } + /** * @dataProvider dealInfoDataProvider * diff --git a/tests/Client/fixtures/createPaymentMethodFixtures.json b/tests/Client/fixtures/createPaymentMethodFixtures.json index 6e960e3a..524ed72c 100644 --- a/tests/Client/fixtures/createPaymentMethodFixtures.json +++ b/tests/Client/fixtures/createPaymentMethodFixtures.json @@ -10,5 +10,8 @@ "confirmation": { "type": "redirect", "confirmation_url": "https://yoomoney.ru/checkout/payment-methods/v1/contract?orderId=2f244b8d-0037-5000-8000-0122855e68fc" + }, + "metadata": { + "order_id": "100500" } } diff --git a/tests/Client/fixtures/createPaymentMethodSbpFixtures.json b/tests/Client/fixtures/createPaymentMethodSbpFixtures.json index 946d33e7..41e27358 100644 --- a/tests/Client/fixtures/createPaymentMethodSbpFixtures.json +++ b/tests/Client/fixtures/createPaymentMethodSbpFixtures.json @@ -10,5 +10,8 @@ "confirmation": { "type": "qr", "confirmation_data": "https://yoomoney.ru/checkout/payment-methods/v1/contract?orderId=2f244b8d-0037-5000-8000-0122855e68fc" + }, + "metadata": { + "order_id": "100500" } } diff --git a/tests/Client/fixtures/createPosLinkFixtures.json b/tests/Client/fixtures/createPosLinkFixtures.json new file mode 100644 index 00000000..2b8b7501 --- /dev/null +++ b/tests/Client/fixtures/createPosLinkFixtures.json @@ -0,0 +1,12 @@ +{ + "id": "123456789012345678901234567890123456", + "status": "active", + "type": "nspk", + "recipient": { + "gateway_id": "123456" + }, + "payment": { + "id": "123456789012345678901234567890123456", + "status": "succeeded" + } +} diff --git a/tests/Model/PosLink/PosLinkInfoTest.php b/tests/Model/PosLink/PosLinkInfoTest.php new file mode 100644 index 00000000..2d549fc4 --- /dev/null +++ b/tests/Model/PosLink/PosLinkInfoTest.php @@ -0,0 +1,227 @@ +object = $this->getMockBuilder(PosLinkInfo::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PosLinkInfo::class)); + $this->assertInstanceOf(PosLinkInfo::class, $this->object); + } + + /** + * Test property "id" + * @dataProvider validIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setId($value); + self::assertNotNull($instance->getId()); + self::assertNotNull($instance->id); + self::assertEquals($value, $instance->getId()); + self::assertEquals($value, $instance->id); + } + + /** + * Test invalid property "id" + * @dataProvider invalidIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_id')); + } + + /** + * Test property "status" + * @dataProvider validStatusDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testStatus(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setStatus($value); + self::assertNotNull($instance->getStatus()); + self::assertNotNull($instance->status); + self::assertEquals($value, $instance->getStatus()); + self::assertEquals($value, $instance->status); + self::assertContains($instance->getStatus(), PosLinkStatus::getValidValues()); + } + + /** + * Test invalid property "status" + * @dataProvider invalidStatusDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidStatus(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setStatus($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validStatusDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_status')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidStatusDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_status')); + } + + /** + * Test property "type" + * @dataProvider validTypeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testType(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setType($value); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertEquals($value, $instance->getType()); + self::assertEquals($value, $instance->type); + self::assertContains($instance->getType(), PosLinkType::getValidValues()); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setType($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } +} diff --git a/tests/Model/PosLink/PosLinkLastPaymentTest.php b/tests/Model/PosLink/PosLinkLastPaymentTest.php new file mode 100644 index 00000000..51f624e8 --- /dev/null +++ b/tests/Model/PosLink/PosLinkLastPaymentTest.php @@ -0,0 +1,171 @@ +object = $this->getMockBuilder(PosLinkLastPayment::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PosLinkLastPayment::class)); + $this->assertInstanceOf(PosLinkLastPayment::class, $this->object); + } + + /** + * Test property "id" + * @dataProvider validIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setId($value); + self::assertNotNull($instance->getId()); + self::assertNotNull($instance->id); + self::assertEquals($value, $instance->getId()); + self::assertEquals($value, $instance->id); + } + + /** + * Test invalid property "id" + * @dataProvider invalidIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_id')); + } + + /** + * Test property "status" + * @dataProvider validStatusDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testStatus(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setStatus($value); + self::assertNotNull($instance->getStatus()); + self::assertNotNull($instance->status); + self::assertEquals($value, $instance->getStatus()); + self::assertEquals($value, $instance->status); + self::assertContains($instance->getStatus(), PaymentStatus::getValidValues()); + } + + /** + * Test invalid property "status" + * @dataProvider invalidStatusDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidStatus(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setStatus($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validStatusDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_status')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidStatusDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_status')); + } +} diff --git a/tests/Model/PosLink/PosLinkPaymentTest.php b/tests/Model/PosLink/PosLinkPaymentTest.php new file mode 100644 index 00000000..44667fa5 --- /dev/null +++ b/tests/Model/PosLink/PosLinkPaymentTest.php @@ -0,0 +1,179 @@ +object = $this->getMockBuilder(PosLinkPayment::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PosLinkPayment::class)); + $this->assertInstanceOf(PosLinkPayment::class, $this->object); + } + + /** + * Test property "id" + * @dataProvider validIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setId($value); + self::assertNotNull($instance->getId()); + self::assertNotNull($instance->id); + self::assertEquals($value, $instance->getId()); + self::assertEquals($value, $instance->id); + } + + /** + * Test invalid property "id" + * @dataProvider invalidIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_id')); + } + + /** + * Test property "expires_at" + * @dataProvider validExpiresAtDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testExpiresAt(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getExpiresAt()); + self::assertEmpty($instance->expires_at); + $instance->setExpiresAt($value); + if (!empty($value)) { + self::assertNotNull($instance->getExpiresAt()); + self::assertNotNull($instance->expires_at); + if ($value instanceof Datetime) { + self::assertEquals($value, $instance->getExpiresAt()); + self::assertEquals($value, $instance->expires_at); + } else { + self::assertEquals(new Datetime($value), $instance->getExpiresAt()); + self::assertEquals(new Datetime($value), $instance->expires_at); + } + } + } + + /** + * Test invalid property "expires_at" + * @dataProvider invalidExpiresAtDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidExpiresAt(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setExpiresAt($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validExpiresAtDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_expires_at')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidExpiresAtDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_expires_at')); + } +} diff --git a/tests/Model/PosLink/PosLinkRecipientTest.php b/tests/Model/PosLink/PosLinkRecipientTest.php new file mode 100644 index 00000000..5ea0c732 --- /dev/null +++ b/tests/Model/PosLink/PosLinkRecipientTest.php @@ -0,0 +1,115 @@ +object = $this->getMockBuilder(PosLinkRecipient::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PosLinkRecipient::class)); + $this->assertInstanceOf(PosLinkRecipient::class, $this->object); + } + + /** + * Test property "gateway_id" + * @dataProvider validGatewayIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testGatewayId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setGatewayId($value); + self::assertNotNull($instance->getGatewayId()); + self::assertNotNull($instance->gateway_id); + self::assertEquals($value, $instance->getGatewayId()); + self::assertEquals($value, $instance->gateway_id); + } + + /** + * Test invalid property "gateway_id" + * @dataProvider invalidGatewayIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidGatewayId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setGatewayId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validGatewayIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_gateway_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidGatewayIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_gateway_id')); + } +} diff --git a/tests/Model/SavePaymentMethod/SavePaymentMethodBankCardTest.php b/tests/Model/SavePaymentMethod/SavePaymentMethodBankCardTest.php index 5ffd814e..0a349b29 100644 --- a/tests/Model/SavePaymentMethod/SavePaymentMethodBankCardTest.php +++ b/tests/Model/SavePaymentMethod/SavePaymentMethodBankCardTest.php @@ -28,6 +28,7 @@ namespace Tests\YooKassa\Model\SavePaymentMethod; use Exception; use Tests\YooKassa\AbstractTestCase; +use YooKassa\Model\Metadata; use YooKassa\Model\SavePaymentMethod\SavePaymentMethodBankCard; /** @@ -504,4 +505,72 @@ class SavePaymentMethodBankCardTest extends AbstractTestCase $instance = $this->getTestInstance(); return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); } + + /** + * Test property "metadata" + * @dataProvider validMetadataDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testMetadata(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getMetadata()); + self::assertEmpty($instance->metadata); + $instance->setMetadata($value); + if (!empty($value)) { + self::assertNotNull($instance->getMetadata()); + self::assertNotNull($instance->metadata); + foreach ($value as $key => $element) { + if (!empty($element)) { + self::assertEquals($element, $instance->getMetadata()[$key]); + self::assertEquals($element, $instance->metadata[$key]); + } + } + self::assertCount(count($value), $instance->getMetadata()); + self::assertCount(count($value), $instance->metadata); + if ($instance->getMetadata() instanceof Metadata) { + self::assertEquals($value, $instance->getMetadata()->toArray()); + self::assertEquals($value, $instance->metadata->toArray()); + } + } + } + + /** + * Test invalid property "metadata" + * @dataProvider invalidMetadataDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidMetadata(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setMetadata($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } } diff --git a/tests/Model/SavePaymentMethod/SavePaymentMethodSbpTest.php b/tests/Model/SavePaymentMethod/SavePaymentMethodSbpTest.php index 4f472327..f01f2d6b 100644 --- a/tests/Model/SavePaymentMethod/SavePaymentMethodSbpTest.php +++ b/tests/Model/SavePaymentMethod/SavePaymentMethodSbpTest.php @@ -28,6 +28,7 @@ namespace Tests\YooKassa\Model\SavePaymentMethod; use Exception; use Tests\YooKassa\AbstractTestCase; +use YooKassa\Model\Metadata; use YooKassa\Model\SavePaymentMethod\SavePaymentMethodSbp; /** @@ -446,4 +447,72 @@ class SavePaymentMethodSbpTest extends AbstractTestCase $instance = $this->getTestInstance(); return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); } + + /** + * Test property "metadata" + * @dataProvider validMetadataDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testMetadata(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getMetadata()); + self::assertEmpty($instance->metadata); + $instance->setMetadata($value); + if (!empty($value)) { + self::assertNotNull($instance->getMetadata()); + self::assertNotNull($instance->metadata); + foreach ($value as $key => $element) { + if (!empty($element)) { + self::assertEquals($element, $instance->getMetadata()[$key]); + self::assertEquals($element, $instance->metadata[$key]); + } + } + self::assertCount(count($value), $instance->getMetadata()); + self::assertCount(count($value), $instance->metadata); + if ($instance->getMetadata() instanceof Metadata) { + self::assertEquals($value, $instance->getMetadata()->toArray()); + self::assertEquals($value, $instance->metadata->toArray()); + } + } + } + + /** + * Test invalid property "metadata" + * @dataProvider invalidMetadataDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidMetadata(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setMetadata($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } } diff --git a/tests/Request/PaymentMethods/CreatePaymentMethodRequestBuilderTest.php b/tests/Request/PaymentMethods/CreatePaymentMethodRequestBuilderTest.php index 91f416af..65d0d0ad 100644 --- a/tests/Request/PaymentMethods/CreatePaymentMethodRequestBuilderTest.php +++ b/tests/Request/PaymentMethods/CreatePaymentMethodRequestBuilderTest.php @@ -386,6 +386,67 @@ class CreatePaymentMethodRequestBuilderTest extends AbstractTestCase return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); } + /** + * Test property "metadata" + * @dataProvider validMetadataDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testMetadata(mixed $value): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions($this->getRequiredData('metadata')); + $builder->setMetadata($value); + + $instance = $builder->build(); + + if (!empty($value)) { + self::assertNotNull($instance->getMetadata()); + self::assertNotNull($instance->metadata); + } + self::assertEquals($value, is_array($value) ? $instance->getMetadata()->toArray() : $instance->getMetadata()); + self::assertEquals($value, is_array($value) ? $instance->metadata->toArray() : $instance->metadata); + } + + /** + * Test invalid property "metadata" + * @dataProvider invalidMetadataDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidMetadata(mixed $value, string $exceptionClass): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions($this->getRequiredData('metadata')); + + $this->expectException($exceptionClass); + $builder->setMetadata($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } + /** * @param string|null $testingProperty * diff --git a/tests/Request/PaymentMethods/CreatePaymentMethodRequestSerializerTest.php b/tests/Request/PaymentMethods/CreatePaymentMethodRequestSerializerTest.php index e90d91c8..6f6b9f92 100644 --- a/tests/Request/PaymentMethods/CreatePaymentMethodRequestSerializerTest.php +++ b/tests/Request/PaymentMethods/CreatePaymentMethodRequestSerializerTest.php @@ -87,7 +87,8 @@ class CreatePaymentMethodRequestSerializerTest extends TestCase 'enforce' => Random::bool(), 'return_url' => Random::str(1,2048), 'locale' => Random::value(['ru_RU', 'en_US']), - ] + ], + 'metadata' => ['test' => 'test'], ] ]]; // $metadata = new Metadata(); diff --git a/tests/Request/PaymentMethods/CreatePaymentMethodRequestTest.php b/tests/Request/PaymentMethods/CreatePaymentMethodRequestTest.php index e91dac1d..b900f766 100644 --- a/tests/Request/PaymentMethods/CreatePaymentMethodRequestTest.php +++ b/tests/Request/PaymentMethods/CreatePaymentMethodRequestTest.php @@ -28,6 +28,7 @@ namespace Tests\YooKassa\Request\PaymentMethods; use Exception; use Tests\YooKassa\AbstractTestCase; +use YooKassa\Model\Metadata; use YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest; /** @@ -348,4 +349,62 @@ class CreatePaymentMethodRequestTest extends AbstractTestCase $instance = $this->getTestInstance(); return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); } + + /** + * Test property "metadata" + * @dataProvider validMetadataDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testMetadata(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getMetadata()); + self::assertEmpty($instance->metadata); + $instance->setMetadata($value); + if (!empty($value)) { + self::assertNotNull($instance->getMetadata()); + self::assertNotNull($instance->metadata); + } + self::assertEquals($value, is_array($value) ? $instance->getMetadata()->toArray() : $instance->getMetadata()); + self::assertEquals($value, is_array($value) ? $instance->metadata->toArray() : $instance->metadata); + } + + /** + * Test invalid property "metadata" + * @dataProvider invalidMetadataDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidMetadata(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setMetadata($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidMetadataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_metadata')); + } } diff --git a/tests/Request/Payments/CreatePaymentRequestBuilderTest.php b/tests/Request/Payments/CreatePaymentRequestBuilderTest.php index a70576b7..17694f01 100644 --- a/tests/Request/Payments/CreatePaymentRequestBuilderTest.php +++ b/tests/Request/Payments/CreatePaymentRequestBuilderTest.php @@ -1006,6 +1006,7 @@ class CreatePaymentRequestBuilderTest extends AbstractTestCase 'receiver' => null, 'paymentOrder' => null, 'statements' => null, + 'posLink' => null, ], ], [ @@ -1057,6 +1058,10 @@ class CreatePaymentRequestBuilderTest extends AbstractTestCase 'receiver' => null, 'paymentOrder' => null, 'statements' => null, + 'posLink' => [ + 'id' => Random::str(36, 36, '0123456789abcdef'), + 'expires_at' => date('Y-m-d\TH:i:s.v\Z'), + ], ], ], ]; @@ -1189,6 +1194,10 @@ class CreatePaymentRequestBuilderTest extends AbstractTestCase 'receiver' => Random::value($receivers), 'paymentOrder' => Random::value($paymentOrders), 'statements' => Random::value($statementsArray), + 'posLink' => $i % 2 === 0 ? [ + 'id' => Random::str(36, 36, '0123456789abcdef'), + 'expires_at' => date(YOOKASSA_DATE), + ] : null, ]; $result[] = [$request]; } @@ -1412,6 +1421,55 @@ class CreatePaymentRequestBuilderTest extends AbstractTestCase ]; } + /** + * @dataProvider validDataProvider + * + * @param mixed $options + * + * @throws Exception + */ + public function testSetPosLink(mixed $options): void + { + $builder = new CreatePaymentRequestBuilder(); + $builder->setPosLink($options['posLink']); + $instance = $builder->build($this->getRequiredData()); + + if (empty($options['posLink'])) { + self::assertNull($instance->getPosLink()); + } else { + self::assertNotNull($instance->getPosLink()); + self::assertEquals($options['posLink'], is_array($options['posLink']) ? $instance->getPosLink()->toArray() : $instance->getPosLink()); + } + } + + /** + * @dataProvider invalidPosLinkDataProvider + * + * @param mixed $value + */ + public function testSetInvalidPosLink(mixed $value): void + { + $this->expectException(InvalidArgumentException::class); + $builder = new CreatePaymentRequestBuilder(); + $builder->setPosLink($value); + } + + /** + * @throws Exception + */ + public static function invalidPosLinkDataProvider(): array + { + return [ + [true], + [false], + [new stdClass()], + [0], + [7], + [Random::int(-100, -1)], + [Random::int(7, 100)], + ]; + } + /** * @param null $testingProperty * @param null $paymentType diff --git a/tests/Request/Payments/CreatePaymentRequestSerializerTest.php b/tests/Request/Payments/CreatePaymentRequestSerializerTest.php index bf2a9c45..69f1f4e9 100644 --- a/tests/Request/Payments/CreatePaymentRequestSerializerTest.php +++ b/tests/Request/Payments/CreatePaymentRequestSerializerTest.php @@ -265,6 +265,10 @@ class CreatePaymentRequestSerializerTest extends TestCase $expected['deal'] = $options['deal']; } + if (!empty($options['pos_link'])) { + $expected['pos_link'] = $options['pos_link']; + } + if (!empty($options['merchant_customer_id'])) { $expected['merchant_customer_id'] = $options['merchant_customer_id']; } @@ -377,6 +381,10 @@ class CreatePaymentRequestSerializerTest extends TestCase ], ], 'merchant_customer_id' => Random::str(36, Payment::MAX_LENGTH_MERCHANT_CUSTOMER_ID), + 'pos_link' => [ + 'id' => Random::str(36, 36, '0123456789abcdef'), + 'expires_at' => date(YOOKASSA_DATE), + ], ], ], ]; @@ -469,6 +477,10 @@ class CreatePaymentRequestSerializerTest extends TestCase ], ], 'merchant_customer_id' => Random::str(36, Payment::MAX_LENGTH_MERCHANT_CUSTOMER_ID), + 'pos_link' => [ + 'id' => Random::str(36, 36, '0123456789abcdef'), + 'expires_at' => date(YOOKASSA_DATE), + ], ]; $result[] = [$request]; } diff --git a/tests/Request/Payments/CreatePaymentRequestTest.php b/tests/Request/Payments/CreatePaymentRequestTest.php index 39a986f8..5f3cd192 100644 --- a/tests/Request/Payments/CreatePaymentRequestTest.php +++ b/tests/Request/Payments/CreatePaymentRequestTest.php @@ -1280,6 +1280,62 @@ class CreatePaymentRequestTest extends AbstractTestCase return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_statements')); } + /** + * Test property "pos_link" + * @dataProvider validPosLinkDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPosLink(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setPosLink($value); + self::assertEquals($value, is_array($value) ? $instance->getPosLink()->toArray() : $instance->getPosLink()); + self::assertEquals($value, is_array($value) ? $instance->pos_link->toArray() : $instance->pos_link); + if (!empty($value)) { + self::assertNotNull($instance->getPosLink()); + self::assertNotNull($instance->pos_link); + } + } + + /** + * Test invalid property "pos_link" + * @dataProvider invalidPosLinkDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPosLink(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPosLink($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPosLinkDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_pos_link')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPosLinkDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_pos_link')); + } + /** * Test valid method "builder" * diff --git a/tests/Request/Payments/PaymentOrderData/PaymentOrderUtilitiesTest.php b/tests/Request/Payments/PaymentOrderData/PaymentOrderUtilitiesTest.php index d87b8316..d85fa91a 100644 --- a/tests/Request/Payments/PaymentOrderData/PaymentOrderUtilitiesTest.php +++ b/tests/Request/Payments/PaymentOrderData/PaymentOrderUtilitiesTest.php @@ -347,10 +347,10 @@ class PaymentOrderUtilitiesTest extends AbstractTestCase if (!empty($value)) { self::assertNotNull($instance->getOktmo()); self::assertNotNull($instance->oktmo); - self::assertMatchesRegularExpression("/^(\d{8})|(0)$/", $instance->getOktmo()); - self::assertMatchesRegularExpression("/^(\d{8})|(0)$/", $instance->oktmo); - self::assertLessThanOrEqual(8, is_string($instance->getOktmo()) ? mb_strlen($instance->getOktmo()) : $instance->getOktmo()); - self::assertLessThanOrEqual(8, is_string($instance->oktmo) ? mb_strlen($instance->oktmo) : $instance->oktmo); + self::assertMatchesRegularExpression("/^(\d{11})|(\d{8})|(0)$/", $instance->getOktmo()); + self::assertMatchesRegularExpression("/^(\d{11})|(\d{8})|(0)$/", $instance->oktmo); + self::assertLessThanOrEqual(11, is_string($instance->getOktmo()) ? mb_strlen($instance->getOktmo()) : $instance->getOktmo()); + self::assertLessThanOrEqual(11, is_string($instance->oktmo) ? mb_strlen($instance->oktmo) : $instance->oktmo); self::assertGreaterThanOrEqual(1, is_string($instance->getOktmo()) ? mb_strlen($instance->getOktmo()) : $instance->getOktmo()); self::assertGreaterThanOrEqual(1, is_string($instance->oktmo) ? mb_strlen($instance->oktmo) : $instance->oktmo); } diff --git a/tests/Request/PosLink/CreatePosLinkRequestBuilderTest.php b/tests/Request/PosLink/CreatePosLinkRequestBuilderTest.php new file mode 100644 index 00000000..2f5de4d9 --- /dev/null +++ b/tests/Request/PosLink/CreatePosLinkRequestBuilderTest.php @@ -0,0 +1,98 @@ +setRecipient($options['recipient']); + $builder->setPosLinkData($options['pos_link_data']); + $instance = $builder->build(); + + self::assertNotNull($instance->getRecipient()); + self::assertEquals($options['recipient'], $instance->getRecipient()->toArray()); + } + + /** + * @dataProvider validDataProvider + * + * @param mixed $options + */ + public function testSetPosLinkData(mixed $options): void + { + $builder = CreatePosLinkRequest::builder(); + $builder->setRecipient($options['recipient']); + $builder->setPosLinkData($options['pos_link_data']); + $instance = $builder->build(); + + self::assertNotNull($instance->getPosLinkData()); + self::assertEquals($options['pos_link_data'], $instance->getPosLinkData()->toArray()); + } + + public function testBuilder(): void + { + $builder = CreatePosLinkRequest::builder(); + self::assertInstanceOf(CreatePosLinkRequestBuilder::class, $builder); + } + + public static function validDataProvider(): array + { + $result = []; + for ($i = 0; $i < 10; $i++) { + $request = [ + 'recipient' => [ + 'gateway_id' => Random::str(1, 128, '0123456789'), + ], + 'pos_link_data' => [ + 'link' => Random::str(10, 255), + ], + ]; + $result[] = [$request]; + } + + return $result; + } +} diff --git a/tests/Request/PosLink/CreatePosLinkRequestSerializerTest.php b/tests/Request/PosLink/CreatePosLinkRequestSerializerTest.php new file mode 100644 index 00000000..1e3f9d0c --- /dev/null +++ b/tests/Request/PosLink/CreatePosLinkRequestSerializerTest.php @@ -0,0 +1,76 @@ +build($options); + $data = $serializer->serialize($instance); + + $expected = [ + 'recipient' => $options['recipient'], + 'pos_link_data' => $options['pos_link_data'], + ]; + + self::assertEquals($expected, $data); + } + + public static function validDataProvider(): array + { + return [ + [ + [ + 'recipient' => [ + 'gateway_id' => '123456', + ], + 'pos_link_data' => [ + 'link' => 'https://shop.example.ru/pay/1234567890', + ], + ], + ], + ]; + } +} diff --git a/tests/Request/PosLink/CreatePosLinkRequestTest.php b/tests/Request/PosLink/CreatePosLinkRequestTest.php new file mode 100644 index 00000000..032b7272 --- /dev/null +++ b/tests/Request/PosLink/CreatePosLinkRequestTest.php @@ -0,0 +1,165 @@ +object = $this->getMockBuilder(CreatePosLinkRequest::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(CreatePosLinkRequest::class)); + $this->assertInstanceOf(CreatePosLinkRequest::class, $this->object); + } + + /** + * Test property "recipient" + * @dataProvider validRecipientDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testRecipient(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setRecipient($value); + self::assertNotNull($instance->getRecipient()); + self::assertEquals($value, is_array($value) ? $instance->getRecipient()->toArray() : $instance->getRecipient()); + } + + /** + * Test invalid property "recipient" + * @dataProvider invalidRecipientDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidRecipient(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setRecipient($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validRecipientDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_recipient')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidRecipientDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_recipient')); + } + + /** + * Test property "pos_link_data" + * @dataProvider validPosLinkDataDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPosLinkData(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setPosLinkData($value); + self::assertNotNull($instance->getPosLinkData()); + self::assertEquals($value, is_array($value) ? $instance->getPosLinkData()->toArray() : $instance->getPosLinkData()); + } + + /** + * Test invalid property "pos_link_data" + * @dataProvider invalidPosLinkDataDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPosLinkData(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPosLinkData($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPosLinkDataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_pos_link_data')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPosLinkDataDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_pos_link_data')); + } +} diff --git a/tests/Request/PosLink/PosLinkDataTest.php b/tests/Request/PosLink/PosLinkDataTest.php new file mode 100644 index 00000000..fb604e3d --- /dev/null +++ b/tests/Request/PosLink/PosLinkDataTest.php @@ -0,0 +1,115 @@ +object = $this->getMockBuilder(PosLinkData::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PosLinkData::class)); + $this->assertInstanceOf(PosLinkData::class, $this->object); + } + + /** + * Test property "link" + * @dataProvider validLinkDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testLink(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setLink($value); + self::assertNotNull($instance->getLink()); + self::assertNotNull($instance->link); + self::assertEquals($value, $instance->getLink()); + self::assertEquals($value, $instance->link); + } + + /** + * Test invalid property "link" + * @dataProvider invalidLinkDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidLink(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setLink($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validLinkDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_link')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidLinkDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_link')); + } +} diff --git a/tests/Request/PosLink/RecipientPosLinkRequestBuilderTest.php b/tests/Request/PosLink/RecipientPosLinkRequestBuilderTest.php new file mode 100644 index 00000000..24fb6334 --- /dev/null +++ b/tests/Request/PosLink/RecipientPosLinkRequestBuilderTest.php @@ -0,0 +1,78 @@ +setRecipient($options['recipient']); + $instance = $builder->build(); + + self::assertNotNull($instance->getRecipient()); + self::assertEquals($options['recipient'], $instance->getRecipient()->toArray()); + } + + public function testBuilder(): void + { + $builder = RecipientPosLinkRequest::builder(); + self::assertInstanceOf(RecipientPosLinkRequestBuilder::class, $builder); + } + + public static function validDataProvider(): array + { + $result = []; + for ($i = 0; $i < 10; $i++) { + $request = [ + 'recipient' => [ + 'gateway_id' => Random::str(1, 128, '0123456789'), + ], + ]; + $result[] = [$request]; + } + + return $result; + } +} diff --git a/tests/Request/PosLink/RecipientPosLinkRequestSerializerTest.php b/tests/Request/PosLink/RecipientPosLinkRequestSerializerTest.php new file mode 100644 index 00000000..d9deb851 --- /dev/null +++ b/tests/Request/PosLink/RecipientPosLinkRequestSerializerTest.php @@ -0,0 +1,70 @@ +build($options); + $data = $serializer->serialize($instance); + + $expected = [ + 'recipient' => $options['recipient'], + ]; + + self::assertEquals($expected, $data); + } + + public static function validDataProvider(): array + { + return [ + [ + [ + 'recipient' => ['gateway_id' => '123456'], + ], + ], + ]; + } +} diff --git a/tests/Request/PosLink/RecipientPosLinkRequestTest.php b/tests/Request/PosLink/RecipientPosLinkRequestTest.php new file mode 100644 index 00000000..7c5f511f --- /dev/null +++ b/tests/Request/PosLink/RecipientPosLinkRequestTest.php @@ -0,0 +1,113 @@ +object = $this->getMockBuilder(RecipientPosLinkRequest::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(RecipientPosLinkRequest::class)); + $this->assertInstanceOf(RecipientPosLinkRequest::class, $this->object); + } + + /** + * Test property "recipient" + * @dataProvider validRecipientDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testRecipient(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setRecipient($value); + self::assertNotNull($instance->getRecipient()); + self::assertEquals($value, is_array($value) ? $instance->getRecipient()->toArray() : $instance->getRecipient()); + } + + /** + * Test invalid property "recipient" + * @dataProvider invalidRecipientDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidRecipient(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setRecipient($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validRecipientDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_recipient')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidRecipientDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_recipient')); + } +}