diff --git a/CHANGELOG.md b/CHANGELOG.md index 1da2dc53..a462c743 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +### v3.9.0 от 24.07.2025 +* В объект платежа добавлен объект `payment_order` с типом `utilities` (оплата жилищно-коммунальных услуг) +* Для платежей Сбербанк Бизнес Онлайн (СББОЛ) добавлена ставка НДС `5%`, а ставка `18%` отмечена как deprecated +* Добавлено новое значение `PayoutCancellationDetails.reason=self_employed_annual_limit_exceeded` - текущая выплата превысит лимит разрешенного годового дохода самозанятого +* В поле `SbpPayerBankDetails.bank_id` изменён паттерн валидации значения +* Добавлена поддержка работы со способами оплаты +* В объект возврата добавлен объект `refund_authorization_details` - детали авторизации возврата +* Обновлен Copyright +* Для чеков от ЮKassa (ЮЧеки), параметр `items`: изменено максимальное допустимо количество товаров в чеке (было 100, стало 80) +* В номере банковской карты разрешено указывать Diners Club (14 знаков) и American Express (15 знаков) + ### v3.8.1 от 01.07.2025 * Добавлена поддержка кассовых ссылок в СБП diff --git a/composer.json b/composer.json index ddf7adf1..a4bd6c68 100644 --- a/composer.json +++ b/composer.json @@ -17,9 +17,9 @@ ], "dist": { "type": "zip", - "url": "https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?at=refs%2Ftags%2F3.8.1&format=zip" + "url": "https://git.yoomoney.ru/rest/api/latest/projects/SDK/repos/yookassa-sdk-php/archive?at=refs%2Ftags%2F3.9.0&format=zip" }, - "version": "3.8.1", + "version": "3.9.0", "require": { "php": ">=8.0", "ext-curl": "*", diff --git a/docs/classes/YooKassa-Client-ApiClientInterface.md b/docs/classes/YooKassa-Client-ApiClientInterface.md index 873f7ff4..39231032 100644 --- a/docs/classes/YooKassa-Client-ApiClientInterface.md +++ b/docs/classes/YooKassa-Client-ApiClientInterface.md @@ -223,10 +223,10 @@ public setAdvancedCurlOptions() : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-BaseClient.md b/docs/classes/YooKassa-Client-BaseClient.md index 99f6e7bf..0bc75c5c 100644 --- a/docs/classes/YooKassa-Client-BaseClient.md +++ b/docs/classes/YooKassa-Client-BaseClient.md @@ -26,6 +26,7 @@ | public | [SBP_BANKS_PATH](../classes/YooKassa-Client-BaseClient.md#constant_SBP_BANKS_PATH) | | Точка входа для запросов к API по участникам СБП | | 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 | [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 | @@ -182,6 +183,15 @@ INVOICES_PATH = '/invoices' ``` + +###### PAYMENT_METHODS_PATH +Точка входа для запросов к API по способам оплаты + +```php +PAYMENT_METHODS_PATH = '/payment_methods' +``` + + ###### IDEMPOTENCE_KEY_HEADER Имя HTTP заголовка, используемого для передачи idempotence key @@ -731,10 +741,10 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-CurlClient.md b/docs/classes/YooKassa-Client-CurlClient.md index 4fb6f660..dd339f60 100644 --- a/docs/classes/YooKassa-Client-CurlClient.md +++ b/docs/classes/YooKassa-Client-CurlClient.md @@ -510,10 +510,10 @@ public setTimeout(int $timeout) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client-UserAgent.md b/docs/classes/YooKassa-Client-UserAgent.md index d7239610..6db193d6 100644 --- a/docs/classes/YooKassa-Client-UserAgent.md +++ b/docs/classes/YooKassa-Client-UserAgent.md @@ -325,10 +325,10 @@ public setModule(string $name, string $version) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Client.md b/docs/classes/YooKassa-Client.md index 92d5a17f..bb5277c7 100644 --- a/docs/classes/YooKassa-Client.md +++ b/docs/classes/YooKassa-Client.md @@ -38,6 +38,7 @@ $client->setAuthToken('token_XXXXXXX'); | public | [SBP_BANKS_PATH](../classes/YooKassa-Client-BaseClient.md#constant_SBP_BANKS_PATH) | | Точка входа для запросов к API по участникам СБП | | 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 | [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 | @@ -67,6 +68,7 @@ $client->setAuthToken('token_XXXXXXX'); | public | [createDeal()](../classes/YooKassa-Client.md#method_createDeal) | | Создание сделки. | | public | [createInvoice()](../classes/YooKassa-Client.md#method_createInvoice) | | Создание счета. | | public | [createPayment()](../classes/YooKassa-Client.md#method_createPayment) | | Создание платежа. | +| 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 | [createReceipt()](../classes/YooKassa-Client.md#method_createReceipt) | | Отправка чека в облачную кассу. | @@ -78,6 +80,7 @@ $client->setAuthToken('token_XXXXXXX'); | public | [getDeals()](../classes/YooKassa-Client.md#method_getDeals) | | Получить список сделок магазина. | | public | [getInvoiceInfo()](../classes/YooKassa-Client.md#method_getInvoiceInfo) | | Получить информацию о счете | | public | [getPaymentInfo()](../classes/YooKassa-Client.md#method_getPaymentInfo) | | Получить информацию о платеже. | +| public | [getPaymentMethodInfo()](../classes/YooKassa-Client.md#method_getPaymentMethodInfo) | | Получить информацию о способе оплаты | | public | [getPayments()](../classes/YooKassa-Client.md#method_getPayments) | | Получить список платежей магазина. | | public | [getPayoutInfo()](../classes/YooKassa-Client.md#method_getPayoutInfo) | | Получить информацию о выплате. | | public | [getPersonalDataInfo()](../classes/YooKassa-Client.md#method_getPersonalDataInfo) | | Получить информацию о персональных данных. | @@ -235,6 +238,17 @@ INVOICES_PATH = '/invoices' ``` + +###### PAYMENT_METHODS_PATH +Inherited from [\YooKassa\Client\BaseClient](../classes/YooKassa-Client-BaseClient.md) + +Точка входа для запросов к API по способам оплаты + +```php +PAYMENT_METHODS_PATH = '/payment_methods' +``` + + ###### IDEMPOTENCE_KEY_HEADER Inherited from [\YooKassa\Client\BaseClient](../classes/YooKassa-Client-BaseClient.md) @@ -284,7 +298,7 @@ DEFAULT_ATTEMPTS_COUNT = 3 Текущая версия библиотеки. ```php -SDK_VERSION = '3.8.1' +SDK_VERSION = '3.9.0' ``` @@ -937,6 +951,92 @@ try { ``` + +#### public createPaymentMethod() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface|null + +```php +public createPaymentMethod(array|\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface $paymentMethod, string|null $idempotenceKey = null) : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface|null +``` + +**Summary** + +Создание способа оплаты. + +**Description** + +Используйте этот запрос, чтобы создать в ЮKassa [объект способа оплаты](https://yookassa.ru/developers/api#create_payment_method). +В запросе необходимо передать код способа оплаты, который вы хотите сохранить, и при необходимости дополнительные параметры, связанные с той функциональностью, которую вы хотите использовать. + +Идентификатор созданного способа оплаты вы можете использовать при проведении [автоплатежей](/developers/payment-acceptance/scenario-extensions/recurring-payments/create-recurring) или [выплат](/developers/payouts/scenario-extensions/multipurpose-token). + +**Details:** +* Inherited From: [\YooKassa\Client](../classes/YooKassa-Client.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface | paymentMethod | | +| string OR null | idempotenceKey | | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\ApiConnectionException | | +| \YooKassa\Common\Exceptions\ApiException | | +| \YooKassa\Common\Exceptions\AuthorizeException | | +| \YooKassa\Common\Exceptions\BadApiRequestException | | +| \YooKassa\Common\Exceptions\ExtensionNotFoundException | | +| \YooKassa\Common\Exceptions\ForbiddenException | | +| \YooKassa\Common\Exceptions\InternalServerError | | +| \YooKassa\Common\Exceptions\NotFoundException | | +| \YooKassa\Common\Exceptions\ResponseProcessingException | | +| \YooKassa\Common\Exceptions\TooManyRequestsException | | +| \YooKassa\Common\Exceptions\UnauthorizedException | | +| \JsonException | | + +**Returns:** \YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface|null - +##### Examples: +Запрос на создание способа оплаты: + +```php +// Запрос на создание метода оплаты +$paymentMethod = [ + 'confirmation' => [ + 'enforce' => true, + 'type' => 'redirect', + 'return_url' => 'https://www.example.com/return_url', + 'locale' => 'ru_RU' + ], + 'type' => 'bank_card', + 'card' => [ + 'number' => '4100000000000002', + 'expiry_year' => '2025', + 'expiry_month' => '12', + 'cardholder' => 'Inna Ivanovna', + 'csc' => '123' + ], + 'holder' => [ + 'gateway_id' => '123456' + ], + 'client_ip' => '127.0.0.1', +]; +$idempotenceKey = uniqid('', true); +try { + $response = $client->createPaymentMethod( + $paymentMethod, + $idempotenceKey + ); + if ($response->getStatus() && $response->getStatus() === \YooKassa\Model\SavePaymentMethod\SavePaymentMethodStatus::PENDING) { + $redirectUrl = $response->getConfirmation()->getConfirmationUrl(); + // Далее производим редирект на полученный URL + } + var_dump($response->toArray()); +} catch (\Exception $e) { + var_dump($e); + +``` + + #### public createPayout() : ?\YooKassa\Request\Payouts\CreatePayoutResponse @@ -1553,6 +1653,7 @@ try { var_dump($e); } +// Запрос на создание метода оплаты ``` @@ -1612,6 +1713,64 @@ try { ``` + +#### public getPaymentMethodInfo() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface|null + +```php +public getPaymentMethodInfo(string $paymentMethodId) : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface|null +``` + +**Summary** + +Получить информацию о способе оплаты + +**Description** + +Используйте этот запрос, чтобы получить информацию о текущем состоянии способа оплаты по его уникальному идентификатору. + +**Details:** +* Inherited From: [\YooKassa\Client](../classes/YooKassa-Client.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string | paymentMethodId | Идентификатор способа оплаты | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\ApiConnectionException | | +| \YooKassa\Common\Exceptions\ApiException | | +| \YooKassa\Common\Exceptions\AuthorizeException | | +| \YooKassa\Common\Exceptions\BadApiRequestException | | +| \YooKassa\Common\Exceptions\ExtensionNotFoundException | | +| \YooKassa\Common\Exceptions\ForbiddenException | | +| \YooKassa\Common\Exceptions\InternalServerError | | +| \JsonException | | +| \YooKassa\Common\Exceptions\NotFoundException | | +| \YooKassa\Common\Exceptions\ResponseProcessingException | | +| \YooKassa\Common\Exceptions\TooManyRequestsException | | +| \YooKassa\Common\Exceptions\UnauthorizedException | | + +**Returns:** \YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface|null - +##### Examples: +Получить информацию о способе оплаты: + +```php +// Получить информацию о способе платежа +$paymentMethodId = '285c0ab7-0003-5000-9000-0e1166498fda'; +try { + $response = $client->getPaymentMethodInfo($paymentMethodId); + if ($response->getCard()) { + print_r($response->getCard()->toArray()); + } + var_dump($response->toArray()); +} catch (\Exception $e) { + var_dump($e); + +``` + + #### public getPayments() : ?\YooKassa\Request\Payments\PaymentsResponse @@ -2729,10 +2888,10 @@ protected handleError(\YooKassa\Common\ResponseObject $response) : void ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractEnum.md b/docs/classes/YooKassa-Common-AbstractEnum.md index e873aa35..e25bfee4 100644 --- a/docs/classes/YooKassa-Common-AbstractEnum.md +++ b/docs/classes/YooKassa-Common-AbstractEnum.md @@ -127,10 +127,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractObject.md b/docs/classes/YooKassa-Common-AbstractObject.md index 12a4acc0..e0ccc9ff 100644 --- a/docs/classes/YooKassa-Common-AbstractObject.md +++ b/docs/classes/YooKassa-Common-AbstractObject.md @@ -375,10 +375,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequest.md b/docs/classes/YooKassa-Common-AbstractRequest.md index ff5675bf..1770c051 100644 --- a/docs/classes/YooKassa-Common-AbstractRequest.md +++ b/docs/classes/YooKassa-Common-AbstractRequest.md @@ -452,10 +452,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md index abaf2ee1..65ca0aa9 100644 --- a/docs/classes/YooKassa-Common-AbstractRequestBuilder.md +++ b/docs/classes/YooKassa-Common-AbstractRequestBuilder.md @@ -160,10 +160,10 @@ Abstract protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterfa ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-AbstractRequestInterface.md b/docs/classes/YooKassa-Common-AbstractRequestInterface.md index 59ea55ec..13a6dce5 100644 --- a/docs/classes/YooKassa-Common-AbstractRequestInterface.md +++ b/docs/classes/YooKassa-Common-AbstractRequestInterface.md @@ -99,10 +99,10 @@ public getLastValidationError() : string|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ff8d3921..4ea9bc37 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiConnectionException.md @@ -217,10 +217,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5b8aeb39..f80e7d30 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ApiException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ApiException.md @@ -212,10 +212,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0f0c71af..bf24869b 100644 --- a/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-AuthorizeException.md @@ -217,10 +217,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2493cf34..5bee3c73 100644 --- a/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-BadApiRequestException.md @@ -227,10 +227,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 10bc45cf..58daf4c9 100644 --- a/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-EmptyPropertyValueException.md @@ -75,10 +75,10 @@ public getProperty() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e0985436..9f2fa71f 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ExtensionNotFoundException.md @@ -63,10 +63,10 @@ Constructor. ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d760c965..5cd49abd 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ForbiddenException.md @@ -227,10 +227,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6ac029be..80cd06ff 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md +++ b/docs/classes/YooKassa-Common-Exceptions-InternalServerError.md @@ -230,10 +230,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 912a3f02..aedfd887 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyException.md @@ -74,10 +74,10 @@ public getProperty() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 393d8b79..d6173313 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueException.md @@ -90,10 +90,10 @@ public getValue() : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 55bc77ce..4d303b38 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidPropertyValueTypeException.md @@ -90,10 +90,10 @@ public getType() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d0fbe08f..e8498a1b 100644 --- a/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md +++ b/docs/classes/YooKassa-Common-Exceptions-InvalidRequestException.md @@ -74,10 +74,10 @@ public getRequestObject() : ?\YooKassa\Common\AbstractRequestInterface ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f069dfa8..9fc1a3b3 100644 --- a/docs/classes/YooKassa-Common-Exceptions-JsonException.md +++ b/docs/classes/YooKassa-Common-Exceptions-JsonException.md @@ -73,10 +73,10 @@ public __construct(mixed $message = '', mixed $code, mixed $previous = ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 68bb288b..32bb7a08 100644 --- a/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md +++ b/docs/classes/YooKassa-Common-Exceptions-NotFoundException.md @@ -227,10 +227,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e30db5d8..f0f92efa 100644 --- a/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md +++ b/docs/classes/YooKassa-Common-Exceptions-ResponseProcessingException.md @@ -227,10 +227,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a8d51026..4a9c63e5 100644 --- a/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md +++ b/docs/classes/YooKassa-Common-Exceptions-TooManyRequestsException.md @@ -227,10 +227,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6a3913a2..e2d7dee4 100644 --- a/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md +++ b/docs/classes/YooKassa-Common-Exceptions-UnauthorizedException.md @@ -230,10 +230,10 @@ protected parseErrorResponse(mixed $responseBody) : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-HttpVerb.md b/docs/classes/YooKassa-Common-HttpVerb.md index 6ffba54a..a0f32513 100644 --- a/docs/classes/YooKassa-Common-HttpVerb.md +++ b/docs/classes/YooKassa-Common-HttpVerb.md @@ -202,10 +202,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ListObject.md b/docs/classes/YooKassa-Common-ListObject.md index 44a583c7..1f4b46cf 100644 --- a/docs/classes/YooKassa-Common-ListObject.md +++ b/docs/classes/YooKassa-Common-ListObject.md @@ -473,10 +473,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ListObjectInterface.md b/docs/classes/YooKassa-Common-ListObjectInterface.md index 77e79735..3627aec7 100644 --- a/docs/classes/YooKassa-Common-ListObjectInterface.md +++ b/docs/classes/YooKassa-Common-ListObjectInterface.md @@ -215,10 +215,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-LoggerWrapper.md b/docs/classes/YooKassa-Common-LoggerWrapper.md index bb4d0e5c..8ac19141 100644 --- a/docs/classes/YooKassa-Common-LoggerWrapper.md +++ b/docs/classes/YooKassa-Common-LoggerWrapper.md @@ -312,10 +312,10 @@ that are not necessarily wrong. ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Common-ResponseObject.md b/docs/classes/YooKassa-Common-ResponseObject.md index 18d4adbb..a83e710e 100644 --- a/docs/classes/YooKassa-Common-ResponseObject.md +++ b/docs/classes/YooKassa-Common-ResponseObject.md @@ -171,10 +171,10 @@ public getHeaders() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f441bfdd..28bad14c 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoader.md @@ -91,10 +91,10 @@ public load(mixed $filePath = null) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7f99d415..140fb386 100644 --- a/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md +++ b/docs/classes/YooKassa-Helpers-Config-ConfigurationLoaderInterface.md @@ -73,10 +73,10 @@ public load() : \YooKassa\Helpers\Config\ConfigurationLoaderInterface ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-ProductCode.md b/docs/classes/YooKassa-Helpers-ProductCode.md index 3667948f..8afa2187 100644 --- a/docs/classes/YooKassa-Helpers-ProductCode.md +++ b/docs/classes/YooKassa-Helpers-ProductCode.md @@ -642,10 +642,10 @@ public validate() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-Random.md b/docs/classes/YooKassa-Helpers-Random.md index 147e7090..498b488b 100644 --- a/docs/classes/YooKassa-Helpers-Random.md +++ b/docs/classes/YooKassa-Helpers-Random.md @@ -212,10 +212,10 @@ Static public value(array $values) : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-RawHeadersParser.md b/docs/classes/YooKassa-Helpers-RawHeadersParser.md index e57345df..cf59dcb2 100644 --- a/docs/classes/YooKassa-Helpers-RawHeadersParser.md +++ b/docs/classes/YooKassa-Helpers-RawHeadersParser.md @@ -70,10 +70,10 @@ Static public parse(mixed $rawHeaders) : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-SecurityHelper.md b/docs/classes/YooKassa-Helpers-SecurityHelper.md index e3f5836b..b2eb7a87 100644 --- a/docs/classes/YooKassa-Helpers-SecurityHelper.md +++ b/docs/classes/YooKassa-Helpers-SecurityHelper.md @@ -79,10 +79,10 @@ public isIPTrusted(mixed $ip) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-StringObject.md b/docs/classes/YooKassa-Helpers-StringObject.md index 5ba7ab49..d4dc096b 100644 --- a/docs/classes/YooKassa-Helpers-StringObject.md +++ b/docs/classes/YooKassa-Helpers-StringObject.md @@ -92,10 +92,10 @@ public __toString() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-TypeCast.md b/docs/classes/YooKassa-Helpers-TypeCast.md index 19bece6c..86326bfb 100644 --- a/docs/classes/YooKassa-Helpers-TypeCast.md +++ b/docs/classes/YooKassa-Helpers-TypeCast.md @@ -166,10 +166,10 @@ Static public castToDateTime(\DateTime|int|string $value) : null|\DateTime ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Helpers-UUID.md b/docs/classes/YooKassa-Helpers-UUID.md index 14ecc461..f12006e4 100644 --- a/docs/classes/YooKassa-Helpers-UUID.md +++ b/docs/classes/YooKassa-Helpers-UUID.md @@ -65,10 +65,10 @@ Static public v4() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-AmountInterface.md b/docs/classes/YooKassa-Model-AmountInterface.md index 79176852..9c181183 100644 --- a/docs/classes/YooKassa-Model-AmountInterface.md +++ b/docs/classes/YooKassa-Model-AmountInterface.md @@ -161,10 +161,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md index b1e524e8..897f19b2 100644 --- a/docs/classes/YooKassa-Model-CancellationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-CancellationDetailsInterface.md @@ -79,10 +79,10 @@ public getReason() : string ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-CurrencyCode.md b/docs/classes/YooKassa-Model-CurrencyCode.md index dbadc55e..77552f59 100644 --- a/docs/classes/YooKassa-Model-CurrencyCode.md +++ b/docs/classes/YooKassa-Model-CurrencyCode.md @@ -261,10 +261,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 74a021ae..d1cb83d0 100644 --- a/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md +++ b/docs/classes/YooKassa-Model-Deal-AbstractBaseDeal.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8c108c75..a5ebe432 100644 --- a/docs/classes/YooKassa-Model-Deal-CaptureDealData.md +++ b/docs/classes/YooKassa-Model-Deal-CaptureDealData.md @@ -432,10 +432,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1b0ec40c..78cdc57e 100644 --- a/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md +++ b/docs/classes/YooKassa-Model-Deal-DealBalanceAmount.md @@ -510,10 +510,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ceb1bc2b..4a7e6024 100644 --- a/docs/classes/YooKassa-Model-Deal-DealInterface.md +++ b/docs/classes/YooKassa-Model-Deal-DealInterface.md @@ -258,10 +258,10 @@ public getTest() : bool|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c4b8ebd1..89789358 100644 --- a/docs/classes/YooKassa-Model-Deal-DealStatus.md +++ b/docs/classes/YooKassa-Model-Deal-DealStatus.md @@ -164,10 +164,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 583e2d61..6d84912d 100644 --- a/docs/classes/YooKassa-Model-Deal-DealType.md +++ b/docs/classes/YooKassa-Model-Deal-DealType.md @@ -152,10 +152,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3b3c81b1..4d1f06da 100644 --- a/docs/classes/YooKassa-Model-Deal-FeeMoment.md +++ b/docs/classes/YooKassa-Model-Deal-FeeMoment.md @@ -159,10 +159,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 279cb4bc..a08424e1 100644 --- a/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PaymentDealInfo.md @@ -506,10 +506,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 599aa3fc..c8286a7e 100644 --- a/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-PayoutDealInfo.md @@ -455,10 +455,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 506d9c5a..4176f0d9 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealData.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealData.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7e7cf1d4..e11e8c80 100644 --- a/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md +++ b/docs/classes/YooKassa-Model-Deal-RefundDealInfo.md @@ -502,10 +502,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7d1988b2..ce1d7af0 100644 --- a/docs/classes/YooKassa-Model-Deal-SafeDeal.md +++ b/docs/classes/YooKassa-Model-Deal-SafeDeal.md @@ -1200,10 +1200,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b1eacb21..cf84eee9 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPayment.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e568df59..7d491cf5 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutPaymentType.md @@ -152,10 +152,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5e85d2cb..44198e6a 100644 --- a/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md +++ b/docs/classes/YooKassa-Model-Deal-SettlementPayoutRefund.md @@ -495,10 +495,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 bc65e036..ff1c82f0 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-AbstractDeliveryMethod.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-AbstractDeliveryMethod.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a763407d..a4101233 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodFactory.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9819162b..d6b772e1 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSelf.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodSelf.md @@ -522,10 +522,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 952d29db..205e54d0 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodType.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodType.md @@ -168,10 +168,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 80e73113..af349b02 100644 --- a/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Invoice-DeliveryMethod-DeliveryMethodUnknown.md @@ -444,10 +444,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ea59a884..9fbe4859 100644 --- a/docs/classes/YooKassa-Model-Invoice-Invoice.md +++ b/docs/classes/YooKassa-Model-Invoice-Invoice.md @@ -1137,10 +1137,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6e3e2a27..3bf5ebe3 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetails.md @@ -418,7 +418,7 @@ public setReason(string|null $reason = null) : self ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string OR null | reason | Причина отмены счета. Возможные значения: * ~`invoice_canceled` — %[счет отменен вручную](/docs/support/merchant/payments/invoicing#invoicing__cancel) из личного кабинета ЮKassa; * ~`invoice_expired` — истек срок действия счета, который вы установили в запросе на создание счета в параметре `expires_at`, и по счету нет ни одного успешного платежа; * ~`general_decline` — причина не детализирована, поэтому пользователю следует обратиться к инициатору отмены счета за уточнением подробностей; * ~`payment_canceled` — %[платеж отменен по API](/developers/payment-acceptance/getting-started/payment-process#cancel) при оплате в две стадии; * ~`payment_expired_on_capture` — %[истек срок списания оплаты](/developers/payment-acceptance/getting-started/payment-process#hold) для платежа в две стадии. | +| string OR null | reason | Причина отмены счета. Возможные значения: * ~`invoice_canceled` — %[счет отменен вручную](/docs/support/merchant/invoices-to-clients/invoicing#invoicing__cancel) из личного кабинета ЮKassa; * ~`invoice_expired` — истек срок действия счета, который вы установили в запросе на создание счета в параметре `expires_at`, и по счету нет ни одного успешного платежа; * ~`general_decline` — причина не детализирована, поэтому пользователю следует обратиться к инициатору отмены счета за уточнением подробностей; * ~`payment_canceled` — %[платеж отменен по API](/developers/payment-acceptance/getting-started/payment-process#cancel) при оплате в две стадии; * ~`payment_expired_on_capture` — %[истек срок списания оплаты](/developers/payment-acceptance/getting-started/payment-process#hold) для платежа в две стадии. | **Returns:** self - @@ -489,10 +489,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c7a785e3..4c43828d 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsPartyCode.md @@ -152,10 +152,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5015744a..e8abb834 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md @@ -15,7 +15,7 @@ ### Constants | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | -| public | [INVOICE_CANCELED](../classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md#constant_INVOICE_CANCELED) | | [Счет отменен вручную](https://yookassa.ru/docs/support/merchant/payments/invoicing#invoicing__cancel) из личного кабинета ЮKassa. | +| public | [INVOICE_CANCELED](../classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md#constant_INVOICE_CANCELED) | | [Счет отменен вручную](https://yookassa.ru/docs/support/merchant/invoices-to-clients/invoicing#invoicing__cancel) из личного кабинета ЮKassa. | | public | [INVOICE_EXPIRED](../classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md#constant_INVOICE_EXPIRED) | | Истек срок действия счета, который вы установили в запросе на создание счета в параметре `expires_at`, и по счету нет ни одного успешного платежа | | public | [GENERAL_DECLINE](../classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md#constant_GENERAL_DECLINE) | | Причина не детализирована, поэтому пользователю следует обратиться к инициатору отмены счета за уточнением подробностей | | public | [PAYMENT_CANCELED](../classes/YooKassa-Model-Invoice-InvoiceCancellationDetailsReasonCode.md#constant_PAYMENT_CANCELED) | | [Платеж отменен по API](https://yookassa.ru/developers/payment-acceptance/getting-started/payment-process#cancel) при оплате в две стадии | @@ -57,7 +57,7 @@ ## Constants ###### INVOICE_CANCELED -[Счет отменен вручную](https://yookassa.ru/docs/support/merchant/payments/invoicing#invoicing__cancel) из личного кабинета ЮKassa. +[Счет отменен вручную](https://yookassa.ru/docs/support/merchant/invoices-to-clients/invoicing#invoicing__cancel) из личного кабинета ЮKassa. ```php INVOICE_CANCELED = 'invoice_canceled' @@ -182,10 +182,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 06128d3c..dce63f7e 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceInterface.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceInterface.md @@ -502,10 +502,10 @@ public setMetadata(string|array|null $metadata = null) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8777e2c0..66a48808 100644 --- a/docs/classes/YooKassa-Model-Invoice-InvoiceStatus.md +++ b/docs/classes/YooKassa-Model-Invoice-InvoiceStatus.md @@ -178,10 +178,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d0b147c4..7c978ba3 100644 --- a/docs/classes/YooKassa-Model-Invoice-LineItem.md +++ b/docs/classes/YooKassa-Model-Invoice-LineItem.md @@ -630,10 +630,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b1301c4b..16422afc 100644 --- a/docs/classes/YooKassa-Model-Invoice-PaymentDetails.md +++ b/docs/classes/YooKassa-Model-Invoice-PaymentDetails.md @@ -490,10 +490,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-Metadata.md b/docs/classes/YooKassa-Model-Metadata.md index fdbf3ac1..cf70c48a 100644 --- a/docs/classes/YooKassa-Model-Metadata.md +++ b/docs/classes/YooKassa-Model-Metadata.md @@ -403,10 +403,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-MonetaryAmount.md b/docs/classes/YooKassa-Model-MonetaryAmount.md index 0851d190..f8c0ef53 100644 --- a/docs/classes/YooKassa-Model-MonetaryAmount.md +++ b/docs/classes/YooKassa-Model-MonetaryAmount.md @@ -571,10 +571,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 534d7b92..217d30ac 100644 --- a/docs/classes/YooKassa-Model-Notification-AbstractNotification.md +++ b/docs/classes/YooKassa-Model-Notification-AbstractNotification.md @@ -619,10 +619,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f8710503..da0c7af5 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationCanceled.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7b8de20d..c21f3fc6 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationDealClosed.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a6a39685..b02551ce 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationEventType.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationEventType.md @@ -199,10 +199,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5b9d8f83..0aead7db 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationFactory.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationFactory.md @@ -138,10 +138,10 @@ public factory(array $data) : \YooKassa\Model\Notification\AbstractNotification ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1888e791..d261e5b0 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationInterface.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationInterface.md @@ -100,10 +100,10 @@ public getObject() : \YooKassa\Model\Payment\PaymentInterface|\YooKassa\Model\Re ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ea24e5fa..0c3455db 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutCanceled.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0ae8e4dd..28d0a05a 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationPayoutSucceeded.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2edf385c..41eb7636 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationRefundSucceeded.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3dbb8977..c4f0adbb 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationSucceeded.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0f2512c4..d8f726e7 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationType.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationType.md @@ -130,10 +130,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b8ed2016..06d8fe53 100644 --- a/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md +++ b/docs/classes/YooKassa-Model-Notification-NotificationWaitingForCapture.md @@ -671,10 +671,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f14d8d44..d044ee9b 100644 --- a/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md +++ b/docs/classes/YooKassa-Model-Payment-AuthorizationDetails.md @@ -23,7 +23,7 @@ | ----------:| ---- | ---- | ------- | | public | [$auth_code](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_auth_code) | | Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. | | public | [$authСode](../classes/YooKassa-Model-Payment-AuthorizationDetails.html#property_auth%D0%A1ode) | | Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. | -| public | [$rrn](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_rrn) | | Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. | +| public | [$rrn](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_rrn) | | Retrieval Reference Number — идентификатор банковской транзакции. | | public | [$three_d_secure](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_three_d_secure) | | Данные о прохождении пользователем аутентификации по 3‑D Secure. | | public | [$threeDSecure](../classes/YooKassa-Model-Payment-AuthorizationDetails.md#property_threeDSecure) | | Данные о прохождении пользователем аутентификации по 3‑D Secure. | @@ -104,7 +104,7 @@ --- ***Description*** -Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. +Retrieval Reference Number — идентификатор банковской транзакции. **Type:** string @@ -480,7 +480,7 @@ public setRrn(string|null $rrn = null) : self ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| string OR null | rrn | Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. | +| string OR null | rrn | Retrieval Reference Number — идентификатор банковской транзакции. | **Returns:** self - @@ -573,10 +573,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9407783f..0ad5b0fa 100644 --- a/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md +++ b/docs/classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md @@ -16,7 +16,7 @@ Interface AuthorizationDetailsInterface - Данные об авторизаци | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [getAuthCode()](../classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md#method_getAuthCode) | | Возвращает код авторизации банковской карты. | -| public | [getRrn()](../classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md#method_getRrn) | | Возвращает Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. | +| public | [getRrn()](../classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md#method_getRrn) | | Возвращает Retrieval Reference Number — идентификатор банковской транзакции. | | public | [getThreeDSecure()](../classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md#method_getThreeDSecure) | | Возвращает данные о прохождении пользователем аутентификации по 3‑D Secure. | --- @@ -28,7 +28,7 @@ Interface AuthorizationDetailsInterface - Данные об авторизаци ### Tags | Tag | Version | Description | | --- | ------- | ----------- | -| property | | Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента | +| property | | Retrieval Reference Number — идентификатор банковской транзакции | | property | | Код авторизации банковской карты | | property | | Код авторизации банковской карты | | property | | Данные о прохождении пользователем аутентификации по 3‑D Secure | @@ -45,7 +45,7 @@ public getRrn() : null|string **Summary** -Возвращает Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. +Возвращает Retrieval Reference Number — идентификатор банковской транзакции. **Details:** * Inherited From: [\YooKassa\Model\Payment\AuthorizationDetailsInterface](../classes/YooKassa-Model-Payment-AuthorizationDetailsInterface.md) @@ -100,10 +100,10 @@ public getThreeDSecure() : null|\YooKassa\Model\Payment\ThreeDSecure ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ca1d201c..266a171a 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetails.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetails.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7a6fd45b..a2fb5d61 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetailsPartyCode.md @@ -172,10 +172,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 562ae89d..6f2bc1c3 100644 --- a/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Payment-CancellationDetailsReasonCode.md @@ -349,10 +349,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c81e1119..78968fd9 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-AbstractConfirmation.md @@ -503,10 +503,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a6dcc1ec..6549c868 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationCodeVerification.md @@ -498,10 +498,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ec4d259d..51d94a4a 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationEmbedded.md @@ -570,10 +570,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d562813d..5420412c 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationExternal.md @@ -515,10 +515,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c02d8ae5..70a04327 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationFactory.md @@ -95,10 +95,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 cbc04d95..6e2e7c4c 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationMobileApplication.md @@ -569,10 +569,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a845d0b0..acd6bc7b 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationQr.md @@ -569,10 +569,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 25beb142..5273f12c 100644 --- a/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-Payment-Confirmation-ConfirmationRedirect.md @@ -692,10 +692,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e1f4db3b..ef62fd3a 100644 --- a/docs/classes/YooKassa-Model-Payment-ConfirmationType.md +++ b/docs/classes/YooKassa-Model-Payment-ConfirmationType.md @@ -202,10 +202,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b66799d9..f84ff84d 100644 --- a/docs/classes/YooKassa-Model-Payment-Payment.md +++ b/docs/classes/YooKassa-Model-Payment-Payment.md @@ -1993,10 +1993,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 fb630afa..c5ed2a73 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentInterface.md @@ -479,10 +479,10 @@ public getInvoiceDetails() : \YooKassa\Model\Payment\PaymentInvoiceDetails|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b77cec9a..9eeafe12 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentInvoiceDetails.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentInvoiceDetails.md @@ -435,10 +435,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3679fb54..b6b23b9e 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-AbstractPaymentMethod.md @@ -731,10 +731,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a6912ea4..6ff2976d 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a85527c8..6ea0b5f3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md @@ -20,7 +20,7 @@ | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [$amount](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md#property_amount) | | Сумма НДС | -| public | [$rate](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md#property_rate) | | Налоговая ставка (в процентах). Возможные значения: ~`5`, ~`7`, ~`10`, ~`18` и ~`20`. | +| public | [$rate](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-CalculatedVatData.md#property_rate) | | Налоговая ставка (в процентах). Возможные значения: ~`5`, ~`7`, ~`10` и ~`20`. | | public | [$type](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md#property_type) | | Способ расчёта НДС | | protected | [$_type](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-AbstractVatData.md#property__type) | | | @@ -88,7 +88,7 @@ --- ***Description*** -Налоговая ставка (в процентах). Возможные значения: ~`5`, ~`7`, ~`10`, ~`18` и ~`20`. +Налоговая ставка (в процентах). Возможные значения: ~`5`, ~`7`, ~`10` и ~`20`. **Type:** string @@ -551,10 +551,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 bb727d43..fed9ee84 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-MixedVatData.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ff46ef63..4459da2a 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetails.md @@ -934,10 +934,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 788a5269..63689fe3 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-PayerBankDetailsInterface.md @@ -216,10 +216,10 @@ public getAccount() : string|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 727fb279..db41b7c6 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-UntaxedVatData.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 59fe6fc3..8e131d71 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataFactory.md @@ -99,10 +99,10 @@ public factoryFromArray(array|null $data = [], string|null $type = null) : \YooK ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5de44976..4380ce75 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataInterface.md @@ -102,10 +102,10 @@ public getAmount() : \YooKassa\Model\AmountInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8b953868..8e79d675 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md @@ -15,7 +15,6 @@ - 5 - 5% - 7 - 7% - 10 - 10% -- 18 - 18% - 20 - 20% --- @@ -25,7 +24,7 @@ | public | [RATE_5](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md#constant_RATE_5) | | 5% | | public | [RATE_7](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md#constant_RATE_7) | | 7% | | public | [RATE_10](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md#constant_RATE_10) | | 10% | -| public | [RATE_18](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md#constant_RATE_18) | | 18% | +| public | [RATE_18](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md#constant_RATE_18) | *deprecated* | 18% | | public | [RATE_20](../classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataRate.md#constant_RATE_20) | | 20% | --- @@ -90,13 +89,15 @@ RATE_10 = '10' -###### RATE_18 +###### ~~RATE_18~~ 18% ```php RATE_18 = '18' ``` +**deprecated** +Больше не применяется ###### RATE_20 @@ -189,10 +190,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 4fac5a7b..2535aa60 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-B2b-Sberbank-VatDataType.md @@ -167,10 +167,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6e45ad20..a4a88022 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCard.md @@ -957,10 +957,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3769ef23..42973e53 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardProduct.md @@ -490,10 +490,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 732306f0..44620a8c 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardSource.md @@ -167,10 +167,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 20d19c10..30ef16b9 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-BankCardType.md @@ -269,10 +269,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 99f63f0f..e6c35657 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificate.md @@ -649,10 +649,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5f789bdc..590a25ff 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificateApprovedPaymentArticle.md @@ -636,10 +636,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3ab36033..5b7a79c4 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-ElectronicCertificate-ElectronicCertificatePaymentData.md @@ -503,10 +503,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 daffd17c..8ae22fe8 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodAlfaBank.md @@ -793,10 +793,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 482d73a3..65b2a157 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodApplePay.md @@ -738,10 +738,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ab13bac0..79112e29 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodB2bSberbank.md @@ -939,10 +939,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8c2a62ab..a467675a 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodBankCard.md @@ -801,10 +801,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 052cdf42..66ed14ba 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodCash.md @@ -738,10 +738,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e380112f..1e5b4265 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodElectronicCertificate.md @@ -926,10 +926,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f12a943e..8d596929 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodFactory.md @@ -112,10 +112,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 cc237943..1968e2b4 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodGooglePay.md @@ -738,10 +738,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ae168283..fd378e3f 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodInstallments.md @@ -739,10 +739,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1c01a8da..d32a1caf 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodMobileBalance.md @@ -792,10 +792,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3e814746..57abed08 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodPsb.md @@ -739,10 +739,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 504f01ed..5c4befc6 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodQiwi.md @@ -739,10 +739,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 63747c1f..795a0c7c 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberLoan.md @@ -872,10 +872,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3052c225..d676c883 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSberbank.md @@ -858,10 +858,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 07d0a1ba..a93651b4 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodSbp.md @@ -1006,10 +1006,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3f10eefd..1753ba23 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodTinkoffBank.md @@ -804,10 +804,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 46969ad0..226992f2 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodUnknown.md @@ -739,10 +739,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1f621d77..985bfec9 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWebmoney.md @@ -739,10 +739,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c6fe04e1..a29b31ed 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodWechat.md @@ -739,10 +739,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 be3ddb11..5f2cfb07 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-PaymentMethodYooMoney.md @@ -805,10 +805,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 fb34cbc4..e83b4e78 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethod-SbpPayerBankDetails.md @@ -490,10 +490,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 09324409..ecf6d8f6 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethodStatus.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethodStatus.md @@ -168,10 +168,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e44dccbd..3cd779db 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentMethodType.md @@ -354,10 +354,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ea12b7c4..ca4bd07b 100644 --- a/docs/classes/YooKassa-Model-Payment-PaymentStatus.md +++ b/docs/classes/YooKassa-Model-Payment-PaymentStatus.md @@ -178,10 +178,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a8f1a39f..dc2c8fe1 100644 --- a/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md +++ b/docs/classes/YooKassa-Model-Payment-ReceiptRegistrationStatus.md @@ -167,10 +167,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0c934682..09c56791 100644 --- a/docs/classes/YooKassa-Model-Payment-Recipient.md +++ b/docs/classes/YooKassa-Model-Payment-Recipient.md @@ -527,10 +527,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f8a23e09..17a6c5af 100644 --- a/docs/classes/YooKassa-Model-Payment-RecipientInterface.md +++ b/docs/classes/YooKassa-Model-Payment-RecipientInterface.md @@ -94,10 +94,10 @@ public getGatewayId() : string|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c3547c7f..a2d91143 100644 --- a/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md +++ b/docs/classes/YooKassa-Model-Payment-ThreeDSecure.md @@ -435,10 +435,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a17ec53d..d717b94f 100644 --- a/docs/classes/YooKassa-Model-Payment-Transfer.md +++ b/docs/classes/YooKassa-Model-Payment-Transfer.md @@ -882,10 +882,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7cf7a12a..90f29da5 100644 --- a/docs/classes/YooKassa-Model-Payment-TransferInterface.md +++ b/docs/classes/YooKassa-Model-Payment-TransferInterface.md @@ -308,10 +308,10 @@ public getMetadata() : null|\YooKassa\Model\Metadata ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f7b7f1e6..36563faa 100644 --- a/docs/classes/YooKassa-Model-Payment-TransferStatus.md +++ b/docs/classes/YooKassa-Model-Payment-TransferStatus.md @@ -177,10 +177,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9ae5ca65..fd36d9d2 100644 --- a/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md +++ b/docs/classes/YooKassa-Model-Payout-AbstractPayoutDestination.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1c7d5d5b..f0977504 100644 --- a/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md +++ b/docs/classes/YooKassa-Model-Payout-IncomeReceipt.md @@ -644,10 +644,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1f704374..585ee0f4 100644 --- a/docs/classes/YooKassa-Model-Payout-Payout.md +++ b/docs/classes/YooKassa-Model-Payout-Payout.md @@ -1267,10 +1267,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6a621900..a3b7bf6a 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetails.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 469105b4..63842778 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsPartyCode.md @@ -163,10 +163,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 32dbaf32..4b85d2fd 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md @@ -20,6 +20,7 @@ - `recipient_not_found` - Для выплат через СБП: получатель не найден - `recipient_check_failed` - Только для выплат с проверкой получателя. Получатель выплаты не прошел проверку - `identification_required` - Кошелек ЮMoney не идентифицирован. Пополнение анонимного кошелька запрещено +- `self_employed_annual_limit_exceeded` - Превышен лимит на годовой доход самозанятого. --- ### Constants @@ -35,6 +36,7 @@ | public | [RECIPIENT_NOT_FOUND](../classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md#constant_RECIPIENT_NOT_FOUND) | | Для [выплат через СБП](https://yookassa.ru/developers/payouts/making-payouts/sbp): получатель не найден — в выбранном банке или платежном сервисе не найден счет, к которому привязан указанный номер телефона. Следует повторить запрос с новыми данными и новым ключом идемпотентности или выбрать другой способ получения выплаты. | | public | [RECIPIENT_CHECK_FAILED](../classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md#constant_RECIPIENT_CHECK_FAILED) | | Только для выплат с [проверкой получателя](https://yookassa.ru/developers/payouts/scenario-extensions/recipient-check). Получатель выплаты не прошел проверку: имя получателя не совпало с именем владельца счета, на который необходимо перевести деньги. [Что делать в этом случае](https://yookassa.ru/developers/payouts/scenario-extensions/recipient-check#process-results-canceled-recipient-check-failed) | | public | [IDENTIFICATION_REQUIRED](../classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md#constant_IDENTIFICATION_REQUIRED) | | Кошелек ЮMoney не идентифицирован. Пополнение анонимного кошелька запрещено. Пользователю необходимо [идентифицировать кошелек](https://yoomoney.ru/page?id=536136) | +| public | [SELF_EMPLOYED_ANNUAL_LIMIT_EXCEEDED](../classes/YooKassa-Model-Payout-PayoutCancellationDetailsReasonCode.md#constant_SELF_EMPLOYED_ANNUAL_LIMIT_EXCEEDED) | | Только для [выплат самозанятым](https://yookassa.ru/developers/payouts/scenario-extensions/self-employed). Превышен лимит на годовой доход самозанятого. Порекомендуйте получателю выплаты проверить свой доход. | --- ### Properties @@ -160,6 +162,15 @@ IDENTIFICATION_REQUIRED = 'identification_required' ``` + +###### SELF_EMPLOYED_ANNUAL_LIMIT_EXCEEDED +Только для [выплат самозанятым](https://yookassa.ru/developers/payouts/scenario-extensions/self-employed). Превышен лимит на годовой доход самозанятого. Порекомендуйте получателю выплаты проверить свой доход. + +```php +SELF_EMPLOYED_ANNUAL_LIMIT_EXCEEDED = 'self_employed_annual_limit_exceeded' +``` + + --- ## Properties @@ -251,10 +262,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 343d1e10..48b0b6f3 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCard.md @@ -505,10 +505,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 dec9b1c8..eec2f246 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationBankCardCard.md @@ -703,10 +703,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5062deab..ea0635cd 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 18fb4daf..b2df796e 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationSbp.md @@ -651,10 +651,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8b74c6e9..bf2574e6 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationType.md @@ -174,10 +174,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c70e0bbc..6f5f53eb 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutDestinationYooMoney.md @@ -538,10 +538,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2c05aae5..82d94e96 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutInterface.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutInterface.md @@ -238,10 +238,10 @@ public getTest() : bool|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 486df8ff..91bd1dcd 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutSelfEmployed.md @@ -452,10 +452,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 04c82a12..5d9e1f0b 100644 --- a/docs/classes/YooKassa-Model-Payout-PayoutStatus.md +++ b/docs/classes/YooKassa-Model-Payout-PayoutStatus.md @@ -174,10 +174,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 500d4fb6..b3b8b1e2 100644 --- a/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md +++ b/docs/classes/YooKassa-Model-Payout-SbpParticipantBank.md @@ -576,10 +576,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 11451d4d..3d7764d7 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalData.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalData.md @@ -923,10 +923,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 4e9bbf7e..bc284540 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetails.md @@ -489,10 +489,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 bf936b94..fb8358b3 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsPartyCode.md @@ -142,10 +142,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 53eacd02..30f31f6d 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataCancellationDetailsReasonCode.md @@ -142,10 +142,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2fadb865..4a7b570f 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataInterface.md @@ -362,10 +362,10 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata = null) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c3acdd6e..024f5552 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataStatus.md @@ -166,10 +166,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 62cb186f..bc44adb6 100644 --- a/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md +++ b/docs/classes/YooKassa-Model-PersonalData-PersonalDataType.md @@ -155,10 +155,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b4f4d77a..5f4a7e4d 100644 --- a/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md +++ b/docs/classes/YooKassa-Model-Receipt-AdditionalUserProps.md @@ -509,10 +509,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 63f2e4fc..045af94d 100644 --- a/docs/classes/YooKassa-Model-Receipt-AgentType.md +++ b/docs/classes/YooKassa-Model-Receipt-AgentType.md @@ -203,10 +203,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a612c64c..10e0e2a4 100644 --- a/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md +++ b/docs/classes/YooKassa-Model-Receipt-IndustryDetails.md @@ -669,10 +669,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 bf430abf..225e3fb5 100644 --- a/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md +++ b/docs/classes/YooKassa-Model-Receipt-MarkCodeInfo.md @@ -1085,10 +1085,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 103cb74a..9f714c85 100644 --- a/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md +++ b/docs/classes/YooKassa-Model-Receipt-MarkQuantity.md @@ -509,10 +509,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d7caa509..c29a1345 100644 --- a/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md +++ b/docs/classes/YooKassa-Model-Receipt-OperationalDetails.md @@ -602,10 +602,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e3d6c991..a3f53c67 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentMode.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentMode.md @@ -202,10 +202,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 98912212..5f437ca3 100644 --- a/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md +++ b/docs/classes/YooKassa-Model-Receipt-PaymentSubject.md @@ -462,10 +462,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b462f456..f4b7edeb 100644 --- a/docs/classes/YooKassa-Model-Receipt-Receipt.md +++ b/docs/classes/YooKassa-Model-Receipt-Receipt.md @@ -19,7 +19,7 @@ | public | [$additional_user_props](../classes/YooKassa-Model-Receipt-Receipt.md#property_additional_user_props) | | Дополнительный реквизит пользователя (тег в 54 ФЗ — 1084) | | public | [$additionalUserProps](../classes/YooKassa-Model-Receipt-Receipt.md#property_additionalUserProps) | | Дополнительный реквизит пользователя (тег в 54 ФЗ — 1084) | | public | [$customer](../classes/YooKassa-Model-Receipt-Receipt.md#property_customer) | | Информация о плательщике | -| public | [$items](../classes/YooKassa-Model-Receipt-Receipt.md#property_items) | | Список товаров в заказе | +| public | [$items](../classes/YooKassa-Model-Receipt-Receipt.md#property_items) | | Список товаров в заказе. Для чеков по 54-ФЗ: если используете Чеки от ЮKassa, можно передать максимум 80 товаров, если используете стороннюю онлайн-кассу, максимум 100 товаров. Для чеков самозанятых — максимум 6 товаров. | | public | [$receipt_industry_details](../classes/YooKassa-Model-Receipt-Receipt.md#property_receipt_industry_details) | | Отраслевой реквизит чека (тег в 54 ФЗ — 1261) | | public | [$receipt_operational_details](../classes/YooKassa-Model-Receipt-Receipt.md#property_receipt_operational_details) | | Операционный реквизит чека (тег в 54 ФЗ — 1270) | | public | [$receiptIndustryDetails](../classes/YooKassa-Model-Receipt-Receipt.md#property_receiptIndustryDetails) | | Отраслевой реквизит чека (тег в 54 ФЗ — 1261) | @@ -137,7 +137,7 @@ --- ***Description*** -Список товаров в заказе +Список товаров в заказе. Для чеков по 54-ФЗ: если используете Чеки от ЮKassa, можно передать максимум 80 товаров, если используете стороннюю онлайн-кассу, максимум 100 товаров. Для чеков самозанятых — максимум 6 товаров. **Type:** ReceiptItemInterface[] @@ -893,7 +893,7 @@ ReceiptItemInterface, в противном случае будет выброш ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| array OR \YooKassa\Common\ListObjectInterface | items | Список товаров в заказе | +| array OR \YooKassa\Common\ListObjectInterface | items | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров | ##### Throws: | Type | Description | @@ -1068,10 +1068,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8d32b7ec..90f5d504 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomer.md @@ -644,10 +644,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b6b91455..9ea04c4f 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptCustomerInterface.md @@ -140,10 +140,10 @@ public jsonSerialize() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 94a33142..db4d5646 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptInterface.md @@ -181,10 +181,10 @@ public normalize(\YooKassa\Model\AmountInterface $orderAmount, bool $withShippin ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 379ebc1d..3c7b3e6c 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItem.md @@ -1702,10 +1702,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0790a8a2..23a25dc2 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemAmount.md @@ -567,10 +567,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 90cbc7f0..ba96dd82 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemInterface.md @@ -436,10 +436,10 @@ public isShipping() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c10c3ab9..7ece3b19 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptItemMeasure.md @@ -374,10 +374,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8fa9a3d6..2ffa4862 100644 --- a/docs/classes/YooKassa-Model-Receipt-ReceiptType.md +++ b/docs/classes/YooKassa-Model-Receipt-ReceiptType.md @@ -155,10 +155,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9f3cd516..9fa5b0ad 100644 --- a/docs/classes/YooKassa-Model-Receipt-Settlement.md +++ b/docs/classes/YooKassa-Model-Receipt-Settlement.md @@ -488,10 +488,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 da60cc41..6189f48f 100644 --- a/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-SettlementInterface.md @@ -83,10 +83,10 @@ public getAmount() : \YooKassa\Model\AmountInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1a7c7e37..7e2e79df 100644 --- a/docs/classes/YooKassa-Model-Receipt-SettlementType.md +++ b/docs/classes/YooKassa-Model-Receipt-SettlementType.md @@ -168,10 +168,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 945b3f65..53b51afe 100644 --- a/docs/classes/YooKassa-Model-Receipt-Supplier.md +++ b/docs/classes/YooKassa-Model-Receipt-Supplier.md @@ -547,10 +547,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 50de5151..fd475bc9 100644 --- a/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md +++ b/docs/classes/YooKassa-Model-Receipt-SupplierInterface.md @@ -177,10 +177,10 @@ public setInn(null|string $inn) : mixed ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b4814dfb..a63eb972 100644 --- a/docs/classes/YooKassa-Model-Refund-Refund.md +++ b/docs/classes/YooKassa-Model-Refund-Refund.md @@ -33,7 +33,9 @@ | public | [$paymentId](../classes/YooKassa-Model-Refund-Refund.md#property_paymentId) | | Идентификатор платежа | | public | [$receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property_receipt_registration) | | Статус регистрации чека | | public | [$receiptRegistration](../classes/YooKassa-Model-Refund-Refund.md#property_receiptRegistration) | | Статус регистрации чека | +| public | [$refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property_refund_authorization_details) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refund_method](../classes/YooKassa-Model-Refund-Refund.md#property_refund_method) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | +| public | [$refundAuthorizationDetails](../classes/YooKassa-Model-Refund-Refund.md#property_refundAuthorizationDetails) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refundMethod](../classes/YooKassa-Model-Refund-Refund.md#property_refundMethod) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | | public | [$sources](../classes/YooKassa-Model-Refund-Refund.md#property_sources) | | Данные о том, с какого магазина и какую сумму нужно удержать для проведения возврата | | public | [$status](../classes/YooKassa-Model-Refund-Refund.md#property_status) | | Статус возврата | @@ -45,6 +47,8 @@ | protected | [$_id](../classes/YooKassa-Model-Refund-Refund.md#property__id) | | | | protected | [$_payment_id](../classes/YooKassa-Model-Refund-Refund.md#property__payment_id) | | | | protected | [$_receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property__receipt_registration) | | | +| protected | [$_refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property__refund_authorization_details) | | | +| protected | [$_refund_method](../classes/YooKassa-Model-Refund-Refund.md#property__refund_method) | | | | protected | [$_sources](../classes/YooKassa-Model-Refund-Refund.md#property__sources) | | | | protected | [$_status](../classes/YooKassa-Model-Refund-Refund.md#property__status) | | | @@ -66,6 +70,7 @@ | public | [getId()](../classes/YooKassa-Model-Refund-Refund.md#method_getId) | | Возвращает идентификатор возврата платежа. | | public | [getPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_getPaymentId) | | Возвращает идентификатор платежа. | | public | [getReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_getReceiptRegistration) | | Возвращает статус регистрации чека. | +| public | [getRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundAuthorizationDetails) | | Возвращает refund_authorization_details. | | public | [getRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundMethod) | | Возвращает метод возврата. | | public | [getSources()](../classes/YooKassa-Model-Refund-Refund.md#method_getSources) | | Возвращает информацию о распределении денег — сколько и в какой магазин нужно перевести. | | public | [getStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_getStatus) | | Возвращает статус текущего возврата. | @@ -83,6 +88,7 @@ | public | [setId()](../classes/YooKassa-Model-Refund-Refund.md#method_setId) | | Устанавливает идентификатор возврата. | | public | [setPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_setPaymentId) | | Устанавливает идентификатор платежа. | | public | [setReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_setReceiptRegistration) | | Устанавливает статус регистрации чека. | +| public | [setRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundAuthorizationDetails) | | Устанавливает refund_authorization_details. | | public | [setRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundMethod) | | Устанавливает метод возврата. | | public | [setSources()](../classes/YooKassa-Model-Refund-Refund.md#method_setSources) | | Устанавливает sources (массив распределения денег между магазинами). | | public | [setStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_setStatus) | | Устанавливает статус возврата платежа. | @@ -268,6 +274,18 @@ MAX_LENGTH_DESCRIPTION = 250 **Details:** + +#### public $refund_authorization_details : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** + + #### public $refund_method : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -280,6 +298,18 @@ MAX_LENGTH_DESCRIPTION = 250 **Details:** + +#### public $refundAuthorizationDetails : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** + + #### public $refundMethod : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -380,6 +410,22 @@ MAX_LENGTH_DESCRIPTION = 250 **Details:** + +#### protected $_refund_authorization_details : ?\YooKassa\Model\Refund\RefundAuthorizationDetails +--- +**Type:** RefundAuthorizationDetails +Данные об авторизации возврата +**Details:** + + + +#### protected $_refund_method : ?\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod +--- +**Type:** AbstractRefundMethod +Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа. +**Details:** + + #### protected $_sources : ?\YooKassa\Common\ListObject --- @@ -668,6 +714,23 @@ public getReceiptRegistration() : string|null **Returns:** string|null - Статус регистрации чека + +#### public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null + +```php +public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +``` + +**Summary** + +Возвращает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +**Returns:** \YooKassa\Model\Refund\RefundAuthorizationDetails|null - + + #### public getRefundMethod() : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null @@ -1014,6 +1077,28 @@ public setReceiptRegistration(string|null $receipt_registration = null) : self **Returns:** self - + +#### public setRefundAuthorizationDetails() : self + +```php +public setRefundAuthorizationDetails(\YooKassa\Model\Refund\RefundAuthorizationDetails|array|null $refund_authorization_details = null) : self +``` + +**Summary** + +Устанавливает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Refund\RefundAuthorizationDetails OR array OR null | refund_authorization_details | Данные об авторизации возврата | + +**Returns:** self - + + #### public setRefundMethod() : self @@ -1146,10 +1231,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 new file mode 100644 index 00000000..412b1997 --- /dev/null +++ b/docs/classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md @@ -0,0 +1,445 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\Refund\RefundAuthorizationDetails +### Namespace: [\YooKassa\Model\Refund](../namespaces/yookassa-model-refund.md) +--- +**Summary:** + +Класс, представляющий модель RefundAuthorizationDetails. + +**Description:** + +Данные об авторизации возврата. +Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$rrn](../classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md#property_rrn) | | Retrieval Reference Number — идентификатор банковской транзакции. | + +--- +### 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 | [getRrn()](../classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md#method_getRrn) | | Возвращает rrn. | +| 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 | [setRrn()](../classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md#method_setRrn) | | Устанавливает rrn. | +| 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/Refund/RefundAuthorizationDetails.php](../../lib/Model/Refund/RefundAuthorizationDetails.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\Refund\RefundAuthorizationDetails + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $rrn : string +--- +***Description*** + +Retrieval Reference Number — идентификатор банковской транзакции. + +**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 getRrn() : string|null + +```php +public getRrn() : string|null +``` + +**Summary** + +Возвращает rrn. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundAuthorizationDetails](../classes/YooKassa-Model-Refund-RefundAuthorizationDetails.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 setRrn() : self + +```php +public setRrn(string|null $rrn = null) : self +``` + +**Summary** + +Устанавливает rrn. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\RefundAuthorizationDetails](../classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | rrn | Retrieval Reference Number — идентификатор банковской транзакции. | + +**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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 52434657..87709dd4 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetails.md @@ -491,10 +491,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2daa887f..640c6469 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md @@ -164,10 +164,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f7c9c8ef..e0806c1e 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md +++ b/docs/classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md @@ -232,10 +232,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 4e864fd6..2cbb284b 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundInterface.md +++ b/docs/classes/YooKassa-Model-Refund-RefundInterface.md @@ -221,10 +221,10 @@ public getDeal() : null|\YooKassa\Model\Deal\RefundDealInfo ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 124d1ba3..40e476a6 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-AbstractRefundMethod.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5ec7c04e..8de18483 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundArticle.md @@ -636,10 +636,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 05b68ad0..e89efaa9 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-ElectronicCertificate-ElectronicCertificateRefundData.md @@ -504,10 +504,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 45ccaee8..5671a33b 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodElectronicCertificate.md @@ -581,10 +581,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 415462aa..959b8e76 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b368fbc4..fc8ea180 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodSbp.md @@ -514,10 +514,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0035fe31..59ae5961 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethod-RefundMethodUnknown.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 4abecdd8..47e55d6b 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundMethodType.md +++ b/docs/classes/YooKassa-Model-Refund-RefundMethodType.md @@ -168,10 +168,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 18b552e7..aac2927c 100644 --- a/docs/classes/YooKassa-Model-Refund-RefundStatus.md +++ b/docs/classes/YooKassa-Model-Refund-RefundStatus.md @@ -161,10 +161,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 4e31e35a..bda3f2b4 100644 --- a/docs/classes/YooKassa-Model-Refund-Source.md +++ b/docs/classes/YooKassa-Model-Refund-Source.md @@ -608,10 +608,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6b73ef2f..f499d5b5 100644 --- a/docs/classes/YooKassa-Model-Refund-SourceInterface.md +++ b/docs/classes/YooKassa-Model-Refund-SourceInterface.md @@ -209,10 +209,10 @@ public setPlatformFeeAmount(\YooKassa\Model\AmountInterface|array|null $platform ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 new file mode 100644 index 00000000..613a6303 --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md @@ -0,0 +1,454 @@ +# [YooKassa API SDK](../home.md) + +# Abstract Class: \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation +### Namespace: [\YooKassa\Model\SavePaymentMethod\Confirmation](../namespaces/yookassa-model-savepaymentmethod-confirmation.md) +--- +**Summary:** + +Класс, представляющий модель AbstractConfirmation. + +**Description:** + +Выбранный сценарий подтверждения привязки. +Присутствует, когда привязка ожидает подтверждения от пользователя. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$type](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md#property_type) | | Код сценария подтверждения | +| protected | [$_type](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.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 | [getType()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md#method_getType) | | Возвращает type. | +| 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 | [setType()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md#method_setType) | | Устанавливает type. | +| 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/SavePaymentMethod/Confirmation/AbstractConfirmation.php](../../lib/Model/SavePaymentMethod/Confirmation/AbstractConfirmation.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $type : string +--- +***Description*** + +Код сценария подтверждения + +**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 getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.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 setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..ccb03161 --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md @@ -0,0 +1,107 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationFactory +### Namespace: [\YooKassa\Model\SavePaymentMethod\Confirmation](../namespaces/yookassa-model-savepaymentmethod-confirmation.md) +--- +**Summary:** + +Класс, представляющий модель ConfirmationFactory. + +**Description:** + +Фабрика создания объекта сценария подтверждения привязки из массива. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [factory()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md#method_factory) | | Фабричный метод создания объекта сценария подтверждения привязки по типу. | +| public | [factoryFromArray()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md#method_factoryFromArray) | | Фабричный метод создания объекта сценария подтверждения привязки из массива. | + +--- +### Details +* File: [lib/Model/SavePaymentMethod/Confirmation/ConfirmationFactory.php](../../lib/Model/SavePaymentMethod/Confirmation/ConfirmationFactory.php) +* Package: YooKassa\Model +* Class Hierarchy: + * \YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationFactory + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Methods + +#### public factory() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation + +```php +public factory(string|null $type) : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation +``` + +**Summary** + +Фабричный метод создания объекта сценария подтверждения привязки по типу. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationFactory](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код сценария подтверждения | + +**Returns:** \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation - + + + +#### public factoryFromArray() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation + +```php +public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation +``` + +**Summary** + +Фабричный метод создания объекта сценария подтверждения привязки из массива. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationFactory](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array | data | Массив данных сценария подтверждения привязки | +| null OR string | type | Тип сценария подтверждения привязки | + +**Returns:** \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..51ae1c5e --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md @@ -0,0 +1,640 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect +### Namespace: [\YooKassa\Model\SavePaymentMethod\Confirmation](../namespaces/yookassa-model-savepaymentmethod-confirmation.md) +--- +**Summary:** + +Класс, представляющий модель ConfirmationRedirect. + +**Description:** + +Перенаправление пользователя на сайт ЮKassa для подтверждения привязки или страницу банка-эмитента для аутентификации по 3-D Secure. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$confirmation_url](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#property_confirmation_url) | | URL, на который необходимо перенаправить пользователя для подтверждения привязки. | +| public | [$confirmationUrl](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#property_confirmationUrl) | | URL, на который необходимо перенаправить пользователя для подтверждения привязки. | +| public | [$enforce](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#property_enforce) | | Запрос на проведение платежа с аутентификацией по 3-D Secure. Будет работать, если оплату банковской картой вы по умолчанию принимаете без подтверждения платежа пользователем. В остальных случаях аутентификацией по 3-D Secure будет управлять ЮKassa. Если хотите принимать платежи без дополнительного подтверждения пользователем, напишите вашему менеджеру ЮKassa. | +| public | [$return_url](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#property_return_url) | | URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. | +| public | [$returnUrl](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#property_returnUrl) | | URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. | +| public | [$type](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md#property_type) | | Код сценария подтверждения | +| protected | [$_type](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md#property__type) | | | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#method___construct) | | | +| 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 | [getConfirmationUrl()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#method_getConfirmationUrl) | | Возвращает confirmation_url. | +| public | [getEnforce()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#method_getEnforce) | | Возвращает enforce. | +| public | [getReturnUrl()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#method_getReturnUrl) | | Возвращает return_url. | +| public | [getType()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md#method_getType) | | Возвращает type. | +| 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 | [setConfirmationUrl()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#method_setConfirmationUrl) | | Устанавливает confirmation_url. | +| public | [setEnforce()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#method_setEnforce) | | Устанавливает enforce. | +| public | [setReturnUrl()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md#method_setReturnUrl) | | Устанавливает return_url. | +| public | [setType()](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md#method_setType) | | Устанавливает type. | +| 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/SavePaymentMethod/Confirmation/ConfirmationRedirect.php](../../lib/Model/SavePaymentMethod/Confirmation/ConfirmationRedirect.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md) + * \YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $confirmation_url : string +--- +***Description*** + +URL, на который необходимо перенаправить пользователя для подтверждения привязки. + +**Type:** string + +**Details:** + + + +#### public $confirmationUrl : string +--- +***Description*** + +URL, на который необходимо перенаправить пользователя для подтверждения привязки. + +**Type:** string + +**Details:** + + + +#### public $enforce : bool +--- +***Description*** + +Запрос на проведение платежа с аутентификацией по 3-D Secure. Будет работать, если оплату банковской картой вы по умолчанию принимаете без подтверждения платежа пользователем. В остальных случаях аутентификацией по 3-D Secure будет управлять ЮKassa. Если хотите принимать платежи без дополнительного подтверждения пользователем, напишите вашему менеджеру ЮKassa. + +**Type:** bool + +**Details:** + + + +#### public $return_url : string +--- +***Description*** + +URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. + +**Type:** string + +**Details:** + + + +#### public $returnUrl : string +--- +***Description*** + +URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код сценария подтверждения + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md) + + + +#### protected $_type : ?string +--- +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | 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 getConfirmationUrl() : string|null + +```php +public getConfirmationUrl() : string|null +``` + +**Summary** + +Возвращает confirmation_url. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) + +**Returns:** string|null - + + + +#### public getEnforce() : bool|null + +```php +public getEnforce() : bool|null +``` + +**Summary** + +Возвращает enforce. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) + +**Returns:** bool|null - + + + +#### public getReturnUrl() : string|null + +```php +public getReturnUrl() : string|null +``` + +**Summary** + +Возвращает return_url. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) + +**Returns:** string|null - + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.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 setConfirmationUrl() : self + +```php +public setConfirmationUrl(string|null $confirmation_url = null) : self +``` + +**Summary** + +Устанавливает confirmation_url. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | confirmation_url | URL, на который необходимо перенаправить пользователя для подтверждения привязки. | + +**Returns:** self - + + + +#### public setEnforce() : self + +```php +public setEnforce(bool|null $enforce = null) : self +``` + +**Summary** + +Устанавливает enforce. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| bool OR null | enforce | Запрос на проведение платежа с аутентификацией по 3-D Secure. | + +**Returns:** self - + + + +#### public setReturnUrl() : self + +```php +public setReturnUrl(string|null $return_url = null) : self +``` + +**Summary** + +Устанавливает return_url. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | return_url | URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..c0261eac --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.md @@ -0,0 +1,161 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationType +### Namespace: [\YooKassa\Model\SavePaymentMethod\Confirmation](../namespaces/yookassa-model-savepaymentmethod-confirmation.md) +--- +**Summary:** + +Класс, представляющий модель ConfirmationType. + +**Description:** + +Код сценария подтверждения пользователем привязки платежного средства к вашему магазину в ЮKassa. Фиксированное значение: +~`redirect` — Перенаправление пользователя на сайт ЮKassa для подтверждения привязки или страницу банка-эмитента для аутентификации по 3-D Secure. + +--- +### Constants +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [REDIRECT](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.md#constant_REDIRECT) | | Перенаправление пользователя на сайт ЮKassa для подтверждения привязки или страницу банка-эмитента для аутентификации по 3-D Secure. | + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$validValues](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.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/SavePaymentMethod/Confirmation/ConfirmationType.php](../../lib/Model/SavePaymentMethod/Confirmation/ConfirmationType.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + * \YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationType + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Constants + +###### REDIRECT +Перенаправление пользователя на сайт ЮKassa для подтверждения привязки или страницу банка-эмитента для аутентификации по 3-D Secure. + +```php +REDIRECT = 'redirect' +``` + + + +--- +## 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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md new file mode 100644 index 00000000..9d922ae1 --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md @@ -0,0 +1,929 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\SavePaymentMethod\SavePaymentMethod +### Namespace: [\YooKassa\Model\SavePaymentMethod](../namespaces/yookassa-model-savepaymentmethod.md) +--- +**Summary:** + +Класс, представляющий модель SavePaymentMethod. + +**Description:** + +Сохраненный способ оплаты. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$card](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_card) | | Данные банковской карты | +| public | [$confirmation](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_confirmation) | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | +| public | [$holder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | +| public | [$id](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_id) | | Идентификатор сохраненного способа оплаты. | +| public | [$saved](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | +| public | [$status](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_status) | | Статус проверки и сохранения способа оплаты. | +| public | [$title](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_title) | | Название способа оплаты. | +| public | [$type](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_type) | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | +| protected | [$_card](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__card) | | Данные банковской карты | +| protected | [$_confirmation](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__confirmation) | | | +| protected | [$_holder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__holder) | | Данные магазина, для которого сохраняется способ оплаты. | +| protected | [$_id](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__id) | | Идентификатор сохраненного способа оплаты. | +| protected | [$_saved](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | +| protected | [$_status](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__status) | | Статус проверки и сохранения способа оплаты. | +| protected | [$_title](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__title) | | Название способа оплаты. | +| protected | [$_type](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__type) | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +--- +### 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 | [getCard()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getCard) | | Возвращает card. | +| public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getConfirmation) | | Возвращает confirmation. | +| public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getHolder) | | Возвращает holder. | +| public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getSaved) | | Возвращает saved. | +| public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getStatus) | | Возвращает status. | +| public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getTitle) | | Возвращает title. | +| public | [getType()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getType) | | Возвращает type. | +| 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 | [setCard()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setCard) | | Устанавливает card. | +| public | [setConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setConfirmation) | | Устанавливает confirmation. | +| public | [setHolder()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setHolder) | | Устанавливает holder. | +| public | [setId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setSaved()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setSaved) | | Устанавливает saved. | +| public | [setStatus()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setStatus) | | Устанавливает status. | +| public | [setTitle()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setTitle) | | Устанавливает title. | +| public | [setType()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setType) | | Устанавливает type. | +| 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/SavePaymentMethod/SavePaymentMethod.php](../../lib/Model/SavePaymentMethod/SavePaymentMethod.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\SavePaymentMethod\SavePaymentMethod +* Implements: + * [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $card : \YooKassa\Model\Payment\PaymentMethod\BankCard +--- +***Description*** + +Данные банковской карты + +**Type:** BankCard + +**Details:** + + + +#### public $confirmation : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation +--- +***Description*** + +Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. + +**Type:** AbstractConfirmation + +**Details:** + + + +#### public $holder : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder +--- +***Description*** + +Данные магазина, для которого сохраняется способ оплаты. + +**Type:** SavePaymentMethodHolder + +**Details:** + + + +#### public $id : string +--- +***Description*** + +Идентификатор сохраненного способа оплаты. + +**Type:** string + +**Details:** + + + +#### public $saved : bool +--- +***Description*** + +Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. + +**Type:** bool + +**Details:** + + + +#### public $status : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodStatus +--- +***Description*** + +Статус проверки и сохранения способа оплаты. + +**Type:** SavePaymentMethodStatus + +**Details:** + + + +#### public $title : string +--- +***Description*** + +Название способа оплаты. + +**Type:** string + +**Details:** + + + +#### public $type : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodType +--- +***Description*** + +Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + +**Type:** SavePaymentMethodType + +**Details:** + + + +#### protected $_card : ?\YooKassa\Model\Payment\PaymentMethod\BankCard +--- +**Summary** + +Данные банковской карты + +**Type:** BankCard + +**Details:** + + + +#### protected $_confirmation : ?\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation +--- +**Type:** AbstractConfirmation + +**Details:** + + + +#### protected $_holder : ?\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder +--- +**Summary** + +Данные магазина, для которого сохраняется способ оплаты. + +**Type:** SavePaymentMethodHolder + +**Details:** + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор сохраненного способа оплаты. + +**Type:** ?string + +**Details:** + + + +#### protected $_saved : ?bool +--- +**Summary** + +Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. + +***Description*** + +* true — способ оплаты сохранен для автоплатежей и выплат; +* false — способ оплаты не сохранен. + +**Type:** ?bool + +**Details:** + + + +#### protected $_status : ?string +--- +**Summary** + +Статус проверки и сохранения способа оплаты. + +**Type:** ?string + +**Details:** + + + +#### protected $_title : ?string +--- +**Summary** + +Название способа оплаты. + +**Type:** ?string + +**Details:** + + + +#### protected $_type : ?string +--- +**Summary** + +Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + +**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 getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null + +```php +public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null +``` + +**Summary** + +Возвращает card. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\BankCard|null - + + + +#### public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null + +```php +public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null +``` + +**Summary** + +Возвращает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null - + + + +#### public getHolder() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null + +```php +public getHolder() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null +``` + +**Summary** + +Возвращает holder. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null - + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** string|null - + + + +#### public getSaved() : bool|null + +```php +public getSaved() : bool|null +``` + +**Summary** + +Возвращает saved. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** bool|null - + + + +#### public getStatus() : string|null + +```php +public getStatus() : string|null +``` + +**Summary** + +Возвращает status. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** string|null - + + + +#### public getTitle() : string|null + +```php +public getTitle() : string|null +``` + +**Summary** + +Возвращает title. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** string|null - + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.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 setCard() : self + +```php +public setCard(\YooKassa\Model\Payment\PaymentMethod\BankCard|array|null $card = null) : self +``` + +**Summary** + +Устанавливает card. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Payment\PaymentMethod\BankCard OR array OR null | card | Данные банковской карты. | + +**Returns:** self - + + + +#### public setConfirmation() : self + +```php +public setConfirmation(\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|array|null $confirmation = null) : self +``` + +**Summary** + +Устанавливает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation OR array OR null | confirmation | Выбранный сценарий подтверждения привязки. | + +**Returns:** self - + + + +#### public setHolder() : self + +```php +public setHolder(\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|array|null $holder = null) : self +``` + +**Summary** + +Устанавливает holder. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder OR array OR null | holder | Данные магазина, для которого сохраняется способ оплаты. | + +**Returns:** self - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор сохраненного способа оплаты. | + +**Returns:** self - + + + +#### public setSaved() : self + +```php +public setSaved(bool|null $saved = null) : self +``` + +**Summary** + +Устанавливает saved. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| bool OR null | saved | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | + +**Returns:** self - + + + +#### public setStatus() : self + +```php +public setStatus(string|null $status = null) : self +``` + +**Summary** + +Устанавливает status. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | status | Статус проверки и сохранения способа оплаты. | + +**Returns:** self - + + + +#### public setTitle() : self + +```php +public setTitle(string|null $title = null) : self +``` + +**Summary** + +Устанавливает title. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | title | Название способа оплаты. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +**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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..98a01bd9 --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md @@ -0,0 +1,524 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder +### Namespace: [\YooKassa\Model\SavePaymentMethod](../namespaces/yookassa-model-savepaymentmethod.md) +--- +**Summary:** + +Класс, представляющий модель SavePaymentMethodHolder. + +**Description:** + +Данные магазина, для которого сохраняется способ оплаты. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$account_id](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#property_account_id) | | Идентификатор магазина в ЮKassa. | +| public | [$accountId](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#property_accountId) | | Идентификатор магазина в ЮKassa. | +| public | [$gateway_id](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#property_gateway_id) | | Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. | +| public | [$gatewayId](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#property_gatewayId) | | Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. | + +--- +### 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 | [getAccountId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#method_getAccountId) | | Возвращает account_id. | +| public | [getGatewayId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#method_getGatewayId) | | Возвращает gateway_id. | +| 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 | [setAccountId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#method_setAccountId) | | Устанавливает account_id. | +| public | [setGatewayId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md#method_setGatewayId) | | Устанавливает gateway_id. | +| 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/SavePaymentMethod/SavePaymentMethodHolder.php](../../lib/Model/SavePaymentMethod/SavePaymentMethodHolder.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $account_id : string +--- +***Description*** + +Идентификатор магазина в ЮKassa. + +**Type:** string + +**Details:** + + + +#### public $accountId : string +--- +***Description*** + +Идентификатор магазина в ЮKassa. + +**Type:** string + +**Details:** + + + +#### public $gateway_id : string +--- +***Description*** + +Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. + +**Type:** string + +**Details:** + + + +#### public $gatewayId : string +--- +***Description*** + +Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. + +**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 getAccountId() : string|null + +```php +public getAccountId() : string|null +``` + +**Summary** + +Возвращает account_id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md) + +**Returns:** string|null - + + + +#### public getGatewayId() : string|null + +```php +public getGatewayId() : string|null +``` + +**Summary** + +Возвращает gateway_id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.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 setAccountId() : self + +```php +public setAccountId(string|null $account_id = null) : self +``` + +**Summary** + +Устанавливает account_id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | account_id | Идентификатор магазина в ЮKassa. | + +**Returns:** self - + + + +#### public setGatewayId() : self + +```php +public setGatewayId(string|null $gateway_id = null) : self +``` + +**Summary** + +Устанавливает gateway_id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..c51d7b02 --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md @@ -0,0 +1,209 @@ +# [YooKassa API SDK](../home.md) + +# Interface: SavePaymentMethodInterface +### Namespace: [\YooKassa\Model\SavePaymentMethod](../namespaces/yookassa-model-savepaymentmethod.md) +--- +**Summary:** + +Interface SavePaymentMethodInterface. + +**Description:** + +Сохраненный способ оплаты. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [getCard()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getCard) | | Возвращает card. | +| 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 | [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) | | Возвращает название способа оплаты. | +| public | [getType()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md#method_getType) | | Возвращает код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +--- +### Details +* File: [lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php](../../lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php) +* Package: \YooKassa\Model +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | +| property | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | +| property | | Идентификатор сохраненного способа оплаты. | +| property | | Признак сохранения способа оплаты для [автоплатежей](/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | +| property | | Статус проверки и сохранения способа оплаты. | +| property | | Данные магазина, для которого сохраняется способ оплаты. | +| property | | Название способа оплаты. | +| property | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | + +--- +## Methods + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** string|null - + + + +#### public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null + +```php +public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null +``` + +**Summary** + +Возвращает card. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\BankCard|null - + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает идентификатор сохраненного способа оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** string|null - + + + +#### public getSaved() : bool|null + +```php +public getSaved() : bool|null +``` + +**Summary** + +Возвращает признак сохранения способа оплаты для %[автоплатежей](/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** bool|null - + + + +#### public getStatus() : string|null + +```php +public getStatus() : string|null +``` + +**Summary** + +Возвращает статус проверки и сохранения способа оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** string|null - + + + +#### public getHolder() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null + +```php +public getHolder() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null +``` + +**Summary** + +Возвращает данные магазина, для которого сохраняется способ оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null - + + + +#### public getTitle() : string|null + +```php +public getTitle() : string|null +``` + +**Summary** + +Возвращает название способа оплаты. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** string|null - + + + +#### public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null + +```php +public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null +``` + +**Summary** + +Возвращает выбранный сценарий подтверждения привязки. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) + +**Returns:** \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null - + + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..3f12f48c --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md @@ -0,0 +1,181 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\SavePaymentMethod\SavePaymentMethodStatus +### Namespace: [\YooKassa\Model\SavePaymentMethod](../namespaces/yookassa-model-savepaymentmethod.md) +--- +**Summary:** + +Класс, представляющий модель SavePaymentMethodStatus. + +**Description:** + +Статус проверки и сохранения способа оплаты. Возможные значения: +~`pending` — ожидает действий от пользователя; +~`active` — способ оплаты сохранен, его можно использовать для автоплатежей или выплат; +~`inactive` — способ оплаты не сохранен: пользователь не подтвердил привязку платежного средства или при сохранении способа оплаты возникла ошибка. Чтобы узнать подробности, обратитесь в техническую поддержку ЮKassa. + +--- +### Constants +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [PENDING](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md#constant_PENDING) | | Ожидает действий от пользователя | +| public | [ACTIVE](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md#constant_ACTIVE) | | | +| public | [INACTIVE](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md#constant_INACTIVE) | | Способ оплаты не сохранен: пользователь не подтвердил привязку платежного средства или при сохранении способа оплаты возникла ошибка. Чтобы узнать подробности, обратитесь в техническую поддержку ЮKassa. | + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$validValues](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.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/SavePaymentMethod/SavePaymentMethodStatus.php](../../lib/Model/SavePaymentMethod/SavePaymentMethodStatus.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + * \YooKassa\Model\SavePaymentMethod\SavePaymentMethodStatus + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Constants + +###### PENDING +Ожидает действий от пользователя + +```php +PENDING = 'pending' +``` + + + +###### ACTIVE +```php +ACTIVE = 'active' +``` + + + +###### INACTIVE +Способ оплаты не сохранен: пользователь не подтвердил привязку платежного средства или при сохранении способа оплаты возникла ошибка. Чтобы узнать подробности, обратитесь в техническую поддержку ЮKassa. + +```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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..8d88409c --- /dev/null +++ b/docs/classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.md @@ -0,0 +1,161 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Model\SavePaymentMethod\SavePaymentMethodType +### Namespace: [\YooKassa\Model\SavePaymentMethod](../namespaces/yookassa-model-savepaymentmethod.md) +--- +**Summary:** + +Класс, представляющий модель SavePaymentMethodType. + +**Description:** + +Тип способа оплаты. Возможное значение: +~`bank_card` — банковская карта. + +--- +### Constants +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [BANK_CARD](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.md#constant_BANK_CARD) | | Банковская карта | + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$validValues](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.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/SavePaymentMethod/SavePaymentMethodType.php](../../lib/Model/SavePaymentMethod/SavePaymentMethodType.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + * \YooKassa\Model\SavePaymentMethod\SavePaymentMethodType + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Constants + +###### BANK_CARD +Банковская карта + +```php +BANK_CARD = 'bank_card' +``` + + + +--- +## 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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 2ed97a6c..a93bfc91 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployed.md @@ -870,10 +870,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3addd85b..1df8bdca 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmation.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 db6d1786..e1a7fdb6 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationFactory.md @@ -96,10 +96,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Model ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 97c52f1f..c5f9e314 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationRedirect.md @@ -518,10 +518,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 93f18c9b..6d22aa78 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedConfirmationType.md @@ -151,10 +151,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 14227ab6..3179d2da 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedInterface.md @@ -360,10 +360,10 @@ public setTest(bool $test) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 53daf772..43a5c801 100644 --- a/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md +++ b/docs/classes/YooKassa-Model-SelfEmployed-SelfEmployedStatus.md @@ -187,10 +187,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f6bf17fb..6f15c0e3 100644 --- a/docs/classes/YooKassa-Model-Settings-FiscalizationData.md +++ b/docs/classes/YooKassa-Model-Settings-FiscalizationData.md @@ -9,7 +9,7 @@ **Description:** -Настройки магазина для %[отправки чеков в налоговую](/developers/payment-acceptance/receipts/basics). +Настройки магазина для [отправки чеков в налоговую](/developers/payment-acceptance/receipts/basics). Присутствует, если вы запрашивали настройки магазина, и этот магазин использует решения ЮKassa для отправки чеков. Отсутствует, если магазин еще не включал отправку чеков через ЮKassa. @@ -488,10 +488,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c684ae01..424ff22a 100644 --- a/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md +++ b/docs/classes/YooKassa-Model-Settings-FiscalizationProvider.md @@ -295,10 +295,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 852676da..19f8a49a 100644 --- a/docs/classes/YooKassa-Model-Settings-Me.md +++ b/docs/classes/YooKassa-Model-Settings-Me.md @@ -1014,10 +1014,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6d8356c0..48567d16 100644 --- a/docs/classes/YooKassa-Model-Webhook-Webhook.md +++ b/docs/classes/YooKassa-Model-Webhook-Webhook.md @@ -542,10 +542,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 183184d3..7a41b85f 100644 --- a/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md +++ b/docs/classes/YooKassa-Model-Webhook-WebhookInterface.md @@ -171,10 +171,10 @@ public setUrl(string|null $url = null) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-AbstractListResponse.md b/docs/classes/YooKassa-Request-AbstractListResponse.md index 8e90c269..d4c9112c 100644 --- a/docs/classes/YooKassa-Request-AbstractListResponse.md +++ b/docs/classes/YooKassa-Request-AbstractListResponse.md @@ -502,10 +502,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f05e2c97..28bf8d8b 100644 --- a/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-AbstractDealResponse.md @@ -1232,10 +1232,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f0d0fb03..01ac3b2e 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequest.md @@ -807,10 +807,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 4afa7527..9d642462 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestBuilder.md @@ -280,10 +280,10 @@ protected initCurrentObject() : \YooKassa\Request\Deals\CreateDealRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 47407512..2ae1c657 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestInterface.md @@ -286,10 +286,10 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 757d6454..a27f2cb3 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Deals\CreateDealRequestInterface $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 15716a03..0acaa268 100644 --- a/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-CreateDealResponse.md @@ -1233,10 +1233,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5ce4ea3e..e4942964 100644 --- a/docs/classes/YooKassa-Request-Deals-DealResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealResponse.md @@ -1233,10 +1233,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 50a22b87..5f92ddad 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequest.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequest.md @@ -1488,10 +1488,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 bb894772..6a211f1a 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestBuilder.md @@ -437,10 +437,10 @@ protected initCurrentObject() : \YooKassa\Request\Deals\DealsRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 edee4bce..76a85927 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestInterface.md @@ -765,10 +765,10 @@ public setFullTextSearch(string|null $full_text_search) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 db12ee4b..066ac4ec 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Deals-DealsRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Common\AbstractRequest|\YooKassa\Request\Deals\DealsR ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 902ae593..cc2dc8b1 100644 --- a/docs/classes/YooKassa-Request-Deals-DealsResponse.md +++ b/docs/classes/YooKassa-Request-Deals-DealsResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c7ccc713..1847d93e 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequest.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequest.md @@ -980,10 +980,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 fff6569f..b4ef6b84 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestBuilder.md @@ -439,10 +439,10 @@ protected initCurrentObject() : \YooKassa\Request\Invoices\CreateInvoiceRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c83fad92..821108be 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestInterface.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestInterface.md @@ -395,10 +395,10 @@ public setMetadata(\YooKassa\Model\Metadata|array|null $metadata = null) : \YooK ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5f247d86..7842f3b9 100644 --- a/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Invoices\CreateInvoiceRequestInterface $reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5f41fe40..266021cb 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-AbstractDeliveryMethodData.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-AbstractDeliveryMethodData.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 95d92b01..f6208d9e 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataFactory.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 000296f0..e62c87c4 100644 --- a/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSelf.md +++ b/docs/classes/YooKassa-Request-Invoices-DeliveryMethodData-DeliveryMethodDataSelf.md @@ -460,10 +460,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 277688a4..455bacc2 100644 --- a/docs/classes/YooKassa-Request-Invoices-InvoiceResponse.md +++ b/docs/classes/YooKassa-Request-Invoices-InvoiceResponse.md @@ -1161,10 +1161,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a9c11fc9..1fb83432 100644 --- a/docs/classes/YooKassa-Request-Invoices-PaymentData.md +++ b/docs/classes/YooKassa-Request-Invoices-PaymentData.md @@ -839,10 +839,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 new file mode 100644 index 00000000..78288bdd --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md @@ -0,0 +1,453 @@ +# [YooKassa API SDK](../home.md) + +# Abstract Class: \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation +### Namespace: [\YooKassa\Request\PaymentMethods\ConfirmationData](../namespaces/yookassa-request-paymentmethods-confirmationdata.md) +--- +**Summary:** + +Класс, представляющий модель AbstractConfirmationAttrs. + +**Description:** + +Данные, необходимые для инициирования сценария подтверждения привязки. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$type](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md#property_type) | | Код сценария подтверждения | +| protected | [$_type](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.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 | [getType()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md#method_getType) | | Возвращает type. | +| 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 | [setType()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md#method_setType) | | Устанавливает type. | +| 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/PaymentMethods/ConfirmationData/AbstractConfirmation.php](../../lib/Request/PaymentMethods/ConfirmationData/AbstractConfirmation.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $type : string +--- +***Description*** + +Код сценария подтверждения + +**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 getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.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 setType() : self + +```php +public setType(string|array|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR array 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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..89dddba1 --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md @@ -0,0 +1,107 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationFactory +### Namespace: [\YooKassa\Request\PaymentMethods\ConfirmationData](../namespaces/yookassa-request-paymentmethods-confirmationdata.md) +--- +**Summary:** + +Класс, представляющий модель ConfirmationFactory. + +**Description:** + +Фабрика создания объекта сценария подтверждения привязки из массива. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [factory()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md#method_factory) | | Фабричный метод создания объекта сценария подтверждения привязки по типу. | +| public | [factoryFromArray()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md#method_factoryFromArray) | | Фабричный метод создания объекта сценария подтверждения привязки из массива. | + +--- +### Details +* File: [lib/Request/PaymentMethods/ConfirmationData/ConfirmationFactory.php](../../lib/Request/PaymentMethods/ConfirmationData/ConfirmationFactory.php) +* Package: YooKassa\Model +* Class Hierarchy: + * \YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationFactory + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Methods + +#### public factory() : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation + +```php +public factory(string|null $type) : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation +``` + +**Summary** + +Фабричный метод создания объекта сценария подтверждения привязки по типу. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationFactory](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код сценария подтверждения | + +**Returns:** \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation - + + + +#### public factoryFromArray() : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation + +```php +public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation +``` + +**Summary** + +Фабричный метод создания объекта сценария подтверждения привязки из массива. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationFactory](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array | data | Массив данных сценария подтверждения привязки | +| null OR string | type | Тип сценария подтверждения привязки | + +**Returns:** \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..f93953be --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md @@ -0,0 +1,627 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect +### Namespace: [\YooKassa\Request\PaymentMethods\ConfirmationData](../namespaces/yookassa-request-paymentmethods-confirmationdata.md) +--- +**Summary:** + +Класс, представляющий модель ConfirmationRedirect. + +**Description:** + +Перенаправление пользователя на сайт ЮKassa для подтверждения привязки или страницу банка-эмитента для аутентификации по 3-D Secure. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$enforce](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#property_enforce) | | Запрос на проведение платежа с аутентификацией по 3-D Secure. Будет работать, если оплату банковской картой вы по умолчанию принимаете без подтверждения платежа пользователем. В остальных случаях аутентификацией по 3-D Secure будет управлять ЮKassa. Если хотите принимать платежи без дополнительного подтверждения пользователем, напишите вашему менеджеру ЮKassa. | +| public | [$locale](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#property_locale) | | Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. Формат соответствует [ISO/IEC 15897](https://en.wikipedia.org/wiki/Locale_(computer_software)). Возможные значения: ru_RU, en_US. Регистр важен. | +| public | [$return_url](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#property_return_url) | | URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. | +| public | [$returnUrl](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#property_returnUrl) | | URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. | +| public | [$type](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md#property_type) | | Код сценария подтверждения | +| protected | [$_type](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md#property__type) | | | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#method___construct) | | | +| 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 | [getEnforce()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#method_getEnforce) | | Возвращает enforce. | +| public | [getLocale()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#method_getLocale) | | Возвращает locale. | +| public | [getReturnUrl()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#method_getReturnUrl) | | Возвращает return_url. | +| public | [getType()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md#method_getType) | | Возвращает type. | +| 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 | [setEnforce()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#method_setEnforce) | | Устанавливает enforce. | +| public | [setLocale()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#method_setLocale) | | Устанавливает locale. | +| public | [setReturnUrl()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md#method_setReturnUrl) | | Устанавливает return_url. | +| public | [setType()](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md#method_setType) | | Устанавливает type. | +| 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/PaymentMethods/ConfirmationData/ConfirmationRedirect.php](../../lib/Request/PaymentMethods/ConfirmationData/ConfirmationRedirect.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md) + * \YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $enforce : bool +--- +***Description*** + +Запрос на проведение платежа с аутентификацией по 3-D Secure. Будет работать, если оплату банковской картой вы по умолчанию принимаете без подтверждения платежа пользователем. В остальных случаях аутентификацией по 3-D Secure будет управлять ЮKassa. Если хотите принимать платежи без дополнительного подтверждения пользователем, напишите вашему менеджеру ЮKassa. + +**Type:** bool + +**Details:** + + + +#### public $locale : string +--- +***Description*** + +Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. Формат соответствует [ISO/IEC 15897](https://en.wikipedia.org/wiki/Locale_(computer_software)). Возможные значения: ru_RU, en_US. Регистр важен. + +**Type:** string + +**Details:** + + + +#### public $return_url : string +--- +***Description*** + +URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. + +**Type:** string + +**Details:** + + + +#### public $returnUrl : string +--- +***Description*** + +URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код сценария подтверждения + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md) + + + +#### protected $_type : ?string +--- +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | 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 getEnforce() : bool|null + +```php +public getEnforce() : bool|null +``` + +**Summary** + +Возвращает enforce. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) + +**Returns:** bool|null - + + + +#### public getLocale() : string|null + +```php +public getLocale() : string|null +``` + +**Summary** + +Возвращает locale. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) + +**Returns:** string|null - + + + +#### public getReturnUrl() : string|null + +```php +public getReturnUrl() : string|null +``` + +**Summary** + +Возвращает return_url. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) + +**Returns:** string|null - + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.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 setEnforce() : self + +```php +public setEnforce(bool|null $enforce = null) : self +``` + +**Summary** + +Устанавливает enforce. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| bool OR null | enforce | Запрос на проведение платежа с аутентификацией по 3-D Secure. | + +**Returns:** self - + + + +#### public setLocale() : self + +```php +public setLocale(string|null $locale = null) : self +``` + +**Summary** + +Устанавливает locale. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | locale | Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. | + +**Returns:** self - + + + +#### public setReturnUrl() : self + +```php +public setReturnUrl(string|null $return_url = null) : self +``` + +**Summary** + +Устанавливает return_url. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | return_url | URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|array|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR array 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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..8601c098 --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md @@ -0,0 +1,789 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +### Namespace: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) +--- +**Summary:** + +Класс, представляющий модель CreatePaymentMethodRequest. + +**Description:** + +Данные для проверки и сохранения способа оплаты. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$card](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_card) | | Данные банковской карты (необходимы, если вы собираете данные карты пользователей на своей стороне). | +| public | [$client_ip](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_client_ip) | | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | +| 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 | [$type](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#property_type) | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +--- +### 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-PaymentMethods-CreatePaymentMethodRequest.md#method_builder) | | Возвращает билдер объектов запросов создания платежа. | +| public | [clearValidationError()](../classes/YooKassa-Common-AbstractRequest.md#method_clearValidationError) | | Очищает статус валидации текущего запроса. | +| public | [fromArray()](../classes/YooKassa-Common-AbstractObject.md#method_fromArray) | | Устанавливает значения свойств текущего объекта из массива. | +| public | [getCard()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_getCard) | | Возвращает card. | +| public | [getClientIp()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_getClientIp) | | Возвращает client_ip. | +| 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 | [getType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_getType) | | Возвращает type. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| 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) | | Проверяет наличие свойства. | +| 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 | [setCard()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md#method_setCard) | | Устанавливает card. | +| 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 | [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) | | Валидирует текущий запрос, проверяет все ли нужные свойства установлены. | +| 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/PaymentMethods/CreatePaymentMethodRequest.php](../../lib/Request/PaymentMethods/CreatePaymentMethodRequest.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Common\AbstractRequest](../classes/YooKassa-Common-AbstractRequest.md) + * \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +* Implements: + * [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $card : \YooKassa\Request\PaymentMethods\PaymentMethodCard +--- +***Description*** + +Данные банковской карты (необходимы, если вы собираете данные карты пользователей на своей стороне). + +**Type:** PaymentMethodCard + +**Details:** + + + +#### public $client_ip : string +--- +***Description*** + +IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. + +**Type:** string + +**Details:** + + + +#### public $clientIp : string +--- +***Description*** + +IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. + +**Type:** string + +**Details:** + + + +#### public $confirmation : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation +--- +***Description*** + +Данные, необходимые для инициирования сценария подтверждения привязки. + +**Type:** AbstractConfirmation + +**Details:** + + + +#### public $holder : \YooKassa\Request\PaymentMethods\PaymentMethodHolder +--- +***Description*** + +Данные магазина, для которого сохраняется способ оплаты. + +**Type:** PaymentMethodHolder + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + +**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 builder() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder + +```php +Static public builder() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder +``` + +**Summary** + +Возвращает билдер объектов запросов создания платежа. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder - Инстанс билдера объектов запросов + + + +#### 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 getCard() : \YooKassa\Request\PaymentMethods\PaymentMethodCard|null + +```php +public getCard() : \YooKassa\Request\PaymentMethods\PaymentMethodCard|null +``` + +**Summary** + +Возвращает card. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** \YooKassa\Request\PaymentMethods\PaymentMethodCard|null - + + + +#### public getClientIp() : string|null + +```php +public getClientIp() : string|null +``` + +**Summary** + +Возвращает client_ip. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** string|null - + + + +#### public getConfirmation() : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|null + +```php +public getConfirmation() : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|null +``` + +**Summary** + +Возвращает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|null - + + + +#### public getHolder() : \YooKassa\Request\PaymentMethods\PaymentMethodHolder|null + +```php +public getHolder() : \YooKassa\Request\PaymentMethods\PaymentMethodHolder|null +``` + +**Summary** + +Возвращает holder. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** \YooKassa\Request\PaymentMethods\PaymentMethodHolder|null - + + + +#### 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 getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.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 hasType() : bool + +```php +public hasType() : bool +``` + +**Summary** + +Проверяет, были ли установлен код способа оплаты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +**Returns:** bool - True если код способа оплаты был установлен, false если нет + + + +#### 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 setCard() : self + +```php +public setCard(\YooKassa\Request\PaymentMethods\PaymentMethodCard|array|null $card) : self +``` + +**Summary** + +Устанавливает card. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\PaymentMethodCard OR array OR null | card | Данные для проверки и сохранения банковской карты. | + +**Returns:** self - + + + +#### public setClientIp() : self + +```php +public setClientIp(string|null $client_ip = null) : self +``` + +**Summary** + +Устанавливает client_ip. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | client_ip | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | + +**Returns:** self - + + + +#### public setConfirmation() : self + +```php +public setConfirmation(\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|array|null $confirmation = null) : self +``` + +**Summary** + +Устанавливает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation OR array OR null | confirmation | Данные, необходимые для инициирования сценария подтверждения привязки. | + +**Returns:** self - + + + +#### public setHolder() : self + +```php +public setHolder(\YooKassa\Request\PaymentMethods\PaymentMethodHolder|array|null $holder = null) : self +``` + +**Summary** + +Устанавливает holder. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\PaymentMethodHolder OR array OR null | holder | Данные магазина, для которого сохраняется способ оплаты. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +**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\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..50a8018b --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md @@ -0,0 +1,316 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder +### Namespace: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) +--- +**Summary:** + +Класс, представляющий модель CreatePaymentMethodRequestBuilder. + +**Description:** + +Класс билдера объекта запроса на создание платежа, передаваемого в методы клиента API. + +--- +### Examples +Пример использования билдера + +```php +// Создание запроса на создание способа оплаты через билдер +try { + $paymentMethodBuilder = \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest::builder(); + $paymentMethodBuilder + ->setType(\YooKassa\Model\SavePaymentMethod\SavePaymentMethodType::BANK_CARD) + ->setCard(new \YooKassa\Request\PaymentMethods\PaymentMethodCard([ + 'number' => '4100000000000002', + 'expiry_year' => '2025', + 'expiry_month' => '12', + 'cardholder' => 'Ivan Ivanov', + 'csc' => '123', + ])) + ; + + // Создаем объект запроса + $request = $paymentMethodBuilder->build(); + + $idempotenceKey = uniqid('', true); + $response = $client->createPaymentMethod($request, $idempotenceKey); +} catch (Exception $e) { + $response = $e; +} + + +``` + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$currentObject](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#property_currentObject) | | Собираемый объект запроса. | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Common-AbstractRequestBuilder.md#method___construct) | | Конструктор, инициализирует пустой запрос, который в будущем начнём собирать. | +| public | [build()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_build) | | Строит и возвращает объект запроса для отправки в API ЮKassa. | +| public | [setCard()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md#method_setCard) | | Устанавливает card. | +| 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 | [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) | | Инициализирует объект запроса, который в дальнейшем будет собираться билдером | + +--- +### Details +* File: [lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php](../../lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractRequestBuilder](../classes/YooKassa-Common-AbstractRequestBuilder.md) + * \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder + +* 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\PaymentMethods\CreatePaymentMethodRequestInterface|\YooKassa\Common\AbstractRequestInterface + +```php +public build(null|array $options = null) : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface|\YooKassa\Common\AbstractRequestInterface +``` + +**Summary** + +Строит и возвращает объект запроса для отправки в API ЮKassa. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| null OR array | options | Массив параметров для установки в объект запроса | + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface|\YooKassa\Common\AbstractRequestInterface - Инстанс объекта запроса + + + +#### public setCard() : self + +```php +public setCard(\YooKassa\Request\PaymentMethods\PaymentMethodCard|array|null $value = null) : self +``` + +**Summary** + +Устанавливает card. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\PaymentMethodCard OR array OR null | value | Данные для проверки и сохранения банковской карты. | + +**Returns:** self - + + + +#### public setClientIp() : self + +```php +public setClientIp(string|null $value = null) : self +``` + +**Summary** + +Устанавливает client_ip. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | value | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | + +**Returns:** self - + + + +#### public setConfirmation() : self + +```php +public setConfirmation(\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|array|null $value = null) : self +``` + +**Summary** + +Устанавливает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation OR array OR null | value | Данные, необходимые для инициирования сценария подтверждения привязки. | + +**Returns:** self - + + + +#### public setHolder() : self + +```php +public setHolder(\YooKassa\Request\PaymentMethods\PaymentMethodHolder|array|null $value = null) : self +``` + +**Summary** + +Устанавливает holder. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\PaymentMethodHolder OR array OR null | value | Данные магазина, для которого сохраняется способ оплаты. | + +**Returns:** self - + + + +#### 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 setType() : self + +```php +public setType(string|null $value = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | value | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +**Returns:** self - + + + +#### protected initCurrentObject() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest + +```php +protected initCurrentObject() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +``` + +**Summary** + +Инициализирует объект запроса, который в дальнейшем будет собираться билдером + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - Инстанс собираемого объекта запроса к API + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..36cfd701 --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md @@ -0,0 +1,325 @@ +# [YooKassa API SDK](../home.md) + +# Interface: CreatePaymentMethodRequestInterface +### Namespace: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) +--- +**Summary:** + +Класс, представляющий модель CreatePaymentMethodRequest. + +**Description:** + +Данные для проверки и сохранения способа оплаты. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [clearValidationError()](../classes/YooKassa-Common-AbstractRequestInterface.md#method_clearValidationError) | | Очищает статус валидации текущего запроса. | +| public | [getCard()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_getCard) | | Возвращает card. | +| public | [getClientIp()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_getClientIp) | | Возвращает client_ip. | +| 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 | [getType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_getType) | | Возвращает type. | +| 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 | [setType()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md#method_setType) | | Устанавливает type. | +| public | [validate()](../classes/YooKassa-Common-AbstractRequestInterface.md#method_validate) | | Валидирует текущий запрос, проверяет все ли нужные свойства установлены. | + +--- +### Details +* File: [lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php](../../lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php) +* Package: \YooKassa\Model +* Parents: + * [\YooKassa\Common\AbstractRequestInterface](../classes/YooKassa-Common-AbstractRequestInterface.md) +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | +| property | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | +| property | | Данные банковской карты (необходимы, если вы собираете данные карты пользователей на своей стороне). | +| property | | Данные магазина, для которого сохраняется способ оплаты. | +| property | | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | +| property | | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | +| property | | Данные, необходимые для инициирования сценария подтверждения привязки. | + +--- +## Methods + +#### public validate() : bool + +```php +public validate() : bool +``` + +**Summary** + +Валидирует текущий запрос, проверяет все ли нужные свойства установлены. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequestInterface](../classes/YooKassa-Common-AbstractRequestInterface.md) + +**Returns:** bool - True если запрос валиден, false если нет + + + +#### public clearValidationError() : void + +```php +public clearValidationError() : void +``` + +**Summary** + +Очищает статус валидации текущего запроса. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequestInterface](../classes/YooKassa-Common-AbstractRequestInterface.md) + +**Returns:** void - + + + +#### public getLastValidationError() : string|null + +```php +public getLastValidationError() : string|null +``` + +**Summary** + +Возвращает последнюю ошибку валидации. + +**Details:** +* Inherited From: [\YooKassa\Common\AbstractRequestInterface](../classes/YooKassa-Common-AbstractRequestInterface.md) + +**Returns:** string|null - Последняя произошедшая ошибка валидации + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +**Returns:** string|null - + + + +#### public setType() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest + +```php +public setType(string|null $type = null) : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - + + + +#### public getCard() : \YooKassa\Request\PaymentMethods\PaymentMethodCard|null + +```php +public getCard() : \YooKassa\Request\PaymentMethods\PaymentMethodCard|null +``` + +**Summary** + +Возвращает card. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +**Returns:** \YooKassa\Request\PaymentMethods\PaymentMethodCard|null - + + + +#### public setCard() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest + +```php +public setCard(\YooKassa\Request\PaymentMethods\PaymentMethodCard|array|null $card) : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +``` + +**Summary** + +Устанавливает card. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\PaymentMethodCard OR array OR null | card | Данные для проверки и сохранения банковской карты. | + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - + + + +#### public getHolder() : \YooKassa\Request\PaymentMethods\PaymentMethodHolder|null + +```php +public getHolder() : \YooKassa\Request\PaymentMethods\PaymentMethodHolder|null +``` + +**Summary** + +Возвращает holder. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +**Returns:** \YooKassa\Request\PaymentMethods\PaymentMethodHolder|null - + + + +#### public setHolder() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest + +```php +public setHolder(\YooKassa\Request\PaymentMethods\PaymentMethodHolder|array|null $holder = null) : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +``` + +**Summary** + +Устанавливает holder. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\PaymentMethodHolder OR array OR null | holder | Данные магазина, для которого сохраняется способ оплаты. | + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - + + + +#### public getClientIp() : string|null + +```php +public getClientIp() : string|null +``` + +**Summary** + +Возвращает client_ip. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +**Returns:** string|null - + + + +#### public setClientIp() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest + +```php +public setClientIp(string|null $client_ip = null) : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +``` + +**Summary** + +Устанавливает client_ip. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | client_ip | IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. | + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - + + + +#### public getConfirmation() : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|null + +```php +public getConfirmation() : \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|null +``` + +**Summary** + +Возвращает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +**Returns:** \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|null - + + + +#### public setConfirmation() : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest + +```php +public setConfirmation(\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation|array|null $confirmation = null) : \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest +``` + +**Summary** + +Устанавливает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation OR array OR null | confirmation | Данные, необходимые для инициирования сценария подтверждения привязки. | + +**Returns:** \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest - + + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..d065d369 --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md @@ -0,0 +1,83 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestSerializer +### Namespace: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) +--- +**Summary:** + +Класс, представляющий модель CreatePaymentMethodRequest. + +**Description:** + +Класс объекта осуществляющего сериализацию запроса к API на проверку и сохранение способа оплаты. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [serialize()](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md#method_serialize) | | Формирует ассоциативный массив данных из объекта запроса. | + +--- +### Details +* File: [lib/Request/PaymentMethods/CreatePaymentMethodRequestSerializer.php](../../lib/Request/PaymentMethods/CreatePaymentMethodRequestSerializer.php) +* Package: YooKassa\Request +* Class Hierarchy: + * \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestSerializer + +* 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\PaymentMethods\CreatePaymentMethodRequestInterface $request) : array +``` + +**Summary** + +Формирует ассоциативный массив данных из объекта запроса. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestSerializer](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface | request | Объект запроса | + +**Returns:** array - Массив данных для дальнейшего кодирования в JSON + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..13ff2891 --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md @@ -0,0 +1,686 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\PaymentMethodCard +### Namespace: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) +--- +**Summary:** + +Класс, представляющий модель PaymentMethodCard. + +**Description:** + +Данные банковской карты (необходимы, если вы собираете данные карты пользователей на своей стороне). + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$cardholder](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#property_cardholder) | | Имя владельца карты. | +| public | [$csc](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#property_csc) | | Код CVC2 или CVV2, 3 или 4 символа, печатается на обратной стороне карты. | +| public | [$expiry_month](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#property_expiry_month) | | Срок действия, месяц, MM. | +| public | [$expiry_year](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#property_expiry_year) | | Срок действия, год, YYYY. | +| public | [$expiryMonth](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#property_expiryMonth) | | Срок действия, месяц, MM. | +| public | [$expiryYear](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#property_expiryYear) | | Срок действия, год, YYYY. | +| public | [$number](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#property_number) | | Номер банковской карты. | + +--- +### 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 | [getCardholder()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_getCardholder) | | Возвращает имя держателя карты. | +| public | [getCsc()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_getCsc) | | Возвращает CVV2/CVC2 код. | +| public | [getExpiryMonth()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_getExpiryMonth) | | Возвращает месяц срока действия карты. | +| public | [getExpiryYear()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_getExpiryYear) | | Возвращает год срока действия карты. | +| public | [getNumber()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_getNumber) | | Возвращает номер банковской карты. | +| 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 | [setCardholder()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_setCardholder) | | Устанавливает имя держателя карты. | +| public | [setCsc()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_setCsc) | | Устанавливает CVV2/CVC2 код. | +| public | [setExpiryMonth()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_setExpiryMonth) | | Устанавливает месяц срока действия карты. | +| public | [setExpiryYear()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_setExpiryYear) | | Устанавливает год срока действия карты. | +| public | [setNumber()](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md#method_setNumber) | | Устанавливает номер банковской карты. | +| 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/PaymentMethods/PaymentMethodCard.php](../../lib/Request/PaymentMethods/PaymentMethodCard.php) +* Package: YooKassa\Request +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\PaymentMethods\PaymentMethodCard + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $cardholder : string +--- +***Description*** + +Имя владельца карты. + +**Type:** string + +**Details:** + + + +#### public $csc : string +--- +***Description*** + +Код CVC2 или CVV2, 3 или 4 символа, печатается на обратной стороне карты. + +**Type:** string + +**Details:** + + + +#### public $expiry_month : string +--- +***Description*** + +Срок действия, месяц, MM. + +**Type:** string + +**Details:** + + + +#### public $expiry_year : string +--- +***Description*** + +Срок действия, год, YYYY. + +**Type:** string + +**Details:** + + + +#### public $expiryMonth : string +--- +***Description*** + +Срок действия, месяц, MM. + +**Type:** string + +**Details:** + + + +#### public $expiryYear : string +--- +***Description*** + +Срок действия, год, YYYY. + +**Type:** string + +**Details:** + + + +#### public $number : string +--- +***Description*** + +Номер банковской карты. + +**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 getCardholder() : string|null + +```php +public getCardholder() : string|null +``` + +**Summary** + +Возвращает имя держателя карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +**Returns:** string|null - Имя держателя карты + + + +#### public getCsc() : string|null + +```php +public getCsc() : string|null +``` + +**Summary** + +Возвращает CVV2/CVC2 код. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +**Returns:** string|null - CVV2/CVC2 код + + + +#### public getExpiryMonth() : string|null + +```php +public getExpiryMonth() : string|null +``` + +**Summary** + +Возвращает месяц срока действия карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +**Returns:** string|null - Срок действия, месяц, MM + + + +#### public getExpiryYear() : string|null + +```php +public getExpiryYear() : string|null +``` + +**Summary** + +Возвращает год срока действия карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +**Returns:** string|null - Срок действия, год, YYYY + + + +#### public getNumber() : string|null + +```php +public getNumber() : string|null +``` + +**Summary** + +Возвращает номер банковской карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.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 setCardholder() : self + +```php +public setCardholder(string|null $cardholder = null) : self +``` + +**Summary** + +Устанавливает имя держателя карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | cardholder | Имя держателя карты | + +**Returns:** self - + + + +#### public setCsc() : self + +```php +public setCsc(string|null $csc = null) : self +``` + +**Summary** + +Устанавливает CVV2/CVC2 код. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | csc | CVV2/CVC2 код | + +**Returns:** self - + + + +#### public setExpiryMonth() : self + +```php +public setExpiryMonth(string|null $expiry_month = null) : self +``` + +**Summary** + +Устанавливает месяц срока действия карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | expiry_month | Срок действия, месяц, MM | + +**Returns:** self - + + + +#### public setExpiryYear() : self + +```php +public setExpiryYear(string|null $expiry_year = null) : self +``` + +**Summary** + +Устанавливает год срока действия карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | expiry_year | Срок действия, год, YYYY | + +**Returns:** self - + + + +#### public setNumber() : self + +```php +public setNumber(string|null $number = null) : self +``` + +**Summary** + +Устанавливает номер банковской карты. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | number | Номер банковской карты | + +**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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..bbbc3786 --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md @@ -0,0 +1,454 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\PaymentMethodHolder +### Namespace: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) +--- +**Summary:** + +Класс, представляющий модель PaymentMethodHolder. + + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$gateway_id](../classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md#property_gateway_id) | | Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. | +| public | [$gatewayId](../classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md#property_gatewayId) | | Идентификатор субаккаунта. Используется для разделения потоков платежей в рамках одного аккаунта. | + +--- +### 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-Request-PaymentMethods-PaymentMethodHolder.md#method_getGatewayId) | | Возвращает gateway_id. | +| 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-Request-PaymentMethods-PaymentMethodHolder.md#method_setGatewayId) | | Устанавливает gateway_id. | +| 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/PaymentMethods/PaymentMethodHolder.php](../../lib/Request/PaymentMethods/PaymentMethodHolder.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\PaymentMethods\PaymentMethodHolder + +* 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:** + + + +--- +## 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** + +Возвращает gateway_id. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodHolder](../classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.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** + +Устанавливает gateway_id. + +**Details:** +* Inherited From: [\YooKassa\Request\PaymentMethods\PaymentMethodHolder](../classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponse.md b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponse.md new file mode 100644 index 00000000..6e5aa9c9 --- /dev/null +++ b/docs/classes/YooKassa-Request-PaymentMethods-PaymentMethodResponse.md @@ -0,0 +1,944 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\PaymentMethods\PaymentMethodResponse +### Namespace: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) +--- +**Summary:** + +Класс, представляющий модель PaymentMethodResponse. + +**Description:** + +Объект ответа от API, возвращающего информацию о способе оплаты. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$card](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_card) | | Данные банковской карты | +| public | [$confirmation](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_confirmation) | | Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. | +| public | [$holder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_holder) | | Данные магазина, для которого сохраняется способ оплаты. | +| public | [$id](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_id) | | Идентификатор сохраненного способа оплаты. | +| public | [$saved](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | +| public | [$status](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_status) | | Статус проверки и сохранения способа оплаты. | +| public | [$title](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_title) | | Название способа оплаты. | +| public | [$type](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property_type) | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | +| protected | [$_card](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__card) | | Данные банковской карты | +| protected | [$_confirmation](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__confirmation) | | | +| protected | [$_holder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__holder) | | Данные магазина, для которого сохраняется способ оплаты. | +| protected | [$_id](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__id) | | Идентификатор сохраненного способа оплаты. | +| protected | [$_saved](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__saved) | | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | +| protected | [$_status](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__status) | | Статус проверки и сохранения способа оплаты. | +| protected | [$_title](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__title) | | Название способа оплаты. | +| protected | [$_type](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#property__type) | | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +--- +### 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 | [getCard()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getCard) | | Возвращает card. | +| public | [getConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getConfirmation) | | Возвращает confirmation. | +| public | [getHolder()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getHolder) | | Возвращает holder. | +| public | [getId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getId) | | Возвращает id. | +| public | [getSaved()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getSaved) | | Возвращает saved. | +| public | [getStatus()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getStatus) | | Возвращает status. | +| public | [getTitle()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getTitle) | | Возвращает title. | +| public | [getType()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_getType) | | Возвращает type. | +| 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 | [setCard()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setCard) | | Устанавливает card. | +| public | [setConfirmation()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setConfirmation) | | Устанавливает confirmation. | +| public | [setHolder()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setHolder) | | Устанавливает holder. | +| public | [setId()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setId) | | Устанавливает id. | +| public | [setSaved()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setSaved) | | Устанавливает saved. | +| public | [setStatus()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setStatus) | | Устанавливает status. | +| public | [setTitle()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setTitle) | | Устанавливает title. | +| public | [setType()](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md#method_setType) | | Устанавливает type. | +| 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/PaymentMethods/PaymentMethodResponse.php](../../lib/Request/PaymentMethods/PaymentMethodResponse.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + * \YooKassa\Request\PaymentMethods\PaymentMethodResponse + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $card : \YooKassa\Model\Payment\PaymentMethod\BankCard +--- +***Description*** + +Данные банковской карты + +**Type:** BankCard + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### public $confirmation : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation +--- +***Description*** + +Выбранный сценарий подтверждения привязки. Присутствует, когда привязка ожидает подтверждения от пользователя. + +**Type:** AbstractConfirmation + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### public $holder : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder +--- +***Description*** + +Данные магазина, для которого сохраняется способ оплаты. + +**Type:** SavePaymentMethodHolder + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### public $id : string +--- +***Description*** + +Идентификатор сохраненного способа оплаты. + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### public $saved : bool +--- +***Description*** + +Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. + +**Type:** bool + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### public $status : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodStatus +--- +***Description*** + +Статус проверки и сохранения способа оплаты. + +**Type:** SavePaymentMethodStatus + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### public $title : string +--- +***Description*** + +Название способа оплаты. + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### public $type : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodType +--- +***Description*** + +Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + +**Type:** SavePaymentMethodType + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_card : ?\YooKassa\Model\Payment\PaymentMethod\BankCard +--- +**Summary** + +Данные банковской карты + +**Type:** BankCard + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_confirmation : ?\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation +--- +**Type:** AbstractConfirmation + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_holder : ?\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder +--- +**Summary** + +Данные магазина, для которого сохраняется способ оплаты. + +**Type:** SavePaymentMethodHolder + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_id : ?string +--- +**Summary** + +Идентификатор сохраненного способа оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_saved : ?bool +--- +**Summary** + +Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. + +***Description*** + +* true — способ оплаты сохранен для автоплатежей и выплат; +* false — способ оплаты не сохранен. + +**Type:** ?bool + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_status : ?string +--- +**Summary** + +Статус проверки и сохранения способа оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_title : ?string +--- +**Summary** + +Название способа оплаты. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + + + +#### protected $_type : ?string +--- +**Summary** + +Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.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 getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null + +```php +public getCard() : \YooKassa\Model\Payment\PaymentMethod\BankCard|null +``` + +**Summary** + +Возвращает card. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** \YooKassa\Model\Payment\PaymentMethod\BankCard|null - + + + +#### public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null + +```php +public getConfirmation() : \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null +``` + +**Summary** + +Возвращает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|null - + + + +#### public getHolder() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null + +```php +public getHolder() : \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null +``` + +**Summary** + +Возвращает holder. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|null - + + + +#### public getId() : string|null + +```php +public getId() : string|null +``` + +**Summary** + +Возвращает id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** string|null - + + + +#### public getSaved() : bool|null + +```php +public getSaved() : bool|null +``` + +**Summary** + +Возвращает saved. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** bool|null - + + + +#### public getStatus() : string|null + +```php +public getStatus() : string|null +``` + +**Summary** + +Возвращает status. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** string|null - + + + +#### public getTitle() : string|null + +```php +public getTitle() : string|null +``` + +**Summary** + +Возвращает title. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +**Returns:** string|null - + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.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 setCard() : self + +```php +public setCard(\YooKassa\Model\Payment\PaymentMethod\BankCard|array|null $card = null) : self +``` + +**Summary** + +Устанавливает card. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Payment\PaymentMethod\BankCard OR array OR null | card | Данные банковской карты. | + +**Returns:** self - + + + +#### public setConfirmation() : self + +```php +public setConfirmation(\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation|array|null $confirmation = null) : self +``` + +**Summary** + +Устанавливает confirmation. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation OR array OR null | confirmation | Выбранный сценарий подтверждения привязки. | + +**Returns:** self - + + + +#### public setHolder() : self + +```php +public setHolder(\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder|array|null $holder = null) : self +``` + +**Summary** + +Устанавливает holder. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder OR array OR null | holder | Данные магазина, для которого сохраняется способ оплаты. | + +**Returns:** self - + + + +#### public setId() : self + +```php +public setId(string|null $id = null) : self +``` + +**Summary** + +Устанавливает id. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | id | Идентификатор сохраненного способа оплаты. | + +**Returns:** self - + + + +#### public setSaved() : self + +```php +public setSaved(bool|null $saved = null) : self +``` + +**Summary** + +Устанавливает saved. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| bool OR null | saved | Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. | + +**Returns:** self - + + + +#### public setStatus() : self + +```php +public setStatus(string|null $status = null) : self +``` + +**Summary** + +Устанавливает status. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | status | Статус проверки и сохранения способа оплаты. | + +**Returns:** self - + + + +#### public setTitle() : self + +```php +public setTitle(string|null $title = null) : self +``` + +**Summary** + +Устанавливает title. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | title | Название способа оплаты. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. | + +**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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 cf4c4dd2..78e255a7 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequest.md @@ -806,10 +806,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 bcddcdb7..b673f530 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md @@ -471,10 +471,10 @@ protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1cb22551..47b44eaf 100644 --- a/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-AbstractPaymentResponse.md @@ -2049,10 +2049,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c5a502d0..7bfb250b 100644 --- a/docs/classes/YooKassa-Request-Payments-Airline.md +++ b/docs/classes/YooKassa-Request-Payments-Airline.md @@ -690,10 +690,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6641a1fe..be9e2864 100644 --- a/docs/classes/YooKassa-Request-Payments-AirlineInterface.md +++ b/docs/classes/YooKassa-Request-Payments-AirlineInterface.md @@ -123,10 +123,10 @@ public getLegs() : \YooKassa\Request\Payments\LegInterface[]|\YooKassa\Common\Li ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6cac951f..e745db68 100644 --- a/docs/classes/YooKassa-Request-Payments-CancelResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CancelResponse.md @@ -2050,10 +2050,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ab2f355a..12f21f4d 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-AbstractConfirmationAttributes.md @@ -507,10 +507,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 cac572a0..7c6615b8 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesEmbedded.md @@ -535,10 +535,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8e3b875a..a3ac52bc 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesExternal.md @@ -535,10 +535,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2b0fb8b4..8d32a18e 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesFactory.md @@ -90,10 +90,10 @@ public factoryFromArray(array $data, string|null $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d724fd17..e603e663 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesMobileApplication.md @@ -597,10 +597,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 244f9440..84339869 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesQr.md @@ -594,10 +594,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9582335c..6372b898 100644 --- a/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md +++ b/docs/classes/YooKassa-Request-Payments-ConfirmationAttributes-ConfirmationAttributesRedirect.md @@ -644,10 +644,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ec661b01..afd6ec86 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequest.md @@ -938,10 +938,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 846dac85..58067aae 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestBuilder.md @@ -519,10 +519,10 @@ protected initCurrentObject() : \YooKassa\Common\AbstractRequestInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 31a8ed33..bc8aa56a 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestInterface.md @@ -289,10 +289,10 @@ public setDeal(null|array|\YooKassa\Model\Deal\CaptureDealData $deal) : \YooKass ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 39843893..50e18538 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payments\CreateCaptureRequestInterface $reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2ffc3eed..d6e7415a 100644 --- a/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CreateCaptureResponse.md @@ -2050,10 +2050,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a86f6c0d..af6e13c8 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-AbstractPaymentRequest.md#property_amount) | | Сумма | | public | [$amount](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_amount) | | Сумма создаваемого платежа | +| public | [$amount](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.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-подключения | @@ -118,6 +118,7 @@ var_dump($response); | public | [$metadata](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_metadata) | | Метаданные привязанные к платежу | | public | [$payment_method_data](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_payment_method_data) | | Данные используемые для создания метода оплаты | | public | [$payment_method_id](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_payment_method_id) | | Идентификатор записи о сохраненных платежных данных покупателя | +| public | [$payment_order](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_payment_order) | | Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. Необходимо передавать при [оплате ЖКУ](/developers/payment-acceptance/scenario-extensions/utility-payments). | | public | [$payment_token](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_payment_token) | | Одноразовый токен для проведения оплаты, сформированный YooKassa JS widget | | public | [$paymentMethodData](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_paymentMethodData) | | Данные используемые для создания метода оплаты | | public | [$paymentMethodId](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#property_paymentMethodId) | | Идентификатор записи о сохраненных платежных данных покупателя | @@ -159,6 +160,7 @@ var_dump($response); | public | [getMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getMetadata) | | Возвращает данные оплаты установленные мерчантом | | public | [getPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getPaymentMethodData) | | Возвращает данные для создания метода оплаты. | | 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 | [getReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_getReceipt) | | Возвращает чек, если он есть. | | public | [getReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_getReceiver) | | Возвращает реквизиты получателя оплаты. | @@ -178,6 +180,7 @@ var_dump($response); | public | [hasMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasMetadata) | | Проверяет, были ли установлены метаданные заказа. | | public | [hasPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasPaymentMethodData) | | Проверяет установлен ли объект с методом оплаты. | | public | [hasPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasPaymentMethodId) | | Проверяет наличие идентификатора записи о платёжных данных покупателя. | +| public | [hasPaymentOrder()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasPaymentOrder) | | Проверяет, было ли установлено платежное поручение. | | public | [hasPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasPaymentToken) | | Проверяет наличие одноразового токена для проведения оплаты. | | public | [hasReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_hasReceipt) | | Проверяет наличие чека. | | public | [hasReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_hasReceiver) | | Проверяет, были ли установлены реквизиты получателя оплаты. | @@ -202,6 +205,7 @@ var_dump($response); | public | [setMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setMetadata) | | Устанавливает метаданные, привязанные к платежу. | | public | [setPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setPaymentMethodData) | | Устанавливает объект с информацией для создания метода оплаты. | | 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 | [setReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md#method_setReceipt) | | Устанавливает чек. | | public | [setReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md#method_setReceiver) | | Устанавливает реквизиты получателя оплаты. | @@ -266,12 +270,11 @@ MAX_LENGTH_PAYMENT_TOKEN = 10240 --- ***Description*** -Сумма +Сумма создаваемого платежа **Type:** AmountInterface **Details:** -* Inherited From: [\YooKassa\Request\Payments\AbstractPaymentRequest](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md) @@ -279,11 +282,12 @@ MAX_LENGTH_PAYMENT_TOKEN = 10240 --- ***Description*** -Сумма создаваемого платежа +Сумма **Type:** AmountInterface **Details:** +* Inherited From: [\YooKassa\Request\Payments\AbstractPaymentRequest](../classes/YooKassa-Request-Payments-AbstractPaymentRequest.md) @@ -418,6 +422,18 @@ IPv4 или IPv6-адрес покупателя. Если не указан, и **Details:** + +#### public $payment_order : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder +--- +***Description*** + +Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. Необходимо передавать при [оплате ЖКУ](/developers/payment-acceptance/scenario-extensions/utility-payments). + +**Type:** AbstractPaymentOrder + +**Details:** + + #### public $payment_token : string --- @@ -981,6 +997,23 @@ public getPaymentMethodId() : string|null **Returns:** string|null - Идентификатор записи о сохраненных платежных данных покупателя + +#### public getPaymentOrder() : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|null + +```php +public getPaymentOrder() : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|null +``` + +**Summary** + +Возвращает платежное поручение. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +**Returns:** \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|null - + + #### public getPaymentToken() : string|null @@ -1307,6 +1340,23 @@ public hasPaymentMethodId() : bool **Returns:** bool - True если идентификатор задан, false если нет + +#### public hasPaymentOrder() : bool + +```php +public hasPaymentOrder() : bool +``` + +**Summary** + +Проверяет, было ли установлено платежное поручение. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +**Returns:** bool - True если платежное поручение было установлены, false если нет + + #### public hasPaymentToken() : bool @@ -1828,6 +1878,28 @@ public setPaymentMethodId(string|null $payment_method_id) : self **Returns:** self - + +#### public setPaymentOrder() : self + +```php +public setPaymentOrder(\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|array|null $payment_order = null) : self +``` + +**Summary** + +Устанавливает платежное поручение. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequest](../classes/YooKassa-Request-Payments-CreatePaymentRequest.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder OR array OR null | payment_order | Платежное поручение | + +**Returns:** self - + + #### public setPaymentToken() : self @@ -2076,10 +2148,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3ce2f4ab..4271c709 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md @@ -131,6 +131,7 @@ var_dump($response); | public | [setOptions()](../classes/YooKassa-Common-AbstractRequestBuilder.md#method_setOptions) | | Устанавливает свойства запроса из массива. | | public | [setPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md#method_setPaymentMethodData) | | Устанавливает объект с информацией для создания метода оплаты. | | 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 | [setReceipt()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceipt) | | Устанавливает чек. | | public | [setReceiptEmail()](../classes/YooKassa-Request-Payments-AbstractPaymentRequestBuilder.md#method_setReceiptEmail) | | Устанавливает адрес электронной почты получателя чека. | @@ -755,6 +756,33 @@ public setPaymentMethodId(string|null $value) : \YooKassa\Request\Payments\Creat **Returns:** \YooKassa\Request\Payments\CreatePaymentRequestBuilder - Инстанс текущего билдера + +#### public setPaymentOrder() : \YooKassa\Request\Payments\CreatePaymentRequestBuilder + +```php +public setPaymentOrder(null|array|\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder $value) : \YooKassa\Request\Payments\CreatePaymentRequestBuilder +``` + +**Summary** + +Устанавливает платежное поручение. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestBuilder](../classes/YooKassa-Request-Payments-CreatePaymentRequestBuilder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| null OR array OR \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder | value | Платежное поручение | + +##### Throws: +| Type | Description | +| ---- | ----------- | +| \YooKassa\Common\Exceptions\InvalidPropertyValueTypeException | | + +**Returns:** \YooKassa\Request\Payments\CreatePaymentRequestBuilder - Инстанс билдера запросов + + #### public setPaymentToken() : \YooKassa\Request\Payments\CreatePaymentRequestBuilder @@ -1096,10 +1124,10 @@ protected initCurrentObject() : \YooKassa\Request\Payments\CreatePaymentRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 75786b38..c2c6e64c 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md @@ -26,6 +26,7 @@ Interface CreatePaymentRequestInterface. | public | [getMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getMetadata) | | Возвращает данные оплаты установленные мерчантом | | public | [getPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getPaymentMethodData) | | Возвращает данные для создания метода оплаты. | | 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 | [getReceipt()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getReceipt) | | Возвращает чек, если он есть. | | public | [getReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_getReceiver) | | Возвращает реквизиты получателя оплаты. | @@ -42,6 +43,7 @@ Interface CreatePaymentRequestInterface. | public | [hasMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasMetadata) | | Проверяет, были ли установлены метаданные заказа. | | public | [hasPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasPaymentMethodData) | | Проверяет установлен ли объект с методом оплаты. | | public | [hasPaymentMethodId()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasPaymentMethodId) | | Проверяет наличие идентификатора записи о платёжных данных покупателя. | +| public | [hasPaymentOrder()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasPaymentOrder) | | Проверяет, было ли установлено платежное поручение. | | public | [hasPaymentToken()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasPaymentToken) | | Проверяет наличие одноразового токена для проведения оплаты. | | public | [hasReceipt()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasReceipt) | | Проверяет наличие чека в создаваемом платеже. | | public | [hasReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_hasReceiver) | | Проверяет, были ли установлены реквизиты получателя оплаты. | @@ -58,6 +60,7 @@ Interface CreatePaymentRequestInterface. | public | [setMetadata()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setMetadata) | | Устанавливает метаданные, привязанные к платежу. | | public | [setPaymentMethodData()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setPaymentMethodData) | | Устанавливает объект с информацией для создания метода оплаты. | | 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 | [setReceiver()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setReceiver) | | Устанавливает реквизиты получателя оплаты. | | public | [setRecipient()](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md#method_setRecipient) | | Устанавливает объект с информацией о получателе платежа. | @@ -946,6 +949,62 @@ public setMerchantCustomerId(string|null $merchant_customer_id) : self **Returns:** self - + +#### public getPaymentOrder() : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|null + +```php +public getPaymentOrder() : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|null +``` + +**Summary** + +Возвращает платежное поручение. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +**Returns:** \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|null - Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. + + + +#### public hasPaymentOrder() : bool + +```php +public hasPaymentOrder() : bool +``` + +**Summary** + +Проверяет, было ли установлено платежное поручение. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +**Returns:** bool - True если платежное поручение было установлены, false если нет + + + +#### public setPaymentOrder() : self + +```php +public setPaymentOrder(\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder|array|null $payment_order = null) : self +``` + +**Summary** + +Устанавливает платежное поручение. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\CreatePaymentRequestInterface](../classes/YooKassa-Request-Payments-CreatePaymentRequestInterface.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder OR array OR null | payment_order | Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. | + +**Returns:** self - + + #### public getReceiver() : null|\YooKassa\Request\Payments\ReceiverData\AbstractReceiver @@ -1015,10 +1074,10 @@ public setReceiver(null|array|\YooKassa\Request\Payments\ReceiverData\AbstractRe ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6d593acf..b2a6ac78 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payments\CreatePaymentRequestInterface $reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5e59784c..9e671cfc 100644 --- a/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-CreatePaymentResponse.md @@ -2050,10 +2050,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 58db36d0..b5124385 100644 --- a/docs/classes/YooKassa-Request-Payments-FraudData.md +++ b/docs/classes/YooKassa-Request-Payments-FraudData.md @@ -516,10 +516,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 cec37d76..f72b6efc 100644 --- a/docs/classes/YooKassa-Request-Payments-Leg.md +++ b/docs/classes/YooKassa-Request-Payments-Leg.md @@ -685,10 +685,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f41475be..766a6270 100644 --- a/docs/classes/YooKassa-Request-Payments-LegInterface.md +++ b/docs/classes/YooKassa-Request-Payments-LegInterface.md @@ -176,10 +176,10 @@ public setDepartureDate(\DateTime|string|null $value) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 33bcdd80..dd66194b 100644 --- a/docs/classes/YooKassa-Request-Payments-Locale.md +++ b/docs/classes/YooKassa-Request-Payments-Locale.md @@ -158,10 +158,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1b58f410..742c8d72 100644 --- a/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md +++ b/docs/classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md @@ -502,10 +502,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d0c1e042..cc9c3e8b 100644 --- a/docs/classes/YooKassa-Request-Payments-Passenger.md +++ b/docs/classes/YooKassa-Request-Payments-Passenger.md @@ -517,10 +517,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 42675ce0..ec037990 100644 --- a/docs/classes/YooKassa-Request-Payments-PassengerInterface.md +++ b/docs/classes/YooKassa-Request-Payments-PassengerInterface.md @@ -131,10 +131,10 @@ public setLastName(string|null $value) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 28210666..da8679d7 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-AbstractPaymentData.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 4f0feff6..4e44899c 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-ElectronicCertificate-ElectronicCertificateArticle.md @@ -811,10 +811,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 757824d6..4a0c91ab 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataAlfabank.md @@ -498,10 +498,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0a2eab72..1ded34b3 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataApplePay.md @@ -510,10 +510,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1f6ec8e7..3bf62126 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataB2bSberbank.md @@ -577,10 +577,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 86d87349..8fab5a88 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCard.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 969621d5..e2161046 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataBankCardCard.md @@ -677,10 +677,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 773cb3ac..9affa2b7 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataCash.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c4cbef89..a8447f7a 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataElectronicCertificate.md @@ -631,10 +631,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1e439169..42c8dde7 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c85c0288..a8e5d532 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataGooglePay.md @@ -577,10 +577,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 07933d3e..b5a655c9 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataInstallments.md @@ -444,10 +444,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f2faad56..2989415f 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataMobileBalance.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 cea70d67..00befe17 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataQiwi.md @@ -498,10 +498,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1dddc171..090a8035 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberLoan.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a49cbee3..a5c279d9 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSberbank.md @@ -497,10 +497,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6b10770a..0f31b02a 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataSbp.md @@ -577,10 +577,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 be0641c6..55543893 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataTinkoffBank.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e8793ff3..46dea9fc 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentData-PaymentDataYooMoney.md @@ -443,10 +443,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 new file mode 100644 index 00000000..dbcca320 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md @@ -0,0 +1,459 @@ +# [YooKassa API SDK](../home.md) + +# Abstract Class: \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder +### Namespace: [\YooKassa\Request\Payments\PaymentOrderData](../namespaces/yookassa-request-payments-paymentorderdata.md) +--- +**Summary:** + +Класс, представляющий модель PaymentOrder. + +**Description:** + +Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. + +Необходимо передавать при [оплате ЖКУ](/developers/payment-acceptance/scenario-extensions/utility-payments). + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$type](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md#property_type) | | Код вида платежного поручения | +| protected | [$_type](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.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 | [getType()](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md#method_getType) | | Возвращает type. | +| 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 | [setType()](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md#method_setType) | | Устанавливает type. | +| 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/Payments/PaymentOrderData/AbstractPaymentOrder.php](../../lib/Request/Payments/PaymentOrderData/AbstractPaymentOrder.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $type : string +--- +***Description*** + +Код вида платежного поручения + +**Type:** string + +**Details:** + + + +#### protected $_type : ?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 getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.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 setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..0e9435cb --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md @@ -0,0 +1,107 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderFactory +### Namespace: [\YooKassa\Request\Payments\PaymentOrderData](../namespaces/yookassa-request-payments-paymentorderdata.md) +--- +**Summary:** + +Класс, представляющий модель PaymentOrderFactory. + +**Description:** + +Фабрика создания объекта платежного поручения из массива. + +--- +### Constants +* No constants found + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [factory()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md#method_factory) | | Фабричный метод создания объекта платежного поручения по типу. | +| public | [factoryFromArray()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md#method_factoryFromArray) | | Фабричный метод создания объекта платежного поручения из массива. | + +--- +### Details +* File: [lib/Request/Payments/PaymentOrderData/PaymentOrderFactory.php](../../lib/Request/Payments/PaymentOrderData/PaymentOrderFactory.php) +* Package: YooKassa\Request +* Class Hierarchy: + * \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderFactory + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Methods + +#### public factory() : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder + +```php +public factory(string|null $type = null) : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder +``` + +**Summary** + +Фабричный метод создания объекта платежного поручения по типу. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderFactory](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Тип платежных данных | + +**Returns:** \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder - + + + +#### public factoryFromArray() : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder + +```php +public factoryFromArray(array|null $data = null, string|null $type = null) : \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder +``` + +**Summary** + +Фабричный метод создания объекта платежного поручения из массива. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderFactory](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| array OR null | data | Массив платежных данных | +| string OR null | type | Тип платежных данных | + +**Returns:** \YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder - + + + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md new file mode 100644 index 00000000..b0d6d3f5 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md @@ -0,0 +1,606 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient +### Namespace: [\YooKassa\Request\Payments\PaymentOrderData](../namespaces/yookassa-request-payments-paymentorderdata.md) +--- +**Summary:** + +Класс, представляющий модель PaymentOrderRecipient. + +**Description:** + +Получатель платежа + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$bank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#property_bank) | | Банк получателя. | +| public | [$inn](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#property_inn) | | ИНН получателя. | +| public | [$kpp](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#property_kpp) | | КПП получателя. | +| public | [$name](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#property_name) | | Название получателя. | + +--- +### 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 | [getBank()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_getBank) | | Возвращает bank. | +| public | [getInn()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_getInn) | | Возвращает inn. | +| public | [getKpp()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_getKpp) | | Возвращает kpp. | +| public | [getName()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_getName) | | Возвращает name. | +| 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 | [setBank()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_setBank) | | Устанавливает bank. | +| public | [setInn()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_setInn) | | Устанавливает inn. | +| public | [setKpp()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_setKpp) | | Устанавливает kpp. | +| public | [setName()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md#method_setName) | | Устанавливает name. | +| 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/Payments/PaymentOrderData/PaymentOrderRecipient.php](../../lib/Request/Payments/PaymentOrderData/PaymentOrderRecipient.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $bank : \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank +--- +***Description*** + +Банк получателя. + +**Type:** PaymentOrderRecipientBank + +**Details:** + + + +#### public $inn : string +--- +***Description*** + +ИНН получателя. + +**Type:** string + +**Details:** + + + +#### public $kpp : string +--- +***Description*** + +КПП получателя. + +**Type:** string + +**Details:** + + + +#### public $name : string +--- +***Description*** + +Название получателя. + +**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 getBank() : \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank|null + +```php +public getBank() : \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank|null +``` + +**Summary** + +Возвращает bank. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) + +**Returns:** \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank|null - + + + +#### public getInn() : string|null + +```php +public getInn() : string|null +``` + +**Summary** + +Возвращает inn. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) + +**Returns:** string|null - + + + +#### public getKpp() : string|null + +```php +public getKpp() : string|null +``` + +**Summary** + +Возвращает kpp. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) + +**Returns:** string|null - + + + +#### public getName() : string|null + +```php +public getName() : string|null +``` + +**Summary** + +Возвращает name. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.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 setBank() : self + +```php +public setBank(\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank|array|null $bank = null) : self +``` + +**Summary** + +Устанавливает bank. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank OR array OR null | bank | Банк получателя. | + +**Returns:** self - + + + +#### public setInn() : self + +```php +public setInn(string|null $inn = null) : self +``` + +**Summary** + +Устанавливает inn. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | inn | ИНН получателя. | + +**Returns:** self - + + + +#### public setKpp() : self + +```php +public setKpp(string|null $kpp = null) : self +``` + +**Summary** + +Устанавливает kpp. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | kpp | КПП получателя. | + +**Returns:** self - + + + +#### public setName() : self + +```php +public setName(string|null $name = null) : self +``` + +**Summary** + +Устанавливает name. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | name | Название получателя. | + +**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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md new file mode 100644 index 00000000..51c4f36e --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md @@ -0,0 +1,603 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank +### Namespace: [\YooKassa\Request\Payments\PaymentOrderData](../namespaces/yookassa-request-payments-paymentorderdata.md) +--- +**Summary:** + +Класс, представляющий модель PaymentOrderRecipientBank. + + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$account](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#property_account) | | Счет получателя в банке. | +| public | [$bic](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#property_bic) | | БИК банка получателя. | +| public | [$correspondent_account](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#property_correspondent_account) | | Корреспондентский счет банка получателя. | +| public | [$name](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#property_name) | | Название банка получателя. | + +--- +### 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 | [getAccount()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_getAccount) | | Возвращает account. | +| public | [getBic()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_getBic) | | Возвращает bic. | +| public | [getCorrespondentAccount()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_getCorrespondentAccount) | | Возвращает correspondent_account. | +| public | [getName()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_getName) | | Возвращает name. | +| 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 | [setAccount()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_setAccount) | | Устанавливает account. | +| public | [setBic()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_setBic) | | Устанавливает bic. | +| public | [setCorrespondentAccount()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_setCorrespondentAccount) | | Устанавливает correspondent_account. | +| public | [setName()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md#method_setName) | | Устанавливает name. | +| 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/Payments/PaymentOrderData/PaymentOrderRecipientBank.php](../../lib/Request/Payments/PaymentOrderData/PaymentOrderRecipientBank.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $account : string +--- +***Description*** + +Счет получателя в банке. + +**Type:** string + +**Details:** + + + +#### public $bic : string +--- +***Description*** + +БИК банка получателя. + +**Type:** string + +**Details:** + + + +#### public $correspondent_account : string +--- +***Description*** + +Корреспондентский счет банка получателя. + +**Type:** string + +**Details:** + + + +#### public $name : string +--- +***Description*** + +Название банка получателя. + +**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 getAccount() : string|null + +```php +public getAccount() : string|null +``` + +**Summary** + +Возвращает account. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) + +**Returns:** string|null - + + + +#### public getBic() : string|null + +```php +public getBic() : string|null +``` + +**Summary** + +Возвращает bic. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) + +**Returns:** string|null - + + + +#### public getCorrespondentAccount() : string|null + +```php +public getCorrespondentAccount() : string|null +``` + +**Summary** + +Возвращает correspondent_account. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) + +**Returns:** string|null - + + + +#### public getName() : string|null + +```php +public getName() : string|null +``` + +**Summary** + +Возвращает name. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.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 setAccount() : self + +```php +public setAccount(string|null $account = null) : self +``` + +**Summary** + +Устанавливает account. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | account | Счет получателя в банке. | + +**Returns:** self - + + + +#### public setBic() : self + +```php +public setBic(string|null $bic = null) : self +``` + +**Summary** + +Устанавливает bic. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | bic | БИК банка получателя. | + +**Returns:** self - + + + +#### public setCorrespondentAccount() : self + +```php +public setCorrespondentAccount(string|null $correspondent_account = null) : self +``` + +**Summary** + +Устанавливает correspondent_account. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | correspondent_account | Корреспондентский счет банка получателя. | + +**Returns:** self - + + + +#### public setName() : self + +```php +public setName(string|null $name = null) : self +``` + +**Summary** + +Устанавливает name. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | name | Название банка получателя. | + +**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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..5697e856 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.md @@ -0,0 +1,160 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderType +### Namespace: [\YooKassa\Request\Payments\PaymentOrderData](../namespaces/yookassa-request-payments-paymentorderdata.md) +--- +**Summary:** + +Класс, представляющий модель PaymentOrderType. + +**Description:** + +Код вида платежного поручения. + +--- +### Constants +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [UTILITIES](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.md#constant_UTILITIES) | | Оплата ЖКУ | + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| protected | [$validValues](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.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/Request/Payments/PaymentOrderData/PaymentOrderType.php](../../lib/Request/Payments/PaymentOrderData/PaymentOrderType.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractEnum](../classes/YooKassa-Common-AbstractEnum.md) + * \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderType + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Constants + +###### UTILITIES +Оплата ЖКУ + +```php +UTILITIES = 'utilities' +``` + + + +--- +## 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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..4f68ba0e --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md @@ -0,0 +1,1175 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities +### Namespace: [\YooKassa\Request\Payments\PaymentOrderData](../namespaces/yookassa-request-payments-paymentorderdata.md) +--- +**Summary:** + +Класс, представляющий модель PaymentOrderUtilities. + +**Description:** + +Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. + +Необходимо передавать при [оплате ЖКУ](/developers/payment-acceptance/scenario-extensions/utility-payments). + +Кроме параметров, отмеченных как обязательные, должен быть передан как минимум один параметр из этого списка: `payment_document_id`, `payment_document_number`, `account_number`, `unified_account_number` или `service_id`. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$account_number](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_account_number) | | Номер лицевого счета на стороне поставщика ЖКУ. Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `unified_account_number` или `service_id`. | +| public | [$amount](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_amount) | | Сумма платежного поручения — сумма, которую пользователь переводит получателю платежа. Равна общей сумме платежа. | +| public | [$kbk](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_kbk) | | Код бюджетной классификации (КБК). | +| public | [$oktmo](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_oktmo) | | Код ОКТМО (Общероссийский классификатор территорий муниципальных образований). | +| public | [$payment_document_id](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_payment_document_id) | | Идентификатор платежного документа. Обязательный параметр, если не передан `payment_document_number`, `account_number`, `unified_account_number` или `service_id`. | +| public | [$payment_document_number](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_payment_document_number) | | Номер платежного документа на стороне поставщика ЖКУ. Обязательный параметр, если не передан `payment_document_id`, `account_number`, `unified_account_number` или `service_id`. | +| public | [$payment_period](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_payment_period) | | Период оплаты, за который выставлены начисления и за который вносится оплата. | +| public | [$payment_purpose](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_payment_purpose) | | Назначение платежа (не больше 210 символов). | +| public | [$recipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_recipient) | | Получатель платежа — государственная или коммерческая организация, которая предоставляет услуги или является информационным посредником, который собирает и обрабатывает начисления от других поставщиков услуг. | +| public | [$service_id](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_service_id) | | Идентификатор жилищно-коммунальной услуги (ЖКУ). Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `unified_account_number`. | +| public | [$type](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_type) | | Код вида платежного поручения. | +| public | [$type](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md#property_type) | | Код вида платежного поручения | +| public | [$unified_account_number](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#property_unified_account_number) | | Единый лицевой счет. Уникальный идентификатор в ГИС ЖКХ, который характеризует связку «собственник-помещение». Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `service_id`. | +| protected | [$_type](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md#property__type) | | Код вида платежного поручения | + +--- +### Methods +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [__construct()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method___construct) | | | +| 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 | [getAccountNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getAccountNumber) | | Возвращает номер лицевого счета на стороне поставщика ЖКУ. | +| public | [getAmount()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getAmount) | | Возвращает amount. | +| public | [getKbk()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getKbk) | | Возвращает kbk. | +| public | [getOktmo()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getOktmo) | | Возвращает oktmo. | +| public | [getPaymentDocumentId()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getPaymentDocumentId) | | Возвращает payment_document_id. | +| public | [getPaymentDocumentNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getPaymentDocumentNumber) | | Возвращает payment_document_number. | +| public | [getPaymentPeriod()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getPaymentPeriod) | | Возвращает payment_period. | +| public | [getPaymentPurpose()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getPaymentPurpose) | | Возвращает payment_purpose. | +| public | [getRecipient()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getRecipient) | | Возвращает recipient. | +| public | [getServiceId()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getServiceId) | | Возвращает идентификатор жилищно-коммунальной услуги (ЖКУ). | +| public | [getType()](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md#method_getType) | | Возвращает type. | +| public | [getUnifiedAccountNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_getUnifiedAccountNumber) | | Возвращает единый лицевой счет. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [hasAccountNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_hasAccountNumber) | | Проверяет, были ли установлен номер лицевого счета на стороне поставщика ЖКУ. | +| public | [hasPaymentDocumentId()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_hasPaymentDocumentId) | | Проверяет, были ли установлен идентификатор платежного документа. | +| public | [hasPaymentDocumentNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_hasPaymentDocumentNumber) | | Проверяет, были ли установлен номер платежного документа на стороне поставщика ЖКУ. | +| public | [hasServiceId()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_hasServiceId) | | Проверяет, были ли установлен идентификатор жилищно-коммунальной услуги (ЖКУ). | +| public | [hasUnifiedAccountNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_hasUnifiedAccountNumber) | | Проверяет, были ли установлен единый лицевой счет. | +| 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 | [setAccountNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setAccountNumber) | | Устанавливает номер лицевого счета на стороне поставщика ЖКУ. | +| public | [setAmount()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setAmount) | | Устанавливает amount. | +| public | [setKbk()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setKbk) | | Устанавливает kbk. | +| public | [setOktmo()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setOktmo) | | Устанавливает oktmo. | +| public | [setPaymentDocumentId()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setPaymentDocumentId) | | Устанавливает идентификатор платежного документа. | +| public | [setPaymentDocumentNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setPaymentDocumentNumber) | | Устанавливает номер платежного документа на стороне поставщика ЖКУ. | +| public | [setPaymentPeriod()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setPaymentPeriod) | | Устанавливает payment_period. | +| public | [setPaymentPurpose()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setPaymentPurpose) | | Устанавливает payment_purpose. | +| public | [setRecipient()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setRecipient) | | Устанавливает recipient. | +| public | [setServiceId()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setServiceId) | | Устанавливает идентификатор жилищно-коммунальной услуги (ЖКУ). | +| public | [setType()](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md#method_setType) | | Устанавливает type. | +| public | [setUnifiedAccountNumber()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_setUnifiedAccountNumber) | | Устанавливает единый лицевой счет. | +| public | [toArray()](../classes/YooKassa-Common-AbstractObject.md#method_toArray) | | Возвращает ассоциативный массив со свойствами текущего объекта для его дальнейшей JSON сериализации Является алиасом метода AbstractObject::jsonSerialize(). | +| public | [validate()](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md#method_validate) | | Проверяет, что все необходимые поля заданы. | +| protected | [getUnknownProperties()](../classes/YooKassa-Common-AbstractObject.md#method_getUnknownProperties) | | Возвращает массив свойств которые не существуют, но были заданы у объекта. | +| protected | [validatePropertyValue()](../classes/YooKassa-Common-AbstractObject.md#method_validatePropertyValue) | | | + +--- +### Details +* File: [lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php](../../lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md) + * \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $account_number : string +--- +***Description*** + +Номер лицевого счета на стороне поставщика ЖКУ. Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `unified_account_number` или `service_id`. + +**Type:** string + +**Details:** + + + +#### public $amount : \YooKassa\Model\MonetaryAmount +--- +***Description*** + +Сумма платежного поручения — сумма, которую пользователь переводит получателю платежа. Равна общей сумме платежа. + +**Type:** MonetaryAmount + +**Details:** + + + +#### public $kbk : string +--- +***Description*** + +Код бюджетной классификации (КБК). + +**Type:** string + +**Details:** + + + +#### public $oktmo : string +--- +***Description*** + +Код ОКТМО (Общероссийский классификатор территорий муниципальных образований). + +**Type:** string + +**Details:** + + + +#### public $payment_document_id : string +--- +***Description*** + +Идентификатор платежного документа. Обязательный параметр, если не передан `payment_document_number`, `account_number`, `unified_account_number` или `service_id`. + +**Type:** string + +**Details:** + + + +#### public $payment_document_number : string +--- +***Description*** + +Номер платежного документа на стороне поставщика ЖКУ. Обязательный параметр, если не передан `payment_document_id`, `account_number`, `unified_account_number` или `service_id`. + +**Type:** string + +**Details:** + + + +#### public $payment_period : \YooKassa\Request\Payments\PaymentPeriod +--- +***Description*** + +Период оплаты, за который выставлены начисления и за который вносится оплата. + +**Type:** PaymentPeriod + +**Details:** + + + +#### public $payment_purpose : string +--- +***Description*** + +Назначение платежа (не больше 210 символов). + +**Type:** string + +**Details:** + + + +#### public $recipient : \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient +--- +***Description*** + +Получатель платежа — государственная или коммерческая организация, которая предоставляет услуги или является информационным посредником, который собирает и обрабатывает начисления от других поставщиков услуг. + +**Type:** PaymentOrderRecipient + +**Details:** + + + +#### public $service_id : string +--- +***Description*** + +Идентификатор жилищно-коммунальной услуги (ЖКУ). Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `unified_account_number`. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код вида платежного поручения. + +**Type:** string + +**Details:** + + + +#### public $type : string +--- +***Description*** + +Код вида платежного поручения + +**Type:** string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md) + + + +#### public $unified_account_number : string +--- +***Description*** + +Единый лицевой счет. Уникальный идентификатор в ГИС ЖКХ, который характеризует связку «собственник-помещение». Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `service_id`. + +**Type:** string + +**Details:** + + + +#### protected $_type : ?string +--- +**Summary** + +Код вида платежного поручения + +**Type:** ?string + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md) + + + +--- +## Methods + +#### public __construct() : mixed + +```php +public __construct(?array $data = []) : mixed +``` + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| ?array | 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 getAccountNumber() : string|null + +```php +public getAccountNumber() : string|null +``` + +**Summary** + +Возвращает номер лицевого счета на стороне поставщика ЖКУ. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** string|null - + + + +#### public getAmount() : \YooKassa\Model\AmountInterface|null + +```php +public getAmount() : \YooKassa\Model\AmountInterface|null +``` + +**Summary** + +Возвращает amount. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** \YooKassa\Model\AmountInterface|null - + + + +#### public getKbk() : string|null + +```php +public getKbk() : string|null +``` + +**Summary** + +Возвращает kbk. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** string|null - + + + +#### public getOktmo() : string|null + +```php +public getOktmo() : string|null +``` + +**Summary** + +Возвращает oktmo. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** string|null - + + + +#### public getPaymentDocumentId() : string|null + +```php +public getPaymentDocumentId() : string|null +``` + +**Summary** + +Возвращает payment_document_id. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** string|null - + + + +#### public getPaymentDocumentNumber() : string|null + +```php +public getPaymentDocumentNumber() : string|null +``` + +**Summary** + +Возвращает payment_document_number. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** string|null - + + + +#### public getPaymentPeriod() : \YooKassa\Request\Payments\PaymentPeriod|null + +```php +public getPaymentPeriod() : \YooKassa\Request\Payments\PaymentPeriod|null +``` + +**Summary** + +Возвращает payment_period. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** \YooKassa\Request\Payments\PaymentPeriod|null - + + + +#### public getPaymentPurpose() : string|null + +```php +public getPaymentPurpose() : string|null +``` + +**Summary** + +Возвращает payment_purpose. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** string|null - + + + +#### public getRecipient() : \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient|null + +```php +public getRecipient() : \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient|null +``` + +**Summary** + +Возвращает recipient. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient|null - + + + +#### public getServiceId() : string|null + +```php +public getServiceId() : string|null +``` + +**Summary** + +Возвращает идентификатор жилищно-коммунальной услуги (ЖКУ). + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** string|null - + + + +#### public getType() : string|null + +```php +public getType() : string|null +``` + +**Summary** + +Возвращает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md) + +**Returns:** string|null - + + + +#### public getUnifiedAccountNumber() : string|null + +```php +public getUnifiedAccountNumber() : string|null +``` + +**Summary** + +Возвращает единый лицевой счет. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.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 hasAccountNumber() : bool + +```php +public hasAccountNumber() : bool +``` + +**Summary** + +Проверяет, были ли установлен номер лицевого счета на стороне поставщика ЖКУ. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** bool - True если номер лицевого счета на стороне поставщика ЖКУ был установлен, false если нет + + + +#### public hasPaymentDocumentId() : bool + +```php +public hasPaymentDocumentId() : bool +``` + +**Summary** + +Проверяет, были ли установлен идентификатор платежного документа. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** bool - True если идентификатор платежного документа был установлен, false если нет + + + +#### public hasPaymentDocumentNumber() : bool + +```php +public hasPaymentDocumentNumber() : bool +``` + +**Summary** + +Проверяет, были ли установлен номер платежного документа на стороне поставщика ЖКУ. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** bool - True если номер платежного документа на стороне поставщика ЖКУ был установлен, false если нет + + + +#### public hasServiceId() : bool + +```php +public hasServiceId() : bool +``` + +**Summary** + +Проверяет, были ли установлен идентификатор жилищно-коммунальной услуги (ЖКУ). + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** bool - True если идентификатор жилищно-коммунальной услуги (ЖКУ) был установлен, false если нет + + + +#### public hasUnifiedAccountNumber() : bool + +```php +public hasUnifiedAccountNumber() : bool +``` + +**Summary** + +Проверяет, были ли установлен единый лицевой счет. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** bool - True если единый лицевой счет был установлен, false если нет + + + +#### 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 setAccountNumber() : self + +```php +public setAccountNumber(string|null $account_number = null) : self +``` + +**Summary** + +Устанавливает номер лицевого счета на стороне поставщика ЖКУ. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | account_number | Номер лицевого счета на стороне поставщика ЖКУ. Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `unified_account_number` или `service_id`. | + +**Returns:** self - + + + +#### public setAmount() : self + +```php +public setAmount(\YooKassa\Model\AmountInterface|array|null $amount = null) : self +``` + +**Summary** + +Устанавливает amount. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\AmountInterface OR array OR null | amount | Сумма платежного поручения — сумма, которую пользователь переводит получателю платежа. Равна общей сумме платежа. | + +**Returns:** self - + + + +#### public setKbk() : self + +```php +public setKbk(string|null $kbk = null) : self +``` + +**Summary** + +Устанавливает kbk. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | kbk | Код бюджетной классификации (КБК). | + +**Returns:** self - + + + +#### public setOktmo() : self + +```php +public setOktmo(string|null $oktmo = null) : self +``` + +**Summary** + +Устанавливает oktmo. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | oktmo | Код ОКТМО (Общероссийский классификатор территорий муниципальных образований). | + +**Returns:** self - + + + +#### public setPaymentDocumentId() : self + +```php +public setPaymentDocumentId(string|null $payment_document_id = null) : self +``` + +**Summary** + +Устанавливает идентификатор платежного документа. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | payment_document_id | Идентификатор платежного документа. Обязательный параметр, если не передан `payment_document_number`, `account_number`, `unified_account_number` или `service_id`. | + +**Returns:** self - + + + +#### public setPaymentDocumentNumber() : self + +```php +public setPaymentDocumentNumber(string|null $payment_document_number = null) : self +``` + +**Summary** + +Устанавливает номер платежного документа на стороне поставщика ЖКУ. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | payment_document_number | Номер платежного документа на стороне поставщика ЖКУ. Обязательный параметр, если не передан `payment_document_id`, `account_number`, `unified_account_number` или `service_id`. | + +**Returns:** self - + + + +#### public setPaymentPeriod() : self + +```php +public setPaymentPeriod(\YooKassa\Request\Payments\PaymentPeriod|array|null $payment_period = null) : self +``` + +**Summary** + +Устанавливает payment_period. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Payments\PaymentPeriod OR array OR null | payment_period | Период оплаты, за который выставлены начисления и за который вносится оплата. | + +**Returns:** self - + + + +#### public setPaymentPurpose() : self + +```php +public setPaymentPurpose(string|array|null $payment_purpose = null) : self +``` + +**Summary** + +Устанавливает payment_purpose. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR array OR null | payment_purpose | Назначение платежа (не больше 210 символов). | + +**Returns:** self - + + + +#### public setRecipient() : self + +```php +public setRecipient(\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient|array|null $recipient = null) : self +``` + +**Summary** + +Устанавливает recipient. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient OR array OR null | recipient | Получатель платежа — государственная или коммерческая организация, которая предоставляет услуги или является информационным посредником, который собирает и обрабатывает начисления от других поставщиков услуг. | + +**Returns:** self - + + + +#### public setServiceId() : self + +```php +public setServiceId(string|null $service_id = null) : self +``` + +**Summary** + +Устанавливает идентификатор жилищно-коммунальной услуги (ЖКУ). + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | service_id | Идентификатор жилищно-коммунальной услуги (ЖКУ). Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `unified_account_number`. | + +**Returns:** self - + + + +#### public setType() : self + +```php +public setType(string|null $type = null) : self +``` + +**Summary** + +Устанавливает type. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | type | Код вида платежного поручения | + +**Returns:** self - + + + +#### public setUnifiedAccountNumber() : self + +```php +public setUnifiedAccountNumber(string|null $unified_account_number = null) : self +``` + +**Summary** + +Устанавливает единый лицевой счет. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| string OR null | unified_account_number | Единый лицевой счет. Уникальный идентификатор в ГИС ЖКХ, который характеризует связку «собственник-помещение». Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `service_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 - Ассоциативный массив со свойствами текущего объекта + + + +#### public validate() : bool + +```php +public validate() : bool +``` + +**Summary** + +Проверяет, что все необходимые поля заданы. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) + +**Returns:** bool - + + + +#### 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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 new file mode 100644 index 00000000..29b11d46 --- /dev/null +++ b/docs/classes/YooKassa-Request-Payments-PaymentPeriod.md @@ -0,0 +1,498 @@ +# [YooKassa API SDK](../home.md) + +# Class: \YooKassa\Request\Payments\PaymentPeriod +### Namespace: [\YooKassa\Request\Payments](../namespaces/yookassa-request-payments.md) +--- +**Summary:** + +Класс, представляющий модель PaymentPeriod. + +**Description:** + +Период оплаты, за который выставлены начисления и за который вносится оплата. + +--- +### Constants +* No constants found + +--- +### Properties +| Visibility | Name | Flag | Summary | +| ----------:| ---- | ---- | ------- | +| public | [$month](../classes/YooKassa-Request-Payments-PaymentPeriod.md#property_month) | | Месяц периода. Например, ~`1` — январь. | +| public | [$year](../classes/YooKassa-Request-Payments-PaymentPeriod.md#property_year) | | Год периода. Например, ~`2025`. | + +--- +### 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 | [getMonth()](../classes/YooKassa-Request-Payments-PaymentPeriod.md#method_getMonth) | | Возвращает month. | +| public | [getValidator()](../classes/YooKassa-Common-AbstractObject.md#method_getValidator) | | | +| public | [getYear()](../classes/YooKassa-Request-Payments-PaymentPeriod.md#method_getYear) | | Возвращает year. | +| 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 | [setMonth()](../classes/YooKassa-Request-Payments-PaymentPeriod.md#method_setMonth) | | Устанавливает month. | +| public | [setYear()](../classes/YooKassa-Request-Payments-PaymentPeriod.md#method_setYear) | | Устанавливает year. | +| 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/Payments/PaymentPeriod.php](../../lib/Request/Payments/PaymentPeriod.php) +* Package: YooKassa\Model +* Class Hierarchy: + * [\YooKassa\Common\AbstractObject](../classes/YooKassa-Common-AbstractObject.md) + * \YooKassa\Request\Payments\PaymentPeriod + +* See Also: + * [](https://yookassa.ru/developers/api) + +--- +### Tags +| Tag | Version | Description | +| --- | ------- | ----------- | +| category | | Class | +| author | | cms@yoomoney.ru | + +--- +## Properties + +#### public $month : int +--- +***Description*** + +Месяц периода. Например, ~`1` — январь. + +**Type:** int + +**Details:** + + + +#### public $year : int +--- +***Description*** + +Год периода. Например, ~`2025`. + +**Type:** int + +**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 getMonth() : int|null + +```php +public getMonth() : int|null +``` + +**Summary** + +Возвращает month. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentPeriod](../classes/YooKassa-Request-Payments-PaymentPeriod.md) + +**Returns:** int|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 getYear() : int|null + +```php +public getYear() : int|null +``` + +**Summary** + +Возвращает year. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentPeriod](../classes/YooKassa-Request-Payments-PaymentPeriod.md) + +**Returns:** int|null - + + + +#### 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 setMonth() : self + +```php +public setMonth(int|null $month = null) : self +``` + +**Summary** + +Устанавливает month. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentPeriod](../classes/YooKassa-Request-Payments-PaymentPeriod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | month | Месяц периода. Например, ~`1` — январь. | + +**Returns:** self - + + + +#### public setYear() : self + +```php +public setYear(int|null $year = null) : self +``` + +**Summary** + +Устанавливает year. + +**Details:** +* Inherited From: [\YooKassa\Request\Payments\PaymentPeriod](../classes/YooKassa-Request-Payments-PaymentPeriod.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| int OR null | year | Год периода. Например, ~`2025`. | + +**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 - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 0cea7d7d..9a1461c7 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentResponse.md @@ -2050,10 +2050,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a8150ed7..787fdfff 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequest.md @@ -1357,10 +1357,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 47be8ce2..4556339c 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md @@ -507,10 +507,10 @@ protected initCurrentObject() : \YooKassa\Request\Payments\PaymentsRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0a6af147..3c32ab32 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestInterface.md @@ -765,10 +765,10 @@ public setPaymentMethod(string $payment_method) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 131b7897..0dbf435e 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payments\PaymentsRequestInterface $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 221a9de1..16e13f68 100644 --- a/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md +++ b/docs/classes/YooKassa-Request-Payments-PaymentsResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 769ed6f2..39036b5b 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-AbstractReceiver.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 db5130f3..72e901b6 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverBankAccount.md @@ -581,10 +581,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7861c64b..fa964395 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverDigitalWallet.md @@ -527,10 +527,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 86ad3444..642c3880 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7b0c8046..c4f83143 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverMobileBalance.md @@ -514,10 +514,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ff84242b..22fa6352 100644 --- a/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md +++ b/docs/classes/YooKassa-Request-Payments-ReceiverData-ReceiverType.md @@ -171,10 +171,10 @@ Static public valueExists(mixed $value) : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f8f4682d..9283845d 100644 --- a/docs/classes/YooKassa-Request-Payments-Recipient.md +++ b/docs/classes/YooKassa-Request-Payments-Recipient.md @@ -435,10 +435,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9c4f087b..12023423 100644 --- a/docs/classes/YooKassa-Request-Payments-TransferData.md +++ b/docs/classes/YooKassa-Request-Payments-TransferData.md @@ -764,10 +764,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 66750014..6f036163 100644 --- a/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md +++ b/docs/classes/YooKassa-Request-Payments-TransferDataInterface.md @@ -332,10 +332,10 @@ public hasMetadata() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e13a4080..231f5977 100644 --- a/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-AbstractPayoutResponse.md @@ -1300,10 +1300,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e6f2dc51..e0c17129 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequest.md @@ -1339,10 +1339,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3dddfa6c..ebf62a75 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestBuilder.md @@ -425,10 +425,10 @@ protected initCurrentObject() : \YooKassa\Request\Payouts\CreatePayoutRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 369d9004..e10cc597 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestInterface.md @@ -655,10 +655,10 @@ public setMetadata(null|array|\YooKassa\Model\Metadata $metadata) : self ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9775c3e6..5989de43 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Payouts\CreatePayoutRequestInterface $request ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3cd5628a..0e95e833 100644 --- a/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-CreatePayoutResponse.md @@ -1301,10 +1301,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md b/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md index c6a8bb34..2e3cc2df 100644 --- a/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md +++ b/docs/classes/YooKassa-Request-Payouts-IncomeReceiptData.md @@ -523,10 +523,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 558b616d..a5cf68d7 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-AbstractPayoutDestinationData.md @@ -464,10 +464,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d70628b2..4cfc55bc 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCard.md @@ -520,10 +520,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e861c2c4..ed7a2cbc 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataBankCardCard.md @@ -435,10 +435,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b5d6dd31..aa3eba7b 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 30997452..2cee93e8 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataSbp.md @@ -599,10 +599,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 99ce07d9..eea66ad8 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutDestinationData-PayoutDestinationDataYooMoney.md @@ -566,10 +566,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ad0d5779..d8c0580d 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutPersonalData.md @@ -458,10 +458,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 67d0f40f..bb4e14e0 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutResponse.md @@ -1301,10 +1301,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md b/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md index 56f372f8..c736090c 100644 --- a/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md +++ b/docs/classes/YooKassa-Request-Payouts-PayoutSelfEmployedInfo.md @@ -456,10 +456,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 87f8d588..e91ef6ec 100644 --- a/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md +++ b/docs/classes/YooKassa-Request-Payouts-SbpBanksResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a2a39c9e..8d69056d 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreatePayoutStatementRecipientPersonalDataRequestBuilder.md @@ -304,10 +304,10 @@ protected initCurrentObject() : \YooKassa\Request\PersonalData\PersonalDataType\ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 86c18723..cd8e18a0 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreatePersonalDataRequestInterface.md @@ -376,10 +376,10 @@ public toArray() : array ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8c82c7ba..36756b25 100644 --- a/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md +++ b/docs/classes/YooKassa-Request-PersonalData-CreateSbpPayoutRecipientPersonalDataRequestBuilder.md @@ -281,10 +281,10 @@ protected initCurrentObject() : \YooKassa\Request\PersonalData\PersonalDataType\ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 04274f80..bc25efcd 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataResponse.md @@ -939,10 +939,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 ef6d17e8..2f974bd2 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-AbstractPersonalDataRequest.md @@ -658,10 +658,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 00eb7790..c771782c 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-PayoutStatementRecipientPersonalDataRequest.md @@ -1030,10 +1030,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 f23e7fe4..8be36949 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-RecipientPersonalDataRequestFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array|null $data = null, string|null $type = null) : \Yo ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 82b988ba..51e8d4a8 100644 --- a/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md +++ b/docs/classes/YooKassa-Request-PersonalData-PersonalDataType-SbpPayoutRecipientPersonalDataRequest.md @@ -959,10 +959,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 54958353..27666366 100644 --- a/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md @@ -27,7 +27,7 @@ Class AbstractReceipt. | public | [$fiscalProviderId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalProviderId) | | Идентификатор чека в онлайн-кассе. Присутствует, если чек удалось зарегистрировать. | | public | [$fiscalStorageNumber](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalStorageNumber) | | Номер фискального накопителя в кассовом аппарате. | | public | [$id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_id) | | Идентификатор чека в ЮKassa. | -| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе. | +| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [$object_id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_object_id) | | Идентификатор объекта чека. | | public | [$objectId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_objectId) | | Идентификатор объекта чека. | | public | [$on_behalf_of](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_on_behalf_of) | | Идентификатор магазина. | @@ -76,7 +76,7 @@ Class AbstractReceipt. | public | [getFiscalProviderId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalProviderId) | | Возвращает идентификатор чека в онлайн-кассе. | | public | [getFiscalStorageNumber()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalStorageNumber) | | Возвращает номер фискального накопителя в кассовом аппарате. | | public | [getId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getId) | | Возвращает идентификатор чека в ЮKassa. | -| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает список товаров в заказ. | +| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [getObjectId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getObjectId) | | Возвращает идентификатор платежа или возврата, для которого был сформирован чек. | | public | [getOnBehalfOf()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getOnBehalfOf) | | Возвращает идентификатор магазин | | public | [getReceiptIndustryDetails()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getReceiptIndustryDetails) | | Возвращает отраслевой реквизит чека. | @@ -260,7 +260,7 @@ LENGTH_RECEIPT_ID = 39 --- ***Description*** -Список товаров в заказе. +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Type:** ReceiptResponseItemInterface[] @@ -492,7 +492,7 @@ LENGTH_RECEIPT_ID = 39 #### protected $_items : ?\YooKassa\Common\ListObject --- **Type:** ListObject -Список товаров в заказе +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров **Details:** @@ -848,7 +848,7 @@ public getItems() : \YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|\Y **Summary** -Возвращает список товаров в заказ. +Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Details:** * Inherited From: [\YooKassa\Request\Receipts\AbstractReceiptResponse](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md) @@ -1272,7 +1272,7 @@ public setItems(\YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|null $ ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе | +| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров | **Returns:** self - @@ -1563,10 +1563,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 644fee9e..ec22f5da 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md @@ -84,7 +84,7 @@ var_dump($response); | public | [$additional_user_props](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_additional_user_props) | | Дополнительный реквизит пользователя. | | public | [$additionalUserProps](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_additionalUserProps) | | Дополнительный реквизит пользователя. | | public | [$customer](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_customer) | | Информация о плательщике | -| public | [$items](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_items) | | Список товаров в заказе. Для чеков по 54-ФЗ можно передать не более 100 товаров, для чеков самозанятых — не более шести. | +| public | [$items](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_items) | | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [$object_id](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_object_id) | | Идентификатор объекта оплаты | | public | [$object_type](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_object_type) | | Тип объекта: приход "payment" или возврат "refund". | | public | [$objectId](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequest.md#property_objectId) | | Идентификатор объекта оплаты | @@ -216,7 +216,7 @@ var_dump($response); --- ***Description*** -Список товаров в заказе. Для чеков по 54-ФЗ можно передать не более 100 товаров, для чеков самозанятых — не более шести. +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Type:** array @@ -1019,7 +1019,7 @@ ReceiptItemInterface, в противном случае будет выброш ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| array OR \YooKassa\Common\ListObjectInterface | items | Список товаров в заказе | +| array OR \YooKassa\Common\ListObjectInterface | items | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | **Returns:** self - @@ -1332,10 +1332,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2fe75087..080d2cf7 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestBuilder.md @@ -592,10 +592,10 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\CreatePostReceiptRequ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2cae284a..f1c10b64 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md @@ -17,7 +17,7 @@ Interface CreatePostReceiptRequestInterface. | ----------:| ---- | ---- | ------- | | public | [getAdditionalUserProps()](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md#method_getAdditionalUserProps) | | Возвращает дополнительный реквизит пользователя. | | public | [getCustomer()](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md#method_getCustomer) | | Возвращает информацию о плательщике. | -| public | [getItems()](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md#method_getItems) | | Возвращает список товаров в заказе. | +| public | [getItems()](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md#method_getItems) | | Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [getObjectId()](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md#method_getObjectId) | | Возвращает идентификатор объекта, для которого формируется чек. | | public | [getObjectType()](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md#method_getObjectType) | | Возвращает тип объекта чека. | | public | [getOnBehalfOf()](../classes/YooKassa-Request-Receipts-CreatePostReceiptRequestInterface.md#method_getOnBehalfOf) | | Возвращает идентификатор магазина, от имени которого нужно отправить чек. | @@ -67,7 +67,7 @@ Interface CreatePostReceiptRequestInterface. | property | | Отраслевой реквизит чека | | property | | Операционный реквизит чека | | property | | Операционный реквизит чека | -| property | | Список товаров в заказе | +| property | | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров | | property | | Массив оплат, обеспечивающих выдачу товара | --- @@ -436,7 +436,7 @@ public getItems() : ?\YooKassa\Common\ListObjectInterface **Summary** -Возвращает список товаров в заказе. +Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Description** @@ -587,10 +587,10 @@ public notEmpty() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 462b2304..04e79510 100644 --- a/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-CreatePostReceiptRequestSerializer.md @@ -61,10 +61,10 @@ public serialize(\YooKassa\Request\Receipts\CreatePostReceiptRequestInterface $r ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8ab2c577..6e8b22c3 100644 --- a/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md @@ -28,7 +28,7 @@ | public | [$fiscalProviderId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalProviderId) | | Идентификатор чека в онлайн-кассе. Присутствует, если чек удалось зарегистрировать. | | public | [$fiscalStorageNumber](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalStorageNumber) | | Номер фискального накопителя в кассовом аппарате. | | public | [$id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_id) | | Идентификатор чека в ЮKassa. | -| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе. | +| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [$object_id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_object_id) | | Идентификатор объекта чека. | | public | [$objectId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_objectId) | | Идентификатор объекта чека. | | public | [$on_behalf_of](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_on_behalf_of) | | Идентификатор магазина. | @@ -79,7 +79,7 @@ | public | [getFiscalProviderId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalProviderId) | | Возвращает идентификатор чека в онлайн-кассе. | | public | [getFiscalStorageNumber()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalStorageNumber) | | Возвращает номер фискального накопителя в кассовом аппарате. | | public | [getId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getId) | | Возвращает идентификатор чека в ЮKassa. | -| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает список товаров в заказ. | +| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [getObjectId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getObjectId) | | Возвращает идентификатор платежа или возврата, для которого был сформирован чек. | | public | [getOnBehalfOf()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getOnBehalfOf) | | Возвращает идентификатор магазин | | public | [getPaymentId()](../classes/YooKassa-Request-Receipts-PaymentReceiptResponse.md#method_getPaymentId) | | Возвращает идентификатор платежа. | @@ -284,7 +284,7 @@ LENGTH_PAYMENT_ID = 36 --- ***Description*** -Список товаров в заказе. +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Type:** ReceiptResponseItemInterface[] @@ -561,7 +561,7 @@ LENGTH_PAYMENT_ID = 36 #### protected $_items : ?\YooKassa\Common\ListObject --- **Type:** ListObject -Список товаров в заказе +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров **Details:** * Inherited From: [\YooKassa\Request\Receipts\AbstractReceiptResponse](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md) @@ -922,7 +922,7 @@ public getItems() : \YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|\Y **Summary** -Возвращает список товаров в заказ. +Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Details:** * Inherited From: [\YooKassa\Request\Receipts\AbstractReceiptResponse](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md) @@ -1363,7 +1363,7 @@ public setItems(\YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|null $ ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе | +| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров | **Returns:** self - @@ -1676,10 +1676,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0569165e..34bccabd 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseFactory.md @@ -61,10 +61,10 @@ public factory(array $data) : \YooKassa\Request\Receipts\AbstractReceiptResponse ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2fecb9c8..db933f8e 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md @@ -16,7 +16,7 @@ Interface ReceiptInterface. | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [getId()](../classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md#method_getId) | | Возвращает идентификатор чека в ЮKassa. | -| public | [getItems()](../classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md#method_getItems) | | Возвращает список товаров в заказ. | +| public | [getItems()](../classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md#method_getItems) | | Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [getOnBehalfOf()](../classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md#method_getOnBehalfOf) | | Возвращает идентификатор магазин | | public | [getSettlements()](../classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md#method_getSettlements) | | Возвращает список расчетов. | | public | [getStatus()](../classes/YooKassa-Request-Receipts-ReceiptResponseInterface.md#method_getStatus) | | Возвращает статус доставки данных для чека в онлайн-кассу. | @@ -44,8 +44,8 @@ Interface ReceiptInterface. | property | | Статус доставки данных для чека в онлайн-кассу ("pending", "succeeded" или "canceled"). | | property | | Код системы налогообложения. Число 1-6. | | property | | Код системы налогообложения. Число 1-6. | -| property | | Список товаров в заказе | -| property | | Список товаров в заказе | +| property | | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | +| property | | Перечень совершенных расчетов. | --- ## Methods @@ -126,7 +126,7 @@ public getItems() : \YooKassa\Common\ListObjectInterface **Summary** -Возвращает список товаров в заказ. +Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Description** @@ -206,10 +206,10 @@ public notEmpty() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 dee1b959..d1d3558e 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItem.md @@ -1500,10 +1500,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 15cc2871..d1ef6ae8 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptResponseItemInterface.md @@ -378,10 +378,10 @@ public getSupplier() : \YooKassa\Model\Receipt\SupplierInterface|null ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 52fa4c60..5170364f 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequest.md @@ -1236,10 +1236,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 bb655fb1..f3686f32 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestBuilder.md @@ -407,10 +407,10 @@ protected initCurrentObject() : \YooKassa\Request\Receipts\ReceiptsRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 12a26525..d5a3c318 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestInterface.md @@ -378,10 +378,10 @@ public hasLimit() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 79385078..c59ddeb0 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsRequestSerializer.md @@ -61,10 +61,10 @@ public serialize(\YooKassa\Request\Receipts\ReceiptsRequestInterface $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c33657d7..95c3de1b 100644 --- a/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-ReceiptsResponse.md @@ -533,10 +533,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9c2f9c64..3153acbe 100644 --- a/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-RefundReceiptResponse.md @@ -28,7 +28,7 @@ | public | [$fiscalProviderId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalProviderId) | | Идентификатор чека в онлайн-кассе. Присутствует, если чек удалось зарегистрировать. | | public | [$fiscalStorageNumber](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalStorageNumber) | | Номер фискального накопителя в кассовом аппарате. | | public | [$id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_id) | | Идентификатор чека в ЮKassa. | -| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе. | +| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [$object_id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_object_id) | | Идентификатор объекта чека. | | public | [$objectId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_objectId) | | Идентификатор объекта чека. | | public | [$on_behalf_of](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_on_behalf_of) | | Идентификатор магазина. | @@ -79,7 +79,7 @@ | public | [getFiscalProviderId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalProviderId) | | Возвращает идентификатор чека в онлайн-кассе. | | public | [getFiscalStorageNumber()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalStorageNumber) | | Возвращает номер фискального накопителя в кассовом аппарате. | | public | [getId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getId) | | Возвращает идентификатор чека в ЮKassa. | -| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает список товаров в заказ. | +| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [getObjectId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getObjectId) | | Возвращает идентификатор платежа или возврата, для которого был сформирован чек. | | public | [getOnBehalfOf()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getOnBehalfOf) | | Возвращает идентификатор магазин | | public | [getReceiptIndustryDetails()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getReceiptIndustryDetails) | | Возвращает отраслевой реквизит чека. | @@ -284,7 +284,7 @@ LENGTH_REFUND_ID = 36 --- ***Description*** -Список товаров в заказе. +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Type:** ReceiptResponseItemInterface[] @@ -561,7 +561,7 @@ LENGTH_REFUND_ID = 36 #### protected $_items : ?\YooKassa\Common\ListObject --- **Type:** ListObject -Список товаров в заказе +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров **Details:** * Inherited From: [\YooKassa\Request\Receipts\AbstractReceiptResponse](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md) @@ -922,7 +922,7 @@ public getItems() : \YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|\Y **Summary** -Возвращает список товаров в заказ. +Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Details:** * Inherited From: [\YooKassa\Request\Receipts\AbstractReceiptResponse](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md) @@ -1363,7 +1363,7 @@ public setItems(\YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|null $ ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе | +| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров | **Returns:** self - @@ -1676,10 +1676,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 9b4ce3ce..0653429f 100644 --- a/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md +++ b/docs/classes/YooKassa-Request-Receipts-SimpleReceiptResponse.md @@ -27,7 +27,7 @@ | public | [$fiscalProviderId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalProviderId) | | Идентификатор чека в онлайн-кассе. Присутствует, если чек удалось зарегистрировать. | | public | [$fiscalStorageNumber](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_fiscalStorageNumber) | | Номер фискального накопителя в кассовом аппарате. | | public | [$id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_id) | | Идентификатор чека в ЮKassa. | -| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе. | +| public | [$items](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_items) | | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [$object_id](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_object_id) | | Идентификатор объекта чека. | | public | [$objectId](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_objectId) | | Идентификатор объекта чека. | | public | [$on_behalf_of](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#property_on_behalf_of) | | Идентификатор магазина. | @@ -76,7 +76,7 @@ | public | [getFiscalProviderId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalProviderId) | | Возвращает идентификатор чека в онлайн-кассе. | | public | [getFiscalStorageNumber()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getFiscalStorageNumber) | | Возвращает номер фискального накопителя в кассовом аппарате. | | public | [getId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getId) | | Возвращает идентификатор чека в ЮKassa. | -| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает список товаров в заказ. | +| public | [getItems()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getItems) | | Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. | | public | [getObjectId()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getObjectId) | | Возвращает идентификатор платежа или возврата, для которого был сформирован чек. | | public | [getOnBehalfOf()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getOnBehalfOf) | | Возвращает идентификатор магазин | | public | [getReceiptIndustryDetails()](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md#method_getReceiptIndustryDetails) | | Возвращает отраслевой реквизит чека. | @@ -260,7 +260,7 @@ LENGTH_RECEIPT_ID = 39 --- ***Description*** -Список товаров в заказе. +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Type:** ReceiptResponseItemInterface[] @@ -513,7 +513,7 @@ LENGTH_RECEIPT_ID = 39 #### protected $_items : ?\YooKassa\Common\ListObject --- **Type:** ListObject -Список товаров в заказе +Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров **Details:** * Inherited From: [\YooKassa\Request\Receipts\AbstractReceiptResponse](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md) @@ -874,7 +874,7 @@ public getItems() : \YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|\Y **Summary** -Возвращает список товаров в заказ. +Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. **Details:** * Inherited From: [\YooKassa\Request\Receipts\AbstractReceiptResponse](../classes/YooKassa-Request-Receipts-AbstractReceiptResponse.md) @@ -1298,7 +1298,7 @@ public setItems(\YooKassa\Request\Receipts\ReceiptResponseItemInterface[]|null $ ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | -| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе | +| \YooKassa\Request\Receipts\ReceiptResponseItemInterface[] OR null | items | Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров | **Returns:** self - @@ -1589,10 +1589,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7c4013cd..b6d71d98 100644 --- a/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-AbstractRefundResponse.md @@ -33,7 +33,9 @@ | public | [$paymentId](../classes/YooKassa-Model-Refund-Refund.md#property_paymentId) | | Идентификатор платежа | | public | [$receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property_receipt_registration) | | Статус регистрации чека | | public | [$receiptRegistration](../classes/YooKassa-Model-Refund-Refund.md#property_receiptRegistration) | | Статус регистрации чека | +| public | [$refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property_refund_authorization_details) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refund_method](../classes/YooKassa-Model-Refund-Refund.md#property_refund_method) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | +| public | [$refundAuthorizationDetails](../classes/YooKassa-Model-Refund-Refund.md#property_refundAuthorizationDetails) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refundMethod](../classes/YooKassa-Model-Refund-Refund.md#property_refundMethod) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | | public | [$sources](../classes/YooKassa-Model-Refund-Refund.md#property_sources) | | Данные о том, с какого магазина и какую сумму нужно удержать для проведения возврата | | public | [$status](../classes/YooKassa-Model-Refund-Refund.md#property_status) | | Статус возврата | @@ -45,6 +47,8 @@ | protected | [$_id](../classes/YooKassa-Model-Refund-Refund.md#property__id) | | | | protected | [$_payment_id](../classes/YooKassa-Model-Refund-Refund.md#property__payment_id) | | | | protected | [$_receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property__receipt_registration) | | | +| protected | [$_refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property__refund_authorization_details) | | | +| protected | [$_refund_method](../classes/YooKassa-Model-Refund-Refund.md#property__refund_method) | | | | protected | [$_sources](../classes/YooKassa-Model-Refund-Refund.md#property__sources) | | | | protected | [$_status](../classes/YooKassa-Model-Refund-Refund.md#property__status) | | | @@ -66,6 +70,7 @@ | public | [getId()](../classes/YooKassa-Model-Refund-Refund.md#method_getId) | | Возвращает идентификатор возврата платежа. | | public | [getPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_getPaymentId) | | Возвращает идентификатор платежа. | | public | [getReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_getReceiptRegistration) | | Возвращает статус регистрации чека. | +| public | [getRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundAuthorizationDetails) | | Возвращает refund_authorization_details. | | public | [getRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundMethod) | | Возвращает метод возврата. | | public | [getSources()](../classes/YooKassa-Model-Refund-Refund.md#method_getSources) | | Возвращает информацию о распределении денег — сколько и в какой магазин нужно перевести. | | public | [getStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_getStatus) | | Возвращает статус текущего возврата. | @@ -83,6 +88,7 @@ | public | [setId()](../classes/YooKassa-Model-Refund-Refund.md#method_setId) | | Устанавливает идентификатор возврата. | | public | [setPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_setPaymentId) | | Устанавливает идентификатор платежа. | | public | [setReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_setReceiptRegistration) | | Устанавливает статус регистрации чека. | +| public | [setRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundAuthorizationDetails) | | Устанавливает refund_authorization_details. | | public | [setRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundMethod) | | Устанавливает метод возврата. | | public | [setSources()](../classes/YooKassa-Model-Refund-Refund.md#method_setSources) | | Устанавливает sources (массив распределения денег между магазинами). | | public | [setStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_setStatus) | | Устанавливает статус возврата платежа. | @@ -281,6 +287,19 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### public $refund_authorization_details : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### public $refund_method : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -294,6 +313,19 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### public $refundAuthorizationDetails : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### public $refundMethod : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -405,6 +437,24 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### protected $_refund_authorization_details : ?\YooKassa\Model\Refund\RefundAuthorizationDetails +--- +**Type:** RefundAuthorizationDetails +Данные об авторизации возврата +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + + +#### protected $_refund_method : ?\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod +--- +**Type:** AbstractRefundMethod +Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа. +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### protected $_sources : ?\YooKassa\Common\ListObject --- @@ -695,6 +745,23 @@ public getReceiptRegistration() : string|null **Returns:** string|null - Статус регистрации чека + +#### public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null + +```php +public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +``` + +**Summary** + +Возвращает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +**Returns:** \YooKassa\Model\Refund\RefundAuthorizationDetails|null - + + #### public getRefundMethod() : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null @@ -1041,6 +1108,28 @@ public setReceiptRegistration(string|null $receipt_registration = null) : self **Returns:** self - + +#### public setRefundAuthorizationDetails() : self + +```php +public setRefundAuthorizationDetails(\YooKassa\Model\Refund\RefundAuthorizationDetails|array|null $refund_authorization_details = null) : self +``` + +**Summary** + +Устанавливает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Refund\RefundAuthorizationDetails OR array OR null | refund_authorization_details | Данные об авторизации возврата | + +**Returns:** self - + + #### public setRefundMethod() : self @@ -1173,10 +1262,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c2374b79..c04f5400 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequest.md @@ -1068,10 +1068,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 3844cf9d..21f30f7b 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestBuilder.md @@ -669,10 +669,10 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\CreateRefundRequest ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7bbc67ad..b0839944 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestInterface.md @@ -341,10 +341,10 @@ public hasDeal() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 484b10b8..3ca722e4 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Refunds\CreateRefundRequestInterface $request ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 78de155a..40199115 100644 --- a/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-CreateRefundResponse.md @@ -33,7 +33,9 @@ | public | [$paymentId](../classes/YooKassa-Model-Refund-Refund.md#property_paymentId) | | Идентификатор платежа | | public | [$receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property_receipt_registration) | | Статус регистрации чека | | public | [$receiptRegistration](../classes/YooKassa-Model-Refund-Refund.md#property_receiptRegistration) | | Статус регистрации чека | +| public | [$refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property_refund_authorization_details) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refund_method](../classes/YooKassa-Model-Refund-Refund.md#property_refund_method) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | +| public | [$refundAuthorizationDetails](../classes/YooKassa-Model-Refund-Refund.md#property_refundAuthorizationDetails) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refundMethod](../classes/YooKassa-Model-Refund-Refund.md#property_refundMethod) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | | public | [$sources](../classes/YooKassa-Model-Refund-Refund.md#property_sources) | | Данные о том, с какого магазина и какую сумму нужно удержать для проведения возврата | | public | [$status](../classes/YooKassa-Model-Refund-Refund.md#property_status) | | Статус возврата | @@ -45,6 +47,8 @@ | protected | [$_id](../classes/YooKassa-Model-Refund-Refund.md#property__id) | | | | protected | [$_payment_id](../classes/YooKassa-Model-Refund-Refund.md#property__payment_id) | | | | protected | [$_receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property__receipt_registration) | | | +| protected | [$_refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property__refund_authorization_details) | | | +| protected | [$_refund_method](../classes/YooKassa-Model-Refund-Refund.md#property__refund_method) | | | | protected | [$_sources](../classes/YooKassa-Model-Refund-Refund.md#property__sources) | | | | protected | [$_status](../classes/YooKassa-Model-Refund-Refund.md#property__status) | | | @@ -66,6 +70,7 @@ | public | [getId()](../classes/YooKassa-Model-Refund-Refund.md#method_getId) | | Возвращает идентификатор возврата платежа. | | public | [getPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_getPaymentId) | | Возвращает идентификатор платежа. | | public | [getReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_getReceiptRegistration) | | Возвращает статус регистрации чека. | +| public | [getRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundAuthorizationDetails) | | Возвращает refund_authorization_details. | | public | [getRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundMethod) | | Возвращает метод возврата. | | public | [getSources()](../classes/YooKassa-Model-Refund-Refund.md#method_getSources) | | Возвращает информацию о распределении денег — сколько и в какой магазин нужно перевести. | | public | [getStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_getStatus) | | Возвращает статус текущего возврата. | @@ -83,6 +88,7 @@ | public | [setId()](../classes/YooKassa-Model-Refund-Refund.md#method_setId) | | Устанавливает идентификатор возврата. | | public | [setPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_setPaymentId) | | Устанавливает идентификатор платежа. | | public | [setReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_setReceiptRegistration) | | Устанавливает статус регистрации чека. | +| public | [setRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundAuthorizationDetails) | | Устанавливает refund_authorization_details. | | public | [setRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundMethod) | | Устанавливает метод возврата. | | public | [setSources()](../classes/YooKassa-Model-Refund-Refund.md#method_setSources) | | Устанавливает sources (массив распределения денег между магазинами). | | public | [setStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_setStatus) | | Устанавливает статус возврата платежа. | @@ -282,6 +288,19 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### public $refund_authorization_details : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### public $refund_method : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -295,6 +314,19 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### public $refundAuthorizationDetails : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### public $refundMethod : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -406,6 +438,24 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### protected $_refund_authorization_details : ?\YooKassa\Model\Refund\RefundAuthorizationDetails +--- +**Type:** RefundAuthorizationDetails +Данные об авторизации возврата +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + + +#### protected $_refund_method : ?\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod +--- +**Type:** AbstractRefundMethod +Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа. +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### protected $_sources : ?\YooKassa\Common\ListObject --- @@ -696,6 +746,23 @@ public getReceiptRegistration() : string|null **Returns:** string|null - Статус регистрации чека + +#### public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null + +```php +public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +``` + +**Summary** + +Возвращает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +**Returns:** \YooKassa\Model\Refund\RefundAuthorizationDetails|null - + + #### public getRefundMethod() : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null @@ -1042,6 +1109,28 @@ public setReceiptRegistration(string|null $receipt_registration = null) : self **Returns:** self - + +#### public setRefundAuthorizationDetails() : self + +```php +public setRefundAuthorizationDetails(\YooKassa\Model\Refund\RefundAuthorizationDetails|array|null $refund_authorization_details = null) : self +``` + +**Summary** + +Устанавливает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Refund\RefundAuthorizationDetails OR array OR null | refund_authorization_details | Данные об авторизации возврата | + +**Returns:** self - + + #### public setRefundMethod() : self @@ -1174,10 +1263,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 89e22c93..5b0ab785 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-AbstractRefundMethodData.md @@ -448,10 +448,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 113ca2d9..144234bb 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataElectronicCertificate.md @@ -581,10 +581,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 8b629ec3..eb97827a 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundMethodData-RefundMethodDataFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a503a40d..51568845 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundResponse.md @@ -33,7 +33,9 @@ | public | [$paymentId](../classes/YooKassa-Model-Refund-Refund.md#property_paymentId) | | Идентификатор платежа | | public | [$receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property_receipt_registration) | | Статус регистрации чека | | public | [$receiptRegistration](../classes/YooKassa-Model-Refund-Refund.md#property_receiptRegistration) | | Статус регистрации чека | +| public | [$refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property_refund_authorization_details) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refund_method](../classes/YooKassa-Model-Refund-Refund.md#property_refund_method) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | +| public | [$refundAuthorizationDetails](../classes/YooKassa-Model-Refund-Refund.md#property_refundAuthorizationDetails) | | Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay | | public | [$refundMethod](../classes/YooKassa-Model-Refund-Refund.md#property_refundMethod) | | Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа | | public | [$sources](../classes/YooKassa-Model-Refund-Refund.md#property_sources) | | Данные о том, с какого магазина и какую сумму нужно удержать для проведения возврата | | public | [$status](../classes/YooKassa-Model-Refund-Refund.md#property_status) | | Статус возврата | @@ -45,6 +47,8 @@ | protected | [$_id](../classes/YooKassa-Model-Refund-Refund.md#property__id) | | | | protected | [$_payment_id](../classes/YooKassa-Model-Refund-Refund.md#property__payment_id) | | | | protected | [$_receipt_registration](../classes/YooKassa-Model-Refund-Refund.md#property__receipt_registration) | | | +| protected | [$_refund_authorization_details](../classes/YooKassa-Model-Refund-Refund.md#property__refund_authorization_details) | | | +| protected | [$_refund_method](../classes/YooKassa-Model-Refund-Refund.md#property__refund_method) | | | | protected | [$_sources](../classes/YooKassa-Model-Refund-Refund.md#property__sources) | | | | protected | [$_status](../classes/YooKassa-Model-Refund-Refund.md#property__status) | | | @@ -66,6 +70,7 @@ | public | [getId()](../classes/YooKassa-Model-Refund-Refund.md#method_getId) | | Возвращает идентификатор возврата платежа. | | public | [getPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_getPaymentId) | | Возвращает идентификатор платежа. | | public | [getReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_getReceiptRegistration) | | Возвращает статус регистрации чека. | +| public | [getRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundAuthorizationDetails) | | Возвращает refund_authorization_details. | | public | [getRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_getRefundMethod) | | Возвращает метод возврата. | | public | [getSources()](../classes/YooKassa-Model-Refund-Refund.md#method_getSources) | | Возвращает информацию о распределении денег — сколько и в какой магазин нужно перевести. | | public | [getStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_getStatus) | | Возвращает статус текущего возврата. | @@ -83,6 +88,7 @@ | public | [setId()](../classes/YooKassa-Model-Refund-Refund.md#method_setId) | | Устанавливает идентификатор возврата. | | public | [setPaymentId()](../classes/YooKassa-Model-Refund-Refund.md#method_setPaymentId) | | Устанавливает идентификатор платежа. | | public | [setReceiptRegistration()](../classes/YooKassa-Model-Refund-Refund.md#method_setReceiptRegistration) | | Устанавливает статус регистрации чека. | +| public | [setRefundAuthorizationDetails()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundAuthorizationDetails) | | Устанавливает refund_authorization_details. | | public | [setRefundMethod()](../classes/YooKassa-Model-Refund-Refund.md#method_setRefundMethod) | | Устанавливает метод возврата. | | public | [setSources()](../classes/YooKassa-Model-Refund-Refund.md#method_setSources) | | Устанавливает sources (массив распределения денег между магазинами). | | public | [setStatus()](../classes/YooKassa-Model-Refund-Refund.md#method_setStatus) | | Устанавливает статус возврата платежа. | @@ -282,6 +288,19 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### public $refund_authorization_details : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### public $refund_method : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -295,6 +314,19 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### public $refundAuthorizationDetails : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +--- +***Description*** + +Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + +**Type:** RefundAuthorizationDetails|null + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### public $refundMethod : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null --- @@ -406,6 +438,24 @@ MAX_LENGTH_DESCRIPTION = 250 * Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +#### protected $_refund_authorization_details : ?\YooKassa\Model\Refund\RefundAuthorizationDetails +--- +**Type:** RefundAuthorizationDetails +Данные об авторизации возврата +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + + +#### protected $_refund_method : ?\YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod +--- +**Type:** AbstractRefundMethod +Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа. +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + + #### protected $_sources : ?\YooKassa\Common\ListObject --- @@ -696,6 +746,23 @@ public getReceiptRegistration() : string|null **Returns:** string|null - Статус регистрации чека + +#### public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null + +```php +public getRefundAuthorizationDetails() : \YooKassa\Model\Refund\RefundAuthorizationDetails|null +``` + +**Summary** + +Возвращает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +**Returns:** \YooKassa\Model\Refund\RefundAuthorizationDetails|null - + + #### public getRefundMethod() : \YooKassa\Model\Refund\RefundMethod\AbstractRefundMethod|null @@ -1042,6 +1109,28 @@ public setReceiptRegistration(string|null $receipt_registration = null) : self **Returns:** self - + +#### public setRefundAuthorizationDetails() : self + +```php +public setRefundAuthorizationDetails(\YooKassa\Model\Refund\RefundAuthorizationDetails|array|null $refund_authorization_details = null) : self +``` + +**Summary** + +Устанавливает refund_authorization_details. + +**Details:** +* Inherited From: [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) + +##### Parameters: +| Type | Name | Description | +| ---- | ---- | ----------- | +| \YooKassa\Model\Refund\RefundAuthorizationDetails OR array OR null | refund_authorization_details | Данные об авторизации возврата | + +**Returns:** self - + + #### public setRefundMethod() : self @@ -1174,10 +1263,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 0110aaed..25dcdd17 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequest.md @@ -1139,10 +1139,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 6dd18132..3960bec8 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestBuilder.md @@ -391,10 +391,10 @@ protected initCurrentObject() : \YooKassa\Request\Refunds\RefundsRequestInterfac ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a0fad11b..96804e9b 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestInterface.md @@ -305,10 +305,10 @@ public hasCursor() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 d924cc8f..f93f8f4c 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\Refunds\RefundsRequestInterface $request) : a ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 7e3848a4..de632183 100644 --- a/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md +++ b/docs/classes/YooKassa-Request-Refunds-RefundsResponse.md @@ -532,10 +532,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b26d87eb..29fd985c 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequest.md @@ -721,10 +721,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e03fd1ef..fb1dcbc5 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestBuilder.md @@ -261,10 +261,10 @@ protected initCurrentObject() : \YooKassa\Request\SelfEmployed\SelfEmployedReque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 31a0c44c..510c232f 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmation.md @@ -445,10 +445,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 2a3a6413..d21d2452 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationFactory.md @@ -98,10 +98,10 @@ public factoryFromArray(array $data, null|string $type = null) : \YooKassa\Reque ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1f6c4c73..92ba5cfa 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestConfirmationRedirect.md @@ -451,10 +451,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e35a3478..03abc23c 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestInterface.md @@ -247,10 +247,10 @@ public validate() : bool ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 c34dd9e4..867acbbb 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedRequestSerializer.md @@ -74,10 +74,10 @@ public serialize(\YooKassa\Request\SelfEmployed\SelfEmployedRequest $request) : ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 db7eada9..ae6ed764 100644 --- a/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md +++ b/docs/classes/YooKassa-Request-SelfEmployed-SelfEmployedResponse.md @@ -884,10 +884,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 5535e3c3..bb5b0893 100644 --- a/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md +++ b/docs/classes/YooKassa-Request-Webhook-WebhookListResponse.md @@ -533,10 +533,10 @@ protected validatePropertyValue(string $propertyName, mixed $propertyValue) : mi ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/default.md b/docs/namespaces/default.md index 73013b6f..789ee292 100644 --- a/docs/namespaces/default.md +++ b/docs/namespaces/default.md @@ -67,10 +67,10 @@ YOOKASSA_SDK_ROOT_PATH = __DIR__ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-client.md b/docs/namespaces/yookassa-client.md index cfddbf59..26d6236c 100644 --- a/docs/namespaces/yookassa-client.md +++ b/docs/namespaces/yookassa-client.md @@ -29,10 +29,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common-exceptions.md b/docs/namespaces/yookassa-common-exceptions.md index 577a70d2..a046e178 100644 --- a/docs/namespaces/yookassa-common-exceptions.md +++ b/docs/namespaces/yookassa-common-exceptions.md @@ -37,10 +37,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-common.md b/docs/namespaces/yookassa-common.md index 697cca7d..12fff915 100644 --- a/docs/namespaces/yookassa-common.md +++ b/docs/namespaces/yookassa-common.md @@ -39,10 +39,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers-config.md b/docs/namespaces/yookassa-helpers-config.md index fd5fedf6..3da96217 100644 --- a/docs/namespaces/yookassa-helpers-config.md +++ b/docs/namespaces/yookassa-helpers-config.md @@ -27,10 +27,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-helpers.md b/docs/namespaces/yookassa-helpers.md index 3ec622d4..6e6f517c 100644 --- a/docs/namespaces/yookassa-helpers.md +++ b/docs/namespaces/yookassa-helpers.md @@ -31,10 +31,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-deal.md b/docs/namespaces/yookassa-model-deal.md index f9e607cc..dde4a129 100644 --- a/docs/namespaces/yookassa-model-deal.md +++ b/docs/namespaces/yookassa-model-deal.md @@ -40,10 +40,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 69e72b24..37352232 100644 --- a/docs/namespaces/yookassa-model-invoice-deliverymethod.md +++ b/docs/namespaces/yookassa-model-invoice-deliverymethod.md @@ -25,10 +25,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-invoice.md b/docs/namespaces/yookassa-model-invoice.md index 55c062ab..c5018818 100644 --- a/docs/namespaces/yookassa-model-invoice.md +++ b/docs/namespaces/yookassa-model-invoice.md @@ -37,10 +37,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-notification.md b/docs/namespaces/yookassa-model-notification.md index 50f242ba..230e5bab 100644 --- a/docs/namespaces/yookassa-model-notification.md +++ b/docs/namespaces/yookassa-model-notification.md @@ -37,10 +37,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 16c0568f..9b7a393f 100644 --- a/docs/namespaces/yookassa-model-payment-confirmation.md +++ b/docs/namespaces/yookassa-model-payment-confirmation.md @@ -28,10 +28,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a45532ce..e8fa77a9 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b-sberbank.md @@ -35,10 +35,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b1ac6dad..05859419 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-b2b.md @@ -19,10 +19,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 433f72ca..b471abe8 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod-electroniccertificate.md @@ -23,10 +23,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 a559a064..54014b58 100644 --- a/docs/namespaces/yookassa-model-payment-paymentmethod.md +++ b/docs/namespaces/yookassa-model-payment-paymentmethod.md @@ -51,10 +51,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payment.md b/docs/namespaces/yookassa-model-payment.md index e108af04..54cfff51 100644 --- a/docs/namespaces/yookassa-model-payment.md +++ b/docs/namespaces/yookassa-model-payment.md @@ -49,10 +49,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-payout.md b/docs/namespaces/yookassa-model-payout.md index 5be15133..9189c135 100644 --- a/docs/namespaces/yookassa-model-payout.md +++ b/docs/namespaces/yookassa-model-payout.md @@ -41,10 +41,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-personaldata.md b/docs/namespaces/yookassa-model-personaldata.md index 95080ee2..6ddec56d 100644 --- a/docs/namespaces/yookassa-model-personaldata.md +++ b/docs/namespaces/yookassa-model-personaldata.md @@ -32,10 +32,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-receipt.md b/docs/namespaces/yookassa-model-receipt.md index b736dd79..e6d88f23 100644 --- a/docs/namespaces/yookassa-model-receipt.md +++ b/docs/namespaces/yookassa-model-receipt.md @@ -47,10 +47,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b710c65d..8d2428a7 100644 --- a/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md +++ b/docs/namespaces/yookassa-model-refund-refundmethod-electroniccertificate.md @@ -22,10 +22,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 e698b692..bc5cd6b4 100644 --- a/docs/namespaces/yookassa-model-refund-refundmethod.md +++ b/docs/namespaces/yookassa-model-refund-refundmethod.md @@ -29,10 +29,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-refund.md b/docs/namespaces/yookassa-model-refund.md index 605a63f6..af30ada8 100644 --- a/docs/namespaces/yookassa-model-refund.md +++ b/docs/namespaces/yookassa-model-refund.md @@ -20,6 +20,7 @@ | Name | Summary | | ---- | ------- | | [\YooKassa\Model\Refund\Refund](../classes/YooKassa-Model-Refund-Refund.md) | Класс, представляющий модель Refund. | +| [\YooKassa\Model\Refund\RefundAuthorizationDetails](../classes/YooKassa-Model-Refund-RefundAuthorizationDetails.md) | Класс, представляющий модель RefundAuthorizationDetails. | | [\YooKassa\Model\Refund\RefundCancellationDetails](../classes/YooKassa-Model-Refund-RefundCancellationDetails.md) | Класс, представляющий модель RefundCancellationDetails. | | [\YooKassa\Model\Refund\RefundCancellationDetailsPartyCode](../classes/YooKassa-Model-Refund-RefundCancellationDetailsPartyCode.md) | Класс, представляющий модель CancellationDetailsPartyCode. | | [\YooKassa\Model\Refund\RefundCancellationDetailsReasonCode](../classes/YooKassa-Model-Refund-RefundCancellationDetailsReasonCode.md) | Класс, представляющий модель RefundCancellationDetailsReasonCode. | @@ -38,10 +39,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 new file mode 100644 index 00000000..5a24dc8a --- /dev/null +++ b/docs/namespaces/yookassa-model-savepaymentmethod-confirmation.md @@ -0,0 +1,33 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Model\SavePaymentMethod\Confirmation + +## Parent: [\YooKassa\Model\SavePaymentMethod](../namespaces/yookassa-model-savepaymentmethod.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Model\SavePaymentMethod\Confirmation\AbstractConfirmation](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-AbstractConfirmation.md) | Класс, представляющий модель AbstractConfirmation. | +| [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationFactory](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationFactory.md) | Класс, представляющий модель ConfirmationFactory. | +| [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationRedirect](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationRedirect.md) | Класс, представляющий модель ConfirmationRedirect. | +| [\YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationType](../classes/YooKassa-Model-SavePaymentMethod-Confirmation-ConfirmationType.md) | Класс, представляющий модель ConfirmationType. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-savepaymentmethod.md b/docs/namespaces/yookassa-model-savepaymentmethod.md new file mode 100644 index 00000000..c718f4c5 --- /dev/null +++ b/docs/namespaces/yookassa-model-savepaymentmethod.md @@ -0,0 +1,43 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Model\SavePaymentMethod + +## Parent: [\YooKassa\Model](../namespaces/yookassa-model.md) + +### Namespaces + +* [\YooKassa\Model\SavePaymentMethod\Confirmation](../namespaces/yookassa-model-savepaymentmethod-confirmation.md) + +### Interfaces + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodInterface.md) | Interface SavePaymentMethodInterface. | + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Model\SavePaymentMethod\SavePaymentMethod](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethod.md) | Класс, представляющий модель SavePaymentMethod. | +| [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodHolder](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodHolder.md) | Класс, представляющий модель SavePaymentMethodHolder. | +| [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodStatus](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodStatus.md) | Класс, представляющий модель SavePaymentMethodStatus. | +| [\YooKassa\Model\SavePaymentMethod\SavePaymentMethodType](../classes/YooKassa-Model-SavePaymentMethod-SavePaymentMethodType.md) | Класс, представляющий модель SavePaymentMethodType. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-selfemployed.md b/docs/namespaces/yookassa-model-selfemployed.md index 5de61705..b0fe5f62 100644 --- a/docs/namespaces/yookassa-model-selfemployed.md +++ b/docs/namespaces/yookassa-model-selfemployed.md @@ -32,10 +32,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-settings.md b/docs/namespaces/yookassa-model-settings.md index 41fece69..e6a69d4d 100644 --- a/docs/namespaces/yookassa-model-settings.md +++ b/docs/namespaces/yookassa-model-settings.md @@ -23,10 +23,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model-webhook.md b/docs/namespaces/yookassa-model-webhook.md index 2d8f4668..e00a0622 100644 --- a/docs/namespaces/yookassa-model-webhook.md +++ b/docs/namespaces/yookassa-model-webhook.md @@ -27,10 +27,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-model.md b/docs/namespaces/yookassa-model.md index b24efbfa..c8430847 100644 --- a/docs/namespaces/yookassa-model.md +++ b/docs/namespaces/yookassa-model.md @@ -14,6 +14,7 @@ * [\YooKassa\Model\PersonalData](../namespaces/yookassa-model-personaldata.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) * [\YooKassa\Model\SelfEmployed](../namespaces/yookassa-model-selfemployed.md) * [\YooKassa\Model\Settings](../namespaces/yookassa-model-settings.md) * [\YooKassa\Model\Webhook](../namespaces/yookassa-model-webhook.md) @@ -44,10 +45,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-deals.md b/docs/namespaces/yookassa-request-deals.md index db6fbce5..13d93af5 100644 --- a/docs/namespaces/yookassa-request-deals.md +++ b/docs/namespaces/yookassa-request-deals.md @@ -37,10 +37,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b371b05e..efe8378d 100644 --- a/docs/namespaces/yookassa-request-invoices-deliverymethoddata.md +++ b/docs/namespaces/yookassa-request-invoices-deliverymethoddata.md @@ -23,10 +23,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-invoices.md b/docs/namespaces/yookassa-request-invoices.md index b6670ecf..044e0bda 100644 --- a/docs/namespaces/yookassa-request-invoices.md +++ b/docs/namespaces/yookassa-request-invoices.md @@ -35,10 +35,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 new file mode 100644 index 00000000..c177bb4e --- /dev/null +++ b/docs/namespaces/yookassa-request-paymentmethods-confirmationdata.md @@ -0,0 +1,32 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Request\PaymentMethods\ConfirmationData + +## Parent: [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\PaymentMethods\ConfirmationData\AbstractConfirmation](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-AbstractConfirmation.md) | Класс, представляющий модель AbstractConfirmationAttrs. | +| [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationFactory](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationFactory.md) | Класс, представляющий модель ConfirmationFactory. | +| [\YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect](../classes/YooKassa-Request-PaymentMethods-ConfirmationData-ConfirmationRedirect.md) | Класс, представляющий модель ConfirmationRedirect. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-paymentmethods.md b/docs/namespaces/yookassa-request-paymentmethods.md new file mode 100644 index 00000000..fd718d89 --- /dev/null +++ b/docs/namespaces/yookassa-request-paymentmethods.md @@ -0,0 +1,45 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Request\PaymentMethods + +## Parent: [\YooKassa\Request](../namespaces/yookassa-request.md) + +### Namespaces + +* [\YooKassa\Request\PaymentMethods\ConfirmationData](../namespaces/yookassa-request-paymentmethods-confirmationdata.md) + +### Interfaces + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestInterface.md) | Класс, представляющий модель CreatePaymentMethodRequest. | + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequest.md) | Класс, представляющий модель CreatePaymentMethodRequest. | +| [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestBuilder](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestBuilder.md) | Класс, представляющий модель CreatePaymentMethodRequestBuilder. | +| [\YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestSerializer](../classes/YooKassa-Request-PaymentMethods-CreatePaymentMethodRequestSerializer.md) | Класс, представляющий модель CreatePaymentMethodRequest. | +| [\YooKassa\Request\PaymentMethods\PaymentMethodCard](../classes/YooKassa-Request-PaymentMethods-PaymentMethodCard.md) | Класс, представляющий модель PaymentMethodCard. | +| [\YooKassa\Request\PaymentMethods\PaymentMethodHolder](../classes/YooKassa-Request-PaymentMethods-PaymentMethodHolder.md) | Класс, представляющий модель PaymentMethodHolder. | +| [\YooKassa\Request\PaymentMethods\PaymentMethodResponse](../classes/YooKassa-Request-PaymentMethods-PaymentMethodResponse.md) | Класс, представляющий модель PaymentMethodResponse. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 8dbf211d..0b048cfd 100644 --- a/docs/namespaces/yookassa-request-payments-confirmationattributes.md +++ b/docs/namespaces/yookassa-request-payments-confirmationattributes.md @@ -27,10 +27,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 11ff50bd..96cd9bc4 100644 --- a/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md +++ b/docs/namespaces/yookassa-request-payments-paymentdata-electroniccertificate.md @@ -21,10 +21,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 b7164fdd..6b07adfb 100644 --- a/docs/namespaces/yookassa-request-payments-paymentdata.md +++ b/docs/namespaces/yookassa-request-payments-paymentdata.md @@ -42,10 +42,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 new file mode 100644 index 00000000..1df74357 --- /dev/null +++ b/docs/namespaces/yookassa-request-payments-paymentorderdata.md @@ -0,0 +1,35 @@ +# [YooKassa API SDK](../home.md) + +# Namespace: \YooKassa\Request\Payments\PaymentOrderData + +## Parent: [\YooKassa\Request\Payments](../namespaces/yookassa-request-payments.md) + +### Classes + +| Name | Summary | +| ---- | ------- | +| [\YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder](../classes/YooKassa-Request-Payments-PaymentOrderData-AbstractPaymentOrder.md) | Класс, представляющий модель PaymentOrder. | +| [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderFactory](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderFactory.md) | Класс, представляющий модель PaymentOrderFactory. | +| [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipient](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipient.md) | Класс, представляющий модель PaymentOrderRecipient. | +| [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderRecipientBank](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderRecipientBank.md) | Класс, представляющий модель PaymentOrderRecipientBank. | +| [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderType](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderType.md) | Класс, представляющий модель PaymentOrderType. | +| [\YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities](../classes/YooKassa-Request-Payments-PaymentOrderData-PaymentOrderUtilities.md) | Класс, представляющий модель PaymentOrderUtilities. | + +--- + +### Top Namespaces + +* [\YooKassa](../namespaces/yookassa.md) + +--- + +### Reports +* [Errors - 0](../reports/errors.md) +* [Markers - 0](../reports/markers.md) +* [Deprecated - 34](../reports/deprecated.md) + +--- + +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) + +© 2025 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 3213310c..b9bb87b2 100644 --- a/docs/namespaces/yookassa-request-payments-receiverdata.md +++ b/docs/namespaces/yookassa-request-payments-receiverdata.md @@ -26,10 +26,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payments.md b/docs/namespaces/yookassa-request-payments.md index 661f2764..b12314fb 100644 --- a/docs/namespaces/yookassa-request-payments.md +++ b/docs/namespaces/yookassa-request-payments.md @@ -8,6 +8,7 @@ * [\YooKassa\Request\Payments\ConfirmationAttributes](../namespaces/yookassa-request-payments-confirmationattributes.md) * [\YooKassa\Request\Payments\PaymentData](../namespaces/yookassa-request-payments-paymentdata.md) +* [\YooKassa\Request\Payments\PaymentOrderData](../namespaces/yookassa-request-payments-paymentorderdata.md) * [\YooKassa\Request\Payments\ReceiverData](../namespaces/yookassa-request-payments-receiverdata.md) ### Interfaces @@ -44,6 +45,7 @@ | [\YooKassa\Request\Payments\Locale](../classes/YooKassa-Request-Payments-Locale.md) | Класс, представляющий модель Locale. | | [\YooKassa\Request\Payments\MerchantCustomerBankAccount](../classes/YooKassa-Request-Payments-MerchantCustomerBankAccount.md) | Класс, представляющий модель MerchantCustomerBankAccount. | | [\YooKassa\Request\Payments\Passenger](../classes/YooKassa-Request-Payments-Passenger.md) | Класс, представляющий модель PaymentsRequest. | +| [\YooKassa\Request\Payments\PaymentPeriod](../classes/YooKassa-Request-Payments-PaymentPeriod.md) | Класс, представляющий модель PaymentPeriod. | | [\YooKassa\Request\Payments\PaymentResponse](../classes/YooKassa-Request-Payments-PaymentResponse.md) | Класс, представляющий модель PaymentResponse. | | [\YooKassa\Request\Payments\PaymentsRequest](../classes/YooKassa-Request-Payments-PaymentsRequest.md) | Класс, представляющий модель PaymentsRequest. | | [\YooKassa\Request\Payments\PaymentsRequestBuilder](../classes/YooKassa-Request-Payments-PaymentsRequestBuilder.md) | Класс, представляющий модель PaymentsRequestBuilder. | @@ -63,10 +65,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 1d680bf4..e17c9f5b 100644 --- a/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md +++ b/docs/namespaces/yookassa-request-payouts-payoutdestinationdata.md @@ -26,10 +26,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-payouts.md b/docs/namespaces/yookassa-request-payouts.md index 7b63c794..0519cd88 100644 --- a/docs/namespaces/yookassa-request-payouts.md +++ b/docs/namespaces/yookassa-request-payouts.md @@ -40,10 +40,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 068e3626..21c49b95 100644 --- a/docs/namespaces/yookassa-request-personaldata-personaldatatype.md +++ b/docs/namespaces/yookassa-request-personaldata-personaldatatype.md @@ -24,10 +24,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-personaldata.md b/docs/namespaces/yookassa-request-personaldata.md index b6cf6d8e..76e91839 100644 --- a/docs/namespaces/yookassa-request-personaldata.md +++ b/docs/namespaces/yookassa-request-personaldata.md @@ -33,10 +33,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-receipts.md b/docs/namespaces/yookassa-request-receipts.md index 15beb6a3..ad7454be 100644 --- a/docs/namespaces/yookassa-request-receipts.md +++ b/docs/namespaces/yookassa-request-receipts.md @@ -42,10 +42,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 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 563629de..107eb79a 100644 --- a/docs/namespaces/yookassa-request-refunds-refundmethoddata.md +++ b/docs/namespaces/yookassa-request-refunds-refundmethoddata.md @@ -23,10 +23,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-refunds.md b/docs/namespaces/yookassa-request-refunds.md index 9df8ad44..00f231c1 100644 --- a/docs/namespaces/yookassa-request-refunds.md +++ b/docs/namespaces/yookassa-request-refunds.md @@ -41,10 +41,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-selfemployed.md b/docs/namespaces/yookassa-request-selfemployed.md index fdb52787..046e6cc1 100644 --- a/docs/namespaces/yookassa-request-selfemployed.md +++ b/docs/namespaces/yookassa-request-selfemployed.md @@ -33,10 +33,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request-webhook.md b/docs/namespaces/yookassa-request-webhook.md index 982ac556..88d5f423 100644 --- a/docs/namespaces/yookassa-request-webhook.md +++ b/docs/namespaces/yookassa-request-webhook.md @@ -21,10 +21,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa-request.md b/docs/namespaces/yookassa-request.md index 09e5c1d9..91b1a968 100644 --- a/docs/namespaces/yookassa-request.md +++ b/docs/namespaces/yookassa-request.md @@ -8,6 +8,7 @@ * [\YooKassa\Request\Deals](../namespaces/yookassa-request-deals.md) * [\YooKassa\Request\Invoices](../namespaces/yookassa-request-invoices.md) +* [\YooKassa\Request\PaymentMethods](../namespaces/yookassa-request-paymentmethods.md) * [\YooKassa\Request\Payments](../namespaces/yookassa-request-payments.md) * [\YooKassa\Request\Payouts](../namespaces/yookassa-request-payouts.md) * [\YooKassa\Request\PersonalData](../namespaces/yookassa-request-personaldata.md) @@ -33,10 +34,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/namespaces/yookassa.md b/docs/namespaces/yookassa.md index d3d4f06c..ee13dcd5 100644 --- a/docs/namespaces/yookassa.md +++ b/docs/namespaces/yookassa.md @@ -29,10 +29,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/readme.md b/docs/readme.md index 29473bd0..a57ed60a 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -67,10 +67,10 @@ YOOKASSA_SDK_ROOT_PATH = __DIR__ ### Reports * [Errors - 0](reports/errors.md) * [Markers - 0](reports/markers.md) -* [Deprecated - 33](reports/deprecated.md) +* [Deprecated - 34](reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/reports/deprecated.md b/docs/reports/deprecated.md index 9f8896e3..217879f1 100644 --- a/docs/reports/deprecated.md +++ b/docs/reports/deprecated.md @@ -6,6 +6,7 @@ * [lib/Model/Invoice/DeliveryMethod/DeliveryMethodUnknown.php](../../lib/Model/Invoice/DeliveryMethod/DeliveryMethodUnknown.php) * [lib/Model/Payment/CancellationDetailsPartyCode.php](../../lib/Model/Payment/CancellationDetailsPartyCode.php) * [lib/Model/Payment/ConfirmationType.php](../../lib/Model/Payment/ConfirmationType.php) +* [lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php](../../lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php) * [lib/Model/Payment/PaymentMethod/PaymentMethodAlfaBank.php](../../lib/Model/Payment/PaymentMethod/PaymentMethodAlfaBank.php) * [lib/Model/Payment/PaymentMethod/PaymentMethodFactory.php](../../lib/Model/Payment/PaymentMethod/PaymentMethodFactory.php) * [lib/Model/Payment/PaymentMethod/PaymentMethodInstallments.php](../../lib/Model/Payment/PaymentMethod/PaymentMethodInstallments.php) @@ -46,6 +47,11 @@ | Line | Element | Description | | ---- | ------- | ----------- | | 62 | \YooKassa\Model\Payment\ConfirmationType::CODE_VERIFICATION | Будет удален в следующих версиях | + +#### [lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php](../../lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php) +| Line | Element | Description | +| ---- | ------- | ----------- | +| 62 | \YooKassa\Model\Payment\PaymentMethod\B2b\Sberbank\VatDataRate::RATE_18 | Больше не применяется | #### [lib/Model/Payment/PaymentMethod/PaymentMethodAlfaBank.php](../../lib/Model/Payment/PaymentMethod/PaymentMethodAlfaBank.php) | Line | Element | Description | @@ -122,15 +128,15 @@ #### [lib/Request/Payments/CreatePaymentRequest.php](../../lib/Request/Payments/CreatePaymentRequest.php) | Line | Element | Description | | ---- | ------- | ----------- | -| 556 | \YooKassa\Request\Payments\CreatePaymentRequest::getFraudData() | Больше не поддерживается. Вместо него нужно использовать `getReceiver()` | -| 567 | \YooKassa\Request\Payments\CreatePaymentRequest::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | -| 578 | \YooKassa\Request\Payments\CreatePaymentRequest::hasFraudData() | Больше не поддерживается. Вместо него нужно использовать `hasReceiver()` | +| 570 | \YooKassa\Request\Payments\CreatePaymentRequest::getFraudData() | Больше не поддерживается. Вместо него нужно использовать `getReceiver()` | +| 581 | \YooKassa\Request\Payments\CreatePaymentRequest::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | +| 592 | \YooKassa\Request\Payments\CreatePaymentRequest::hasFraudData() | Больше не поддерживается. Вместо него нужно использовать `hasReceiver()` | #### [lib/Request/Payments/CreatePaymentRequestBuilder.php](../../lib/Request/Payments/CreatePaymentRequestBuilder.php) | Line | Element | Description | | ---- | ------- | ----------- | -| 92 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setAccountId() | Больше не используется | -| 329 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | +| 93 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setAccountId() | Больше не используется | +| 330 | \YooKassa\Request\Payments\CreatePaymentRequestBuilder::setFraudData() | Больше не поддерживается. Вместо него нужно использовать `setReceiver()` | #### [lib/Request/Payments/FraudData.php](../../lib/Request/Payments/FraudData.php) | Line | Element | Description | @@ -163,10 +169,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/reports/errors.md b/docs/reports/errors.md index ae4f5f74..3f596088 100644 --- a/docs/reports/errors.md +++ b/docs/reports/errors.md @@ -14,10 +14,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/docs/reports/markers.md b/docs/reports/markers.md index 6ea1e466..17bbd9f3 100644 --- a/docs/reports/markers.md +++ b/docs/reports/markers.md @@ -14,10 +14,10 @@ ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 0](../reports/markers.md) -* [Deprecated - 33](../reports/deprecated.md) +* [Deprecated - 34](../reports/deprecated.md) --- -This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/) +This document was automatically generated from source code comments on 2025-07-24 using [phpDocumentor](http://www.phpdoc.org/) © 2025 YooMoney \ No newline at end of file diff --git a/lib/Client.php b/lib/Client.php index e3c51920..7cdcc945 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -52,6 +52,7 @@ use YooKassa\Model\Invoice\InvoiceInterface; use YooKassa\Model\Payment\PaymentInterface; use YooKassa\Model\Payout\PayoutInterface; use YooKassa\Model\PersonalData\PersonalDataInterface; +use YooKassa\Model\SavePaymentMethod\SavePaymentMethodInterface; use YooKassa\Model\SelfEmployed\SelfEmployedInterface; use YooKassa\Model\Webhook\Webhook; use YooKassa\Request\Deals\CreateDealRequest; @@ -67,6 +68,10 @@ use YooKassa\Request\Invoices\CreateInvoiceRequest; use YooKassa\Request\Invoices\CreateInvoiceRequestInterface; use YooKassa\Request\Invoices\CreateInvoiceRequestSerializer; use YooKassa\Request\Invoices\InvoiceResponse; +use YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest; +use YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestInterface; +use YooKassa\Request\PaymentMethods\CreatePaymentMethodRequestSerializer; +use YooKassa\Request\PaymentMethods\PaymentMethodResponse; use YooKassa\Request\Payments\CancelResponse; use YooKassa\Request\Payments\CreateCaptureRequest; use YooKassa\Request\Payments\CreateCaptureRequestInterface; @@ -125,7 +130,7 @@ class Client extends BaseClient /** * Текущая версия библиотеки. */ - public const SDK_VERSION = '3.8.1'; + public const SDK_VERSION = '3.9.0'; /** * Получить список платежей магазина. @@ -1439,6 +1444,99 @@ class Client extends BaseClient return $result; } + /** + * Создание способа оплаты. + * + * Используйте этот запрос, чтобы создать в ЮKassa [объект способа оплаты](https://yookassa.ru/developers/api#create_payment_method). + * В запросе необходимо передать код способа оплаты, который вы хотите сохранить, и при необходимости дополнительные параметры, связанные с той функциональностью, которую вы хотите использовать. + * + * Идентификатор созданного способа оплаты вы можете использовать при проведении [автоплатежей](/developers/payment-acceptance/scenario-extensions/recurring-payments/create-recurring) или [выплат](/developers/payouts/scenario-extensions/multipurpose-token). + * + * @example 01-client.php 568 34 Запрос на создание способа оплаты + * + * @param array|CreatePaymentMethodRequestInterface $paymentMethod + * @param string|null $idempotenceKey + * + * @return SavePaymentMethodInterface|null + * @throws ApiConnectionException + * @throws ApiException + * @throws AuthorizeException + * @throws BadApiRequestException + * @throws ExtensionNotFoundException + * @throws ForbiddenException + * @throws InternalServerError + * @throws NotFoundException + * @throws ResponseProcessingException + * @throws TooManyRequestsException + * @throws UnauthorizedException + * @throws JsonException + * + */ + public function createPaymentMethod(array|CreatePaymentMethodRequestInterface $paymentMethod, ?string $idempotenceKey = null): ?SavePaymentMethodInterface + { + $path = self::PAYMENT_METHODS_PATH; + + $headers = [self::IDEMPOTENCE_KEY_HEADER => $idempotenceKey ?: UUID::v4()]; + $request = is_array($paymentMethod) ? CreatePaymentMethodRequest::builder()->build($paymentMethod) : $paymentMethod; + + $serializer = new CreatePaymentMethodRequestSerializer(); + $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 PaymentMethodResponse($resultArray); + } else { + $this->handleError($response); + } + + return $result; + } + + /** + * Получить информацию о способе оплаты + * + * Используйте этот запрос, чтобы получить информацию о текущем состоянии способа оплаты по его уникальному идентификатору. + * + * @param string $paymentMethodId Идентификатор способа оплаты + * + * @example 01-client.php 604 10 Получить информацию о способе оплаты + * + * @return SavePaymentMethodInterface|null + * @throws ApiConnectionException + * @throws ApiException + * @throws AuthorizeException + * @throws BadApiRequestException + * @throws ExtensionNotFoundException + * @throws ForbiddenException + * @throws InternalServerError + * @throws JsonException + * @throws NotFoundException + * @throws ResponseProcessingException + * @throws TooManyRequestsException + * @throws UnauthorizedException + * + */ + public function getPaymentMethodInfo(string $paymentMethodId): ?SavePaymentMethodInterface + { + $path = self::PAYMENT_METHODS_PATH . '/' . $paymentMethodId; + + $response = $this->execute($path, HttpVerb::GET, []); + + $result = null; + if (200 === $response->getCode()) { + $resultArray = $this->decodeData($response); + $result = new PaymentMethodResponse($resultArray); + } else { + $this->handleError($response); + } + + return $result; + } + /** * Добавляет в metadata метку cms_name, если она не была установлена * diff --git a/lib/Client/BaseClient.php b/lib/Client/BaseClient.php index 07f6d205..8b5d3cb8 100644 --- a/lib/Client/BaseClient.php +++ b/lib/Client/BaseClient.php @@ -91,6 +91,9 @@ class BaseClient /** Точка входа для запросов к API по счетам */ public const INVOICES_PATH = '/invoices'; + /** Точка входа для запросов к API по способам оплаты */ + public const PAYMENT_METHODS_PATH = '/payment_methods'; + /** Имя HTTP заголовка, используемого для передачи idempotence key */ public const IDEMPOTENCE_KEY_HEADER = 'Idempotence-Key'; diff --git a/lib/Model/Invoice/InvoiceCancellationDetails.php b/lib/Model/Invoice/InvoiceCancellationDetails.php index 6ed2f61f..6d59dc1e 100644 --- a/lib/Model/Invoice/InvoiceCancellationDetails.php +++ b/lib/Model/Invoice/InvoiceCancellationDetails.php @@ -62,7 +62,7 @@ class InvoiceCancellationDetails extends AbstractObject * Причина отмены счета. * * Возможные значения: - * - `invoice_canceled` — [счет отменен вручную](https://yookassa.ru/docs/support/merchant/payments/invoicing#invoicing__cancel) из личного кабинета ЮKassa; + * - `invoice_canceled` — [счет отменен вручную](https://yookassa.ru/docs/support/merchant/invoices-to-clients/invoicing#invoicing__cancel) из личного кабинета ЮKassa; * - `invoice_expired` — истек срок действия счета, который вы установили в запросе на создание счета в параметре `expires_at`, и по счету нет ни одного успешного платежа; * - `general_decline` — причина не детализирована, поэтому пользователю следует обратиться к инициатору отмены счета за уточнением подробностей; * - `payment_canceled` — [платеж отменен по API](https://yookassa.ru/developers/payment-acceptance/getting-started/payment-process#cancel) при оплате в две стадии; @@ -111,7 +111,7 @@ class InvoiceCancellationDetails extends AbstractObject /** * Устанавливает reason. * - * @param string|null $reason Причина отмены счета. Возможные значения: * ~`invoice_canceled` — %[счет отменен вручную](/docs/support/merchant/payments/invoicing#invoicing__cancel) из личного кабинета ЮKassa; * ~`invoice_expired` — истек срок действия счета, который вы установили в запросе на создание счета в параметре `expires_at`, и по счету нет ни одного успешного платежа; * ~`general_decline` — причина не детализирована, поэтому пользователю следует обратиться к инициатору отмены счета за уточнением подробностей; * ~`payment_canceled` — %[платеж отменен по API](/developers/payment-acceptance/getting-started/payment-process#cancel) при оплате в две стадии; * ~`payment_expired_on_capture` — %[истек срок списания оплаты](/developers/payment-acceptance/getting-started/payment-process#hold) для платежа в две стадии. + * @param string|null $reason Причина отмены счета. Возможные значения: * ~`invoice_canceled` — %[счет отменен вручную](/docs/support/merchant/invoices-to-clients/invoicing#invoicing__cancel) из личного кабинета ЮKassa; * ~`invoice_expired` — истек срок действия счета, который вы установили в запросе на создание счета в параметре `expires_at`, и по счету нет ни одного успешного платежа; * ~`general_decline` — причина не детализирована, поэтому пользователю следует обратиться к инициатору отмены счета за уточнением подробностей; * ~`payment_canceled` — %[платеж отменен по API](/developers/payment-acceptance/getting-started/payment-process#cancel) при оплате в две стадии; * ~`payment_expired_on_capture` — %[истек срок списания оплаты](/developers/payment-acceptance/getting-started/payment-process#hold) для платежа в две стадии. * * @return self */ diff --git a/lib/Model/Invoice/InvoiceCancellationDetailsReasonCode.php b/lib/Model/Invoice/InvoiceCancellationDetailsReasonCode.php index 131e0427..948aec8c 100644 --- a/lib/Model/Invoice/InvoiceCancellationDetailsReasonCode.php +++ b/lib/Model/Invoice/InvoiceCancellationDetailsReasonCode.php @@ -41,7 +41,7 @@ use YooKassa\Common\AbstractEnum; class InvoiceCancellationDetailsReasonCode extends AbstractEnum { /** - * [Счет отменен вручную](https://yookassa.ru/docs/support/merchant/payments/invoicing#invoicing__cancel) из личного кабинета ЮKassa. + * [Счет отменен вручную](https://yookassa.ru/docs/support/merchant/invoices-to-clients/invoicing#invoicing__cancel) из личного кабинета ЮKassa. */ public const INVOICE_CANCELED = 'invoice_canceled'; diff --git a/lib/Model/Payment/AuthorizationDetails.php b/lib/Model/Payment/AuthorizationDetails.php index 805cd1a5..9037009a 100644 --- a/lib/Model/Payment/AuthorizationDetails.php +++ b/lib/Model/Payment/AuthorizationDetails.php @@ -41,7 +41,7 @@ use YooKassa\Validator\Constraints as Assert; * @author cms@yoomoney.ru * @link https://yookassa.ru/developers/api * - * @property string $rrn Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. + * @property string $rrn Retrieval Reference Number — идентификатор банковской транзакции. * @property string $authСode Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. * @property string $auth_code Код авторизации. Выдается эмитентом и подтверждает проведение авторизации. * @property ThreeDSecure $threeDSecure Данные о прохождении пользователем аутентификации по 3‑D Secure. @@ -50,7 +50,7 @@ use YooKassa\Validator\Constraints as Assert; class AuthorizationDetails extends AbstractObject implements AuthorizationDetailsInterface { /** - * Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. + * Retrieval Reference Number — идентификатор банковской транзакции. * * @var string|null */ @@ -86,7 +86,7 @@ class AuthorizationDetails extends AbstractObject implements AuthorizationDetail /** * Устанавливает rrn. * - * @param string|null $rrn Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. + * @param string|null $rrn Retrieval Reference Number — идентификатор банковской транзакции. * * @return self */ diff --git a/lib/Model/Payment/AuthorizationDetailsInterface.php b/lib/Model/Payment/AuthorizationDetailsInterface.php index fc948b39..e00f9ed7 100644 --- a/lib/Model/Payment/AuthorizationDetailsInterface.php +++ b/lib/Model/Payment/AuthorizationDetailsInterface.php @@ -29,7 +29,7 @@ namespace YooKassa\Model\Payment; /** * Interface AuthorizationDetailsInterface - Данные об авторизации платежа. * - * @property string $rrn Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента + * @property string $rrn Retrieval Reference Number — идентификатор банковской транзакции * @property string $authCode Код авторизации банковской карты * @property string $auth_code Код авторизации банковской карты * @property ThreeDSecure $threeDSecure Данные о прохождении пользователем аутентификации по 3‑D Secure @@ -38,7 +38,7 @@ namespace YooKassa\Model\Payment; interface AuthorizationDetailsInterface { /** - * Возвращает Retrieval Reference Number — уникальный идентификатор транзакции в системе эмитента. + * Возвращает Retrieval Reference Number — идентификатор банковской транзакции. * * @return null|string Уникальный идентификатор транзакции */ diff --git a/lib/Model/Payment/PaymentMethod/B2b/Sberbank/CalculatedVatData.php b/lib/Model/Payment/PaymentMethod/B2b/Sberbank/CalculatedVatData.php index 97ad3d6d..16ee3c32 100644 --- a/lib/Model/Payment/PaymentMethod/B2b/Sberbank/CalculatedVatData.php +++ b/lib/Model/Payment/PaymentMethod/B2b/Sberbank/CalculatedVatData.php @@ -40,7 +40,7 @@ use YooKassa\Validator\Constraints as Assert; * @author cms@yoomoney.ru * @link https://yookassa.ru/developers/api * - * @property string $rate Налоговая ставка (в процентах). Возможные значения: ~`5`, ~`7`, ~`10`, ~`18` и ~`20`. + * @property string $rate Налоговая ставка (в процентах). Возможные значения: ~`5`, ~`7`, ~`10` и ~`20`. * @property AmountInterface $amount Сумма НДС */ class CalculatedVatData extends AbstractVatData diff --git a/lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php b/lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php index 7b90e9d8..afa3a5a0 100644 --- a/lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php +++ b/lib/Model/Payment/PaymentMethod/B2b/Sberbank/VatDataRate.php @@ -37,7 +37,6 @@ use YooKassa\Common\AbstractEnum; * - 5 - 5% * - 7 - 7% * - 10 - 10% - * - 18 - 18% * - 20 - 20% * * @category Class @@ -56,7 +55,10 @@ class VatDataRate extends AbstractEnum /** 10% */ public const RATE_10 = '10'; - /** 18% */ + /** + * 18% + * @deprecated Больше не применяется + */ public const RATE_18 = '18'; /** 20% */ diff --git a/lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php b/lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php index 4ce56793..1d4072b7 100644 --- a/lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php +++ b/lib/Model/Payment/PaymentMethod/SbpPayerBankDetails.php @@ -53,7 +53,7 @@ class SbpPayerBankDetails extends AbstractObject #[Assert\NotBlank] #[Assert\Type('string')] #[Assert\Length(max: 12)] - #[Assert\Regex("/\\d{12}/")] + #[Assert\Regex("/[a-zA-Z0-9]{12}/")] private ?string $_bank_id = null; /** diff --git a/lib/Model/Payout/PayoutCancellationDetailsReasonCode.php b/lib/Model/Payout/PayoutCancellationDetailsReasonCode.php index 29ea77c0..99ff9a11 100644 --- a/lib/Model/Payout/PayoutCancellationDetailsReasonCode.php +++ b/lib/Model/Payout/PayoutCancellationDetailsReasonCode.php @@ -42,6 +42,7 @@ use YooKassa\Common\AbstractEnum; * - `recipient_not_found` - Для выплат через СБП: получатель не найден * - `recipient_check_failed` - Только для выплат с проверкой получателя. Получатель выплаты не прошел проверку * - `identification_required` - Кошелек ЮMoney не идентифицирован. Пополнение анонимного кошелька запрещено + * - `self_employed_annual_limit_exceeded` - Превышен лимит на годовой доход самозанятого. * * @category Class * @package YooKassa\Model @@ -80,6 +81,9 @@ class PayoutCancellationDetailsReasonCode extends AbstractEnum /** Кошелек ЮMoney не идентифицирован. Пополнение анонимного кошелька запрещено. Пользователю необходимо [идентифицировать кошелек](https://yoomoney.ru/page?id=536136) */ public const IDENTIFICATION_REQUIRED = 'identification_required'; + /** Только для [выплат самозанятым](https://yookassa.ru/developers/payouts/scenario-extensions/self-employed). Превышен лимит на годовой доход самозанятого. Порекомендуйте получателю выплаты проверить свой доход. */ + public const SELF_EMPLOYED_ANNUAL_LIMIT_EXCEEDED = 'self_employed_annual_limit_exceeded'; + /** * Возвращает список доступных значений * @return string[] @@ -95,5 +99,6 @@ class PayoutCancellationDetailsReasonCode extends AbstractEnum self::RECIPIENT_CHECK_FAILED => true, self::REJECTED_BY_PAYEE => true, self::IDENTIFICATION_REQUIRED => true, + self::SELF_EMPLOYED_ANNUAL_LIMIT_EXCEEDED => true, ]; } diff --git a/lib/Model/Receipt/Receipt.php b/lib/Model/Receipt/Receipt.php index dc1a00e8..68238bf3 100644 --- a/lib/Model/Receipt/Receipt.php +++ b/lib/Model/Receipt/Receipt.php @@ -44,7 +44,7 @@ use YooKassa\Model\AmountInterface; * @link https://yookassa.ru/developers/api * * @property ReceiptCustomer $customer Информация о плательщике - * @property ListObjectInterface|ReceiptItemInterface[] $items Список товаров в заказе + * @property ListObjectInterface|ReceiptItemInterface[] $items Список товаров в заказе. Для чеков по 54-ФЗ: если используете Чеки от ЮKassa, можно передать максимум 80 товаров, если используете стороннюю онлайн-кассу, максимум 100 товаров. Для чеков самозанятых — максимум 6 товаров. * @property ListObjectInterface|SettlementInterface[] $settlements Массив оплат, обеспечивающих выдачу товара * @property ListObjectInterface|ReceiptItemInterface[] $shippingItems Список товаров в заказе, являющихся доставкой * @property ListObjectInterface|ReceiptItemInterface[] $shipping_items Список товаров в заказе, являющихся доставкой @@ -67,7 +67,7 @@ class Receipt extends AbstractObject implements ReceiptInterface private ?ReceiptCustomer $_customer = null; /** - * @var ReceiptItemInterface[]|ListObjectInterface Список товаров в заказе + * @var ReceiptItemInterface[]|ListObjectInterface Список товаров в заказе. Для чеков по 54-ФЗ: если используете Чеки от ЮKassa, можно передать максимум 80 товаров, если используете стороннюю онлайн-кассу, максимум 100 товаров. Для чеков самозанятых — максимум 6 товаров. */ #[Assert\NotBlank] #[Assert\Valid] @@ -167,7 +167,7 @@ class Receipt extends AbstractObject implements ReceiptInterface * позиций. Все передаваемые значения в массиве позиций должны быть объектами класса, реализующего интерфейс * ReceiptItemInterface, в противном случае будет выброшено исключение InvalidPropertyValueTypeException. * - * @param array|ListObjectInterface $items Список товаров в заказе + * @param array|ListObjectInterface $items Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров * * @throws EmptyPropertyValueException Выбрасывается если передали пустой массив значений * @throws InvalidPropertyValueTypeException Выбрасывается если в качестве значения был передан не массив и не diff --git a/lib/Model/Refund/Refund.php b/lib/Model/Refund/Refund.php index 152a59da..2b18dcc9 100644 --- a/lib/Model/Refund/Refund.php +++ b/lib/Model/Refund/Refund.php @@ -65,6 +65,8 @@ use YooKassa\Validator\Constraints as Assert; * @property RefundDealInfo $deal Данные о сделке, в составе которой проходит возврат * @property AbstractRefundMethod|null $refundMethod Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа * @property AbstractRefundMethod|null $refund_method Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа + * @property RefundAuthorizationDetails|null $refund_authorization_details Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay + * @property RefundAuthorizationDetails|null $refundAuthorizationDetails Данные об авторизации возврата. Присутствуют только для возвратов платежей, совершенных этими способами оплаты: банковская карта, Mir Pay */ class Refund extends AbstractObject implements RefundInterface { @@ -153,7 +155,14 @@ class Refund extends AbstractObject implements RefundInterface * @var AbstractRefundMethod|null Детали возврата. Зависят от способа оплаты, который использовался при проведении платежа. */ #[Assert\Type(AbstractRefundMethod::class)] - private ?AbstractRefundMethod $_refund_method = null; + protected ?AbstractRefundMethod $_refund_method = null; + + /** + * @var RefundAuthorizationDetails|null Данные об авторизации возврата + */ + #[Assert\Valid] + #[Assert\Type(RefundAuthorizationDetails::class)] + protected ?RefundAuthorizationDetails $_refund_authorization_details = null; /** * Возвращает идентификатор возврата платежа. @@ -413,4 +422,27 @@ class Refund extends AbstractObject implements RefundInterface $this->_refund_method = $this->validatePropertyValue('_refund_method', $refund_method); return $this; } + + /** + * Возвращает refund_authorization_details. + * + * @return RefundAuthorizationDetails|null + */ + public function getRefundAuthorizationDetails(): ?RefundAuthorizationDetails + { + return $this->_refund_authorization_details; + } + + /** + * Устанавливает refund_authorization_details. + * + * @param RefundAuthorizationDetails|array|null $refund_authorization_details Данные об авторизации возврата + * + * @return self + */ + public function setRefundAuthorizationDetails(mixed $refund_authorization_details = null): self + { + $this->_refund_authorization_details = $this->validatePropertyValue('_refund_authorization_details', $refund_authorization_details); + return $this; + } } diff --git a/lib/Model/Refund/RefundAuthorizationDetails.php b/lib/Model/Refund/RefundAuthorizationDetails.php new file mode 100644 index 00000000..832d3a10 --- /dev/null +++ b/lib/Model/Refund/RefundAuthorizationDetails.php @@ -0,0 +1,77 @@ +_rrn; + } + + /** + * Устанавливает rrn. + * + * @param string|null $rrn Retrieval Reference Number — идентификатор банковской транзакции. + * + * @return self + */ + public function setRrn(?string $rrn = null): self + { + $this->_rrn = $this->validatePropertyValue('_rrn', $rrn); + return $this; + } +} + diff --git a/lib/Model/SavePaymentMethod/Confirmation/AbstractConfirmation.php b/lib/Model/SavePaymentMethod/Confirmation/AbstractConfirmation.php new file mode 100644 index 00000000..306e61da --- /dev/null +++ b/lib/Model/SavePaymentMethod/Confirmation/AbstractConfirmation.php @@ -0,0 +1,77 @@ +_type; + } + + /** + * Устанавливает type. + * + * @param string|null $type + * + * @return self + */ + public function setType(?string $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } +} diff --git a/lib/Model/SavePaymentMethod/Confirmation/ConfirmationFactory.php b/lib/Model/SavePaymentMethod/Confirmation/ConfirmationFactory.php new file mode 100644 index 00000000..a9220c15 --- /dev/null +++ b/lib/Model/SavePaymentMethod/Confirmation/ConfirmationFactory.php @@ -0,0 +1,91 @@ + 'ConfirmationRedirect' + ]; + + /** + * Фабричный метод создания объекта сценария подтверждения привязки по типу. + * + * @param string|null $type Код сценария подтверждения + * + * @return AbstractConfirmation + */ + public function factory(?string $type): AbstractConfirmation + { + if (!is_string($type)) { + throw new InvalidArgumentException('Invalid confirmation type value in payment order factory'); + } + if (!array_key_exists($type, $this->typeClassMap)) { + throw new InvalidArgumentException('Invalid confirmation data type "' . $type . '"'); + } + $className = __NAMESPACE__ . '\\' . $this->typeClassMap[$type]; + + return new $className(); + } + + /** + * Фабричный метод создания объекта сценария подтверждения привязки из массива. + * + * @param array $data Массив данных сценария подтверждения привязки + * @param null|string $type Тип сценария подтверждения привязки + */ + public function factoryFromArray(array $data, ?string $type = null): AbstractConfirmation + { + if (null === $type) { + if (array_key_exists('type', $data)) { + $type = $data['type']; + unset($data['type']); + } else { + throw new InvalidArgumentException( + 'Parameter type not specified in ConfirmationFactory.factoryFromArray()' + ); + } + } + + $confirmationData = $this->factory($type); + $confirmationData->fromArray($data); + + return $confirmationData; + } +} diff --git a/lib/Model/SavePaymentMethod/Confirmation/ConfirmationRedirect.php b/lib/Model/SavePaymentMethod/Confirmation/ConfirmationRedirect.php new file mode 100644 index 00000000..68e2562d --- /dev/null +++ b/lib/Model/SavePaymentMethod/Confirmation/ConfirmationRedirect.php @@ -0,0 +1,147 @@ +setType(ConfirmationType::REDIRECT); + } + + /** + * Возвращает confirmation_url. + * + * @return string|null + */ + public function getConfirmationUrl(): ?string + { + return $this->_confirmation_url; + } + + /** + * Устанавливает confirmation_url. + * + * @param string|null $confirmation_url URL, на который необходимо перенаправить пользователя для подтверждения привязки. + * + * @return self + */ + public function setConfirmationUrl(?string $confirmation_url = null): self + { + $this->_confirmation_url = $this->validatePropertyValue('_confirmation_url', $confirmation_url); + return $this; + } + + /** + * Возвращает enforce. + * + * @return bool|null + */ + public function getEnforce(): ?bool + { + return $this->_enforce; + } + + /** + * Устанавливает enforce. + * + * @param bool|null $enforce Запрос на проведение платежа с аутентификацией по 3-D Secure. + * + * @return self + */ + public function setEnforce(?bool $enforce = null): self + { + $this->_enforce = $this->validatePropertyValue('_enforce', $enforce); + return $this; + } + + /** + * Возвращает return_url. + * + * @return string|null + */ + public function getReturnUrl(): ?string + { + return $this->_return_url; + } + + /** + * Устанавливает return_url. + * + * @param string|null $return_url URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. Не более 2048 символов. + * + * @return self + */ + public function setReturnUrl(?string $return_url = null): self + { + $this->_return_url = $this->validatePropertyValue('_return_url', $return_url); + return $this; + } +} + diff --git a/lib/Model/SavePaymentMethod/Confirmation/ConfirmationType.php b/lib/Model/SavePaymentMethod/Confirmation/ConfirmationType.php new file mode 100644 index 00000000..873347fd --- /dev/null +++ b/lib/Model/SavePaymentMethod/Confirmation/ConfirmationType.php @@ -0,0 +1,54 @@ + true + ]; +} diff --git a/lib/Model/SavePaymentMethod/SavePaymentMethod.php b/lib/Model/SavePaymentMethod/SavePaymentMethod.php new file mode 100644 index 00000000..4b6afdc1 --- /dev/null +++ b/lib/Model/SavePaymentMethod/SavePaymentMethod.php @@ -0,0 +1,317 @@ +_type; + } + + /** + * Устанавливает type. + * + * @param string|null $type Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + * + * @return self + */ + public function setType(?string $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } + + /** + * Возвращает card. + * + * @return BankCard|null + */ + public function getCard(): ?BankCard + { + return $this->_card; + } + + /** + * Устанавливает card. + * + * @param BankCard|array|null $card Данные банковской карты. + * + * @return self + */ + public function setCard(mixed $card = null): self + { + $this->_card = $this->validatePropertyValue('_card', $card); + return $this; + } + + /** + * Возвращает id. + * + * @return string|null + */ + public function getId(): ?string + { + return $this->_id; + } + + /** + * Устанавливает id. + * + * @param string|null $id Идентификатор сохраненного способа оплаты. + * + * @return self + */ + public function setId(?string $id = null): self + { + $this->_id = $this->validatePropertyValue('_id', $id); + return $this; + } + + /** + * Возвращает saved. + * + * @return bool|null + */ + public function getSaved(): ?bool + { + return $this->_saved; + } + + /** + * Устанавливает saved. + * + * @param bool|null $saved Признак сохранения способа оплаты для [автоплатежей](https://yookassa.ru/developers/payment-acceptance/scenario-extensions/recurring-payments/pay-with-saved). Возможные значения: * ~`true` — способ оплаты сохранен для автоплатежей и выплат; * ~`false` — способ оплаты не сохранен. + * + * @return self + */ + public function setSaved(?bool $saved = null): self + { + $this->_saved = $this->validatePropertyValue('_saved', $saved); + return $this; + } + + /** + * Возвращает status. + * + * @return string|null + */ + public function getStatus(): ?string + { + return $this->_status; + } + + /** + * Устанавливает status. + * + * @param string|null $status Статус проверки и сохранения способа оплаты. + * + * @return self + */ + public function setStatus(?string $status = null): self + { + $this->_status = $this->validatePropertyValue('_status', $status); + return $this; + } + + /** + * Возвращает holder. + * + * @return SavePaymentMethodHolder|null + */ + public function getHolder(): ?SavePaymentMethodHolder + { + return $this->_holder; + } + + /** + * Устанавливает holder. + * + * @param SavePaymentMethodHolder|array|null $holder Данные магазина, для которого сохраняется способ оплаты. + * + * @return self + */ + public function setHolder(mixed $holder = null): self + { + $this->_holder = $this->validatePropertyValue('_holder', $holder); + return $this; + } + + /** + * Возвращает title. + * + * @return string|null + */ + public function getTitle(): ?string + { + return $this->_title; + } + + /** + * Устанавливает title. + * + * @param string|null $title Название способа оплаты. + * + * @return self + */ + public function setTitle(?string $title = null): self + { + $this->_title = $this->validatePropertyValue('_title', $title); + return $this; + } + + /** + * Возвращает confirmation. + * + * @return AbstractConfirmation|null + */ + public function getConfirmation(): ?AbstractConfirmation + { + return $this->_confirmation; + } + + /** + * Устанавливает confirmation. + * + * @param AbstractConfirmation|array|null $confirmation Выбранный сценарий подтверждения привязки. + * + * @return self + */ + public function setConfirmation(mixed $confirmation = null): self + { + if (is_array($confirmation)) { + $confirmation = (new ConfirmationFactory())->factoryFromArray($confirmation); + } + $this->_confirmation = $this->validatePropertyValue('_confirmation', $confirmation); + return $this; + } + +} + diff --git a/lib/Model/SavePaymentMethod/SavePaymentMethodHolder.php b/lib/Model/SavePaymentMethod/SavePaymentMethodHolder.php new file mode 100644 index 00000000..5fbe14a2 --- /dev/null +++ b/lib/Model/SavePaymentMethod/SavePaymentMethodHolder.php @@ -0,0 +1,113 @@ +_account_id; + } + + /** + * Устанавливает account_id. + * + * @param string|null $account_id Идентификатор магазина в ЮKassa. + * + * @return self + */ + public function setAccountId(?string $account_id = null): self + { + $this->_account_id = $this->validatePropertyValue('_account_id', $account_id); + return $this; + } + + /** + * Возвращает gateway_id. + * + * @return string|null + */ + public function getGatewayId(): ?string + { + return $this->_gateway_id; + } + + /** + * Устанавливает 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/SavePaymentMethod/SavePaymentMethodInterface.php b/lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php new file mode 100644 index 00000000..91156d69 --- /dev/null +++ b/lib/Model/SavePaymentMethod/SavePaymentMethodInterface.php @@ -0,0 +1,84 @@ + true, + self::ACTIVE => true, + self::INACTIVE => true + ]; +} + diff --git a/lib/Model/SavePaymentMethod/SavePaymentMethodType.php b/lib/Model/SavePaymentMethod/SavePaymentMethodType.php new file mode 100644 index 00000000..48675020 --- /dev/null +++ b/lib/Model/SavePaymentMethod/SavePaymentMethodType.php @@ -0,0 +1,55 @@ + true + ]; +} + diff --git a/lib/Model/Settings/FiscalizationData.php b/lib/Model/Settings/FiscalizationData.php index 063211d5..df59c224 100644 --- a/lib/Model/Settings/FiscalizationData.php +++ b/lib/Model/Settings/FiscalizationData.php @@ -32,7 +32,7 @@ use YooKassa\Validator\Constraints as Assert; /** * Класс, представляющий модель FiscalizationData. * - * Настройки магазина для %[отправки чеков в налоговую](/developers/payment-acceptance/receipts/basics). + * Настройки магазина для [отправки чеков в налоговую](/developers/payment-acceptance/receipts/basics). * * Присутствует, если вы запрашивали настройки магазина, и этот магазин использует решения ЮKassa для отправки чеков. * Отсутствует, если магазин еще не включал отправку чеков через ЮKassa. diff --git a/lib/Request/Invoices/DeliveryMethodData/AbstractDeliveryMethodData.php b/lib/Request/Invoices/DeliveryMethodData/AbstractDeliveryMethodData.php index 03f195f7..6739cfd4 100644 --- a/lib/Request/Invoices/DeliveryMethodData/AbstractDeliveryMethodData.php +++ b/lib/Request/Invoices/DeliveryMethodData/AbstractDeliveryMethodData.php @@ -33,7 +33,6 @@ use YooKassa\Validator\Constraints as Assert; /** * Класс, представляющий модель DeliveryMethodDataSelfAllOf. * - * @category Class * @package YooKassa\Model * @author cms@yoomoney.ru diff --git a/lib/Request/PaymentMethods/ConfirmationData/AbstractConfirmation.php b/lib/Request/PaymentMethods/ConfirmationData/AbstractConfirmation.php new file mode 100644 index 00000000..d0a6b38a --- /dev/null +++ b/lib/Request/PaymentMethods/ConfirmationData/AbstractConfirmation.php @@ -0,0 +1,77 @@ +_type; + } + + /** + * Устанавливает type. + * + * @param string|array|null $type + * + * @return self + */ + public function setType(mixed $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } +} diff --git a/lib/Request/PaymentMethods/ConfirmationData/ConfirmationFactory.php b/lib/Request/PaymentMethods/ConfirmationData/ConfirmationFactory.php new file mode 100644 index 00000000..bfa8b765 --- /dev/null +++ b/lib/Request/PaymentMethods/ConfirmationData/ConfirmationFactory.php @@ -0,0 +1,92 @@ + 'ConfirmationRedirect' + ]; + + /** + * Фабричный метод создания объекта сценария подтверждения привязки по типу. + * + * @param string|null $type Код сценария подтверждения + * + * @return AbstractConfirmation + */ + public function factory(?string $type): AbstractConfirmation + { + if (!is_string($type)) { + throw new InvalidArgumentException('Invalid confirmation type value in payment order factory'); + } + if (!array_key_exists($type, $this->typeClassMap)) { + throw new InvalidArgumentException('Invalid confirmation data type "' . $type . '"'); + } + $className = __NAMESPACE__ . '\\' . $this->typeClassMap[$type]; + + return new $className(); + } + + /** + * Фабричный метод создания объекта сценария подтверждения привязки из массива. + * + * @param array $data Массив данных сценария подтверждения привязки + * @param null|string $type Тип сценария подтверждения привязки + */ + public function factoryFromArray(array $data, ?string $type = null): AbstractConfirmation + { + if (null === $type) { + if (array_key_exists('type', $data)) { + $type = $data['type']; + unset($data['type']); + } else { + throw new InvalidArgumentException( + 'Parameter type not specified in ConfirmationFactory.factoryFromArray()' + ); + } + } + + $paymentData = $this->factory($type); + $paymentData->fromArray($data); + + return $paymentData; + } +} diff --git a/lib/Request/PaymentMethods/ConfirmationData/ConfirmationRedirect.php b/lib/Request/PaymentMethods/ConfirmationData/ConfirmationRedirect.php new file mode 100644 index 00000000..c5585cb2 --- /dev/null +++ b/lib/Request/PaymentMethods/ConfirmationData/ConfirmationRedirect.php @@ -0,0 +1,152 @@ +setType(ConfirmationType::REDIRECT); + } + + /** + * Возвращает enforce. + * + * @return bool|null + */ + public function getEnforce(): ?bool + { + return $this->_enforce; + } + + /** + * Устанавливает enforce. + * + * @param bool|null $enforce Запрос на проведение платежа с аутентификацией по 3-D Secure. + * + * @return self + */ + public function setEnforce(?bool $enforce = null): self + { + $this->_enforce = $this->validatePropertyValue('_enforce', $enforce); + return $this; + } + + /** + * Возвращает return_url. + * + * @return string|null + */ + public function getReturnUrl(): ?string + { + return $this->_return_url; + } + + /** + * Устанавливает return_url. + * + * @param string|null $return_url URL, на который вернется пользователь после подтверждения или отмены платежа на веб-странице. + * + * @return self + */ + public function setReturnUrl(?string $return_url = null): self + { + $this->_return_url = $this->validatePropertyValue('_return_url', $return_url); + return $this; + } + + /** + * Возвращает locale. + * + * @return string|null + */ + public function getLocale(): ?string + { + return $this->_locale; + } + + /** + * Устанавливает locale. + * + * @param string|null $locale Язык интерфейса, писем и смс, которые будет видеть или получать пользователь. + * + * @return self + */ + public function setLocale(?string $locale = null): self + { + $this->_locale = $this->validatePropertyValue('_locale', $locale); + return $this; + } +} + diff --git a/lib/Request/PaymentMethods/CreatePaymentMethodRequest.php b/lib/Request/PaymentMethods/CreatePaymentMethodRequest.php new file mode 100644 index 00000000..77a496a4 --- /dev/null +++ b/lib/Request/PaymentMethods/CreatePaymentMethodRequest.php @@ -0,0 +1,250 @@ +_type; + } + + /** + * Устанавливает type. + * + * @param string|null $type Код способа оплаты. Возможное значение: ~`bank_card` — банковская карта. + * + * @return self + */ + public function setType(?string $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } + + /** + * Проверяет, были ли установлен код способа оплаты. + * + * @return bool True если код способа оплаты был установлен, false если нет + */ + public function hasType(): bool + { + return null !== $this->_type; + } + + /** + * Возвращает card. + * + * @return PaymentMethodCard|null + */ + public function getCard(): ?PaymentMethodCard + { + return $this->_card; + } + + /** + * Устанавливает card. + * + * @param PaymentMethodCard|array|null $card Данные для проверки и сохранения банковской карты. + * + * @return self + */ + public function setCard(mixed $card): self + { + $this->_card = $this->validatePropertyValue('_card', $card); + return $this; + } + + /** + * Возвращает holder. + * + * @return PaymentMethodHolder|null + */ + public function getHolder(): ?PaymentMethodHolder + { + return $this->_holder; + } + + /** + * Устанавливает holder. + * + * @param PaymentMethodHolder|array|null $holder Данные магазина, для которого сохраняется способ оплаты. + * + * @return self + */ + public function setHolder(mixed $holder = null): self + { + $this->_holder = $this->validatePropertyValue('_holder', $holder); + return $this; + } + + /** + * Возвращает client_ip. + * + * @return string|null + */ + public function getClientIp(): ?string + { + return $this->_client_ip; + } + + /** + * Устанавливает client_ip. + * + * @param string|null $client_ip IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. + * + * @return self + */ + public function setClientIp(?string $client_ip = null): self + { + $this->_client_ip = $this->validatePropertyValue('_client_ip', $client_ip); + return $this; + } + + /** + * Возвращает confirmation. + * + * @return AbstractConfirmation|null + */ + public function getConfirmation(): ?AbstractConfirmation + { + return $this->_confirmation; + } + + /** + * Устанавливает confirmation. + * + * @param AbstractConfirmation|array|null $confirmation Данные, необходимые для инициирования сценария подтверждения привязки. + * + * @return self + */ + public function setConfirmation(mixed $confirmation = null): self + { + if (is_array($confirmation)) { + $confirmation = (new ConfirmationFactory())->factoryFromArray($confirmation); + } + $this->_confirmation = $this->validatePropertyValue('_confirmation', $confirmation); + return $this; + } + + /** + * Валидирует текущий запрос, проверяет все ли нужные свойства установлены. + * + * @return bool True если запрос валиден, false если нет + */ + public function validate(): bool + { + if (!$this->hasType()) { + $this->setValidationError('Type not specified'); + return false; + } + + return true; + } + + /** + * Возвращает билдер объектов запросов создания платежа. + * + * @return CreatePaymentMethodRequestBuilder Инстанс билдера объектов запросов + */ + public static function builder(): CreatePaymentMethodRequestBuilder + { + return new CreatePaymentMethodRequestBuilder(); + } +} + diff --git a/lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php b/lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php new file mode 100644 index 00000000..e904f88e --- /dev/null +++ b/lib/Request/PaymentMethods/CreatePaymentMethodRequestBuilder.php @@ -0,0 +1,150 @@ +currentObject->setType($value); + + return $this; + } + + /** + * Устанавливает card. + * + * @param PaymentMethodCard|array|null $value Данные для проверки и сохранения банковской карты. + * + * @return self + */ + public function setCard(mixed $value = null): CreatePaymentMethodRequestBuilder + { + $this->currentObject->setCard($value); + + return $this; + } + + /** + * Устанавливает holder. + * + * @param PaymentMethodHolder|array|null $value Данные магазина, для которого сохраняется способ оплаты. + * + * @return self + */ + public function setHolder(mixed $value = null): CreatePaymentMethodRequestBuilder + { + $this->currentObject->setHolder($value); + + return $this; + } + + /** + * Устанавливает client_ip. + * + * @param string|null $value IPv4 или IPv6-адрес пользователя. Если не указан, используется IP-адрес TCP-подключения. + * + * @return self + */ + public function setClientIp(?string $value = null): CreatePaymentMethodRequestBuilder + { + $this->currentObject->setClientIp($value); + + return $this; + } + + /** + * Устанавливает confirmation. + * + * @param AbstractConfirmation|array|null $value Данные, необходимые для инициирования сценария подтверждения привязки. + * + * @return self + */ + public function setConfirmation(mixed $value = null): CreatePaymentMethodRequestBuilder + { + $this->currentObject->setConfirmation($value); + + return $this; + } + + /** + * Строит и возвращает объект запроса для отправки в API ЮKassa. + * + * @param null|array $options Массив параметров для установки в объект запроса + * + * @return CreatePaymentMethodRequestInterface|AbstractRequestInterface Инстанс объекта запроса + * + */ + public function build(?array $options = null): AbstractRequestInterface + { + if (!empty($options)) { + $this->setOptions($options); + } + + return parent::build(); + } + + /** + * Инициализирует объект запроса, который в дальнейшем будет собираться билдером + * + * @return CreatePaymentMethodRequest Инстанс собираемого объекта запроса к API + */ + protected function initCurrentObject(): AbstractRequestInterface + { + return new CreatePaymentMethodRequest(); + } +} diff --git a/lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php b/lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php new file mode 100644 index 00000000..4b55f458 --- /dev/null +++ b/lib/Request/PaymentMethods/CreatePaymentMethodRequestInterface.php @@ -0,0 +1,106 @@ +toArray(); + } +} diff --git a/lib/Request/PaymentMethods/PaymentMethodCard.php b/lib/Request/PaymentMethods/PaymentMethodCard.php new file mode 100644 index 00000000..5882df7b --- /dev/null +++ b/lib/Request/PaymentMethods/PaymentMethodCard.php @@ -0,0 +1,206 @@ +_number; + } + + /** + * Устанавливает номер банковской карты. + * + * @param string|null $number Номер банковской карты + * + * @return self + */ + public function setNumber(?string $number = null): self + { + $this->_number = $this->validatePropertyValue('_number', $number); + return $this; + } + + /** + * Возвращает год срока действия карты. + * + * @return string|null Срок действия, год, YYYY + */ + public function getExpiryYear(): ?string + { + return $this->_expiry_year; + } + + /** + * Устанавливает год срока действия карты. + * + * @param string|null $expiry_year Срок действия, год, YYYY + * + * @return self + */ + public function setExpiryYear(?string $expiry_year = null): self + { + $this->_expiry_year = $this->validatePropertyValue('_expiry_year', $expiry_year); + return $this; + } + + /** + * Возвращает месяц срока действия карты. + * + * @return string|null Срок действия, месяц, MM + */ + public function getExpiryMonth(): ?string + { + return $this->_expiry_month; + } + + /** + * Устанавливает месяц срока действия карты. + * + * @param string|null $expiry_month Срок действия, месяц, MM + * + * @return self + */ + public function setExpiryMonth(?string $expiry_month = null): self + { + $this->_expiry_month = $this->validatePropertyValue('_expiry_month', $expiry_month); + return $this; + } + + /** + * Возвращает CVV2/CVC2 код. + * + * @return string|null CVV2/CVC2 код + */ + public function getCsc(): ?string + { + return $this->_csc; + } + + /** + * Устанавливает CVV2/CVC2 код. + * + * @param string|null $csc CVV2/CVC2 код + * + * @return self + */ + public function setCsc(?string $csc = null): self + { + $this->_csc = $this->validatePropertyValue('_csc', $csc); + return $this; + } + + /** + * Возвращает имя держателя карты. + * + * @return string|null Имя держателя карты + */ + public function getCardholder(): ?string + { + return $this->_cardholder; + } + + /** + * Устанавливает имя держателя карты. + * + * @param string|null $cardholder Имя держателя карты + * + * @return self + */ + public function setCardholder(?string $cardholder = null): self + { + $this->_cardholder = $this->validatePropertyValue('_cardholder', $cardholder); + return $this; + } +} diff --git a/lib/Request/PaymentMethods/PaymentMethodHolder.php b/lib/Request/PaymentMethods/PaymentMethodHolder.php new file mode 100644 index 00000000..e5b24b27 --- /dev/null +++ b/lib/Request/PaymentMethods/PaymentMethodHolder.php @@ -0,0 +1,77 @@ +_gateway_id; + } + + /** + * Устанавливает 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/Request/PaymentMethods/PaymentMethodResponse.php b/lib/Request/PaymentMethods/PaymentMethodResponse.php new file mode 100644 index 00000000..9052ea3c --- /dev/null +++ b/lib/Request/PaymentMethods/PaymentMethodResponse.php @@ -0,0 +1,44 @@ +_payment_order; + } + + /** + * Проверяет, было ли установлено платежное поручение. + * + * @return bool True если платежное поручение было установлены, false если нет + */ + public function hasPaymentOrder(): bool + { + return null !== $this->_payment_order; + } + + /** + * Устанавливает платежное поручение. + * + * @param AbstractPaymentOrder|array|null $payment_order Платежное поручение + * + * @return self + */ + public function setPaymentOrder(mixed $payment_order = null): self + { + if (is_array($payment_order)) { + $payment_order = (new PaymentOrderFactory())->factoryFromArray($payment_order); + } + $this->_payment_order = $this->validatePropertyValue('_payment_order', $payment_order); + return $this; + } + /** * Возвращает реквизиты получателя оплаты. * diff --git a/lib/Request/Payments/CreatePaymentRequestBuilder.php b/lib/Request/Payments/CreatePaymentRequestBuilder.php index 7ae1b695..373394dc 100644 --- a/lib/Request/Payments/CreatePaymentRequestBuilder.php +++ b/lib/Request/Payments/CreatePaymentRequestBuilder.php @@ -38,6 +38,7 @@ use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttribu use YooKassa\Request\Payments\ConfirmationAttributes\ConfirmationAttributesFactory; use YooKassa\Request\Payments\PaymentData\AbstractPaymentData; use YooKassa\Request\Payments\PaymentData\PaymentDataFactory; +use YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder; use YooKassa\Request\Payments\ReceiverData\AbstractReceiver; /** @@ -389,6 +390,22 @@ class CreatePaymentRequestBuilder extends AbstractPaymentRequestBuilder return $this; } + /** + * Устанавливает платежное поручение. + * + * @param null|array|AbstractPaymentOrder $value Платежное поручение + * + * @return CreatePaymentRequestBuilder Инстанс билдера запросов + * + * @throws InvalidPropertyValueTypeException + */ + public function setPaymentOrder(mixed $value): CreatePaymentRequestBuilder + { + $this->currentObject->setPaymentOrder($value); + + return $this; + } + /** * Строит и возвращает объект запроса для отправки в API ЮKassa. * diff --git a/lib/Request/Payments/CreatePaymentRequestInterface.php b/lib/Request/Payments/CreatePaymentRequestInterface.php index e4c93cca..7728051a 100644 --- a/lib/Request/Payments/CreatePaymentRequestInterface.php +++ b/lib/Request/Payments/CreatePaymentRequestInterface.php @@ -36,6 +36,7 @@ use YooKassa\Model\Payment\TransferInterface; use YooKassa\Model\Receipt\ReceiptInterface; use YooKassa\Request\Payments\ConfirmationAttributes\AbstractConfirmationAttributes; use YooKassa\Request\Payments\PaymentData\AbstractPaymentData; +use YooKassa\Request\Payments\PaymentOrderData\AbstractPaymentOrder; use YooKassa\Request\Payments\ReceiverData\AbstractReceiver; /** @@ -385,6 +386,26 @@ interface CreatePaymentRequestInterface */ public function setMerchantCustomerId(?string $merchant_customer_id): self; + /** + * Возвращает платежное поручение. + * + * @return AbstractPaymentOrder|null Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. + */ + public function getPaymentOrder(): ?AbstractPaymentOrder; + + /** + * Проверяет, было ли установлено платежное поручение. + * + * @return bool True если платежное поручение было установлены, false если нет + */ + public function hasPaymentOrder(): bool; + + /** + * Устанавливает платежное поручение. + * + * @param AbstractPaymentOrder|array|null $payment_order Платежное поручение — распоряжение на перевод банку для оплаты жилищно-коммунальных услуг (ЖКУ), сведения о платеже для регистрации в ГИС ЖКХ. + */ + public function setPaymentOrder(mixed $payment_order = null): self; /** * Возвращает реквизиты получателя оплаты. diff --git a/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php b/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php index acdc4d97..bb83764d 100644 --- a/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php +++ b/lib/Request/Payments/PaymentData/PaymentDataBankCardCard.php @@ -54,7 +54,7 @@ class PaymentDataBankCardCard extends AbstractObject */ #[Assert\NotBlank] #[Assert\Type('string')] - #[Assert\Regex('/^[0-9]{16,19}$/')] + #[Assert\Regex('/^[0-9]{14,19}$/')] private ?string $_number = null; /** diff --git a/lib/Request/Payments/PaymentOrderData/AbstractPaymentOrder.php b/lib/Request/Payments/PaymentOrderData/AbstractPaymentOrder.php new file mode 100644 index 00000000..1dd8fd26 --- /dev/null +++ b/lib/Request/Payments/PaymentOrderData/AbstractPaymentOrder.php @@ -0,0 +1,80 @@ +_type; + } + + /** + * Устанавливает type. + * + * @param string|null $type Код вида платежного поручения + * + * @return self + */ + public function setType(?string $type = null): self + { + $this->_type = $this->validatePropertyValue('_type', $type); + return $this; + } +} diff --git a/lib/Request/Payments/PaymentOrderData/PaymentOrderFactory.php b/lib/Request/Payments/PaymentOrderData/PaymentOrderFactory.php new file mode 100644 index 00000000..3f2a3b18 --- /dev/null +++ b/lib/Request/Payments/PaymentOrderData/PaymentOrderFactory.php @@ -0,0 +1,94 @@ + 'PaymentOrderUtilities' + ]; + + /** + * Фабричный метод создания объекта платежного поручения по типу. + * + * @param string|null $type Тип платежных данных + * + * @return AbstractPaymentOrder + */ + public function factory(?string $type = null): AbstractPaymentOrder + { + if (!is_string($type)) { + throw new InvalidArgumentException('Invalid payment order type value in payment order factory'); + } + if (!array_key_exists($type, $this->typeClassMap)) { + throw new InvalidArgumentException('Invalid payment order data type "' . $type . '"'); + } + $className = __NAMESPACE__ . '\\' . $this->typeClassMap[$type]; + + return new $className(); + } + + /** + * Фабричный метод создания объекта платежного поручения из массива. + * + * @param array|null $data Массив платежных данных + * @param string|null $type Тип платежных данных + */ + public function factoryFromArray(?array $data = null, ?string $type = null): AbstractPaymentOrder + { + if (null === $type) { + if (array_key_exists('type', $data)) { + $type = $data['type']; + unset($data['type']); + } else { + throw new InvalidArgumentException( + 'Parameter type not specified in PaymentOrderFactory.factoryFromArray()' + ); + } + } + $paymentData = $this->factory($type); + foreach ($data as $key => $value) { + if ($paymentData->offsetExists($key)) { + $paymentData->offsetSet($key, $value); + } + } + + return $paymentData; + } +} diff --git a/lib/Request/Payments/PaymentOrderData/PaymentOrderRecipient.php b/lib/Request/Payments/PaymentOrderData/PaymentOrderRecipient.php new file mode 100644 index 00000000..293bda81 --- /dev/null +++ b/lib/Request/Payments/PaymentOrderData/PaymentOrderRecipient.php @@ -0,0 +1,178 @@ +_name; + } + + /** + * Устанавливает name. + * + * @param string|null $name Название получателя. + * + * @return self + */ + public function setName(?string $name = null): self + { + $this->_name = $this->validatePropertyValue('_name', $name); + return $this; + } + + /** + * Возвращает inn. + * + * @return string|null + */ + public function getInn(): ?string + { + return $this->_inn; + } + + /** + * Устанавливает inn. + * + * @param string|null $inn ИНН получателя. + * + * @return self + */ + public function setInn(?string $inn = null): self + { + $this->_inn = $this->validatePropertyValue('_inn', $inn); + return $this; + } + + /** + * Возвращает kpp. + * + * @return string|null + */ + public function getKpp(): ?string + { + return $this->_kpp; + } + + /** + * Устанавливает kpp. + * + * @param string|null $kpp КПП получателя. + * + * @return self + */ + public function setKpp(?string $kpp = null): self + { + $this->_kpp = $this->validatePropertyValue('_kpp', $kpp); + return $this; + } + + /** + * Возвращает bank. + * + * @return PaymentOrderRecipientBank|null + */ + public function getBank(): ?PaymentOrderRecipientBank + { + return $this->_bank; + } + + /** + * Устанавливает bank. + * + * @param PaymentOrderRecipientBank|array|null $bank Банк получателя. + * + * @return self + */ + public function setBank(mixed $bank = null): self + { + $this->_bank = $this->validatePropertyValue('_bank', $bank); + return $this; + } +} diff --git a/lib/Request/Payments/PaymentOrderData/PaymentOrderRecipientBank.php b/lib/Request/Payments/PaymentOrderData/PaymentOrderRecipientBank.php new file mode 100644 index 00000000..4fe67d3c --- /dev/null +++ b/lib/Request/Payments/PaymentOrderData/PaymentOrderRecipientBank.php @@ -0,0 +1,174 @@ +_name; + } + + /** + * Устанавливает name. + * + * @param string|null $name Название банка получателя. + * + * @return self + */ + public function setName(?string $name = null): self + { + $this->_name = $this->validatePropertyValue('_name', $name); + return $this; + } + + /** + * Возвращает bic. + * + * @return string|null + */ + public function getBic(): ?string + { + return $this->_bic; + } + + /** + * Устанавливает bic. + * + * @param string|null $bic БИК банка получателя. + * + * @return self + */ + public function setBic(?string $bic = null): self + { + $this->_bic = $this->validatePropertyValue('_bic', $bic); + return $this; + } + + /** + * Возвращает account. + * + * @return string|null + */ + public function getAccount(): ?string + { + return $this->_account; + } + + /** + * Устанавливает account. + * + * @param string|null $account Счет получателя в банке. + * + * @return self + */ + public function setAccount(?string $account = null): self + { + $this->_account = $this->validatePropertyValue('_account', $account); + return $this; + } + + /** + * Возвращает correspondent_account. + * + * @return string|null + */ + public function getCorrespondentAccount(): ?string + { + return $this->_correspondent_account; + } + + /** + * Устанавливает correspondent_account. + * + * @param string|null $correspondent_account Корреспондентский счет банка получателя. + * + * @return self + */ + public function setCorrespondentAccount(?string $correspondent_account = null): self + { + $this->_correspondent_account = $this->validatePropertyValue('_correspondent_account', $correspondent_account); + return $this; + } +} diff --git a/lib/Request/Payments/PaymentOrderData/PaymentOrderType.php b/lib/Request/Payments/PaymentOrderData/PaymentOrderType.php new file mode 100644 index 00000000..7df22e54 --- /dev/null +++ b/lib/Request/Payments/PaymentOrderData/PaymentOrderType.php @@ -0,0 +1,54 @@ + true + ]; +} diff --git a/lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php b/lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php new file mode 100644 index 00000000..a4896bdb --- /dev/null +++ b/lib/Request/Payments/PaymentOrderData/PaymentOrderUtilities.php @@ -0,0 +1,509 @@ +setType(PaymentOrderType::UTILITIES); + } + + /** + * Возвращает amount. + * + * @return AmountInterface|null + */ + public function getAmount(): ?AmountInterface + { + return $this->_amount; + } + + /** + * Устанавливает amount. + * + * @param AmountInterface|array|null $amount Сумма платежного поручения — сумма, которую пользователь переводит получателю платежа. + * Равна общей сумме платежа. + * + * @return self + */ + public function setAmount(mixed $amount = null): self + { + $this->_amount = $this->validatePropertyValue('_amount', $amount); + return $this; + } + + /** + * Возвращает payment_purpose. + * + * @return string|null + */ + public function getPaymentPurpose(): ?string + { + return $this->_payment_purpose; + } + + /** + * Устанавливает payment_purpose. + * + * @param string|array|null $payment_purpose Назначение платежа (не больше 210 символов). + * + * @return self + */ + public function setPaymentPurpose(?string $payment_purpose = null): self + { + $this->_payment_purpose = $this->validatePropertyValue('_payment_purpose', $payment_purpose); + return $this; + } + + /** + * Возвращает recipient. + * + * @return PaymentOrderRecipient|null + */ + public function getRecipient(): ?PaymentOrderRecipient + { + return $this->_recipient; + } + + /** + * Устанавливает recipient. + * + * @param PaymentOrderRecipient|array|null $recipient Получатель платежа — государственная или коммерческая организация, которая предоставляет услуги или является информационным посредником, который собирает и обрабатывает начисления от других поставщиков услуг. + * + * @return self + */ + public function setRecipient(mixed $recipient = null): self + { + $this->_recipient = $this->validatePropertyValue('_recipient', $recipient); + return $this; + } + + /** + * Возвращает kbk. + * + * @return string|null + */ + public function getKbk(): ?string + { + return $this->_kbk; + } + + /** + * Устанавливает kbk. + * + * @param string|null $kbk Код бюджетной классификации (КБК). + * + * @return self + */ + public function setKbk(?string $kbk = null): self + { + $this->_kbk = $this->validatePropertyValue('_kbk', $kbk); + return $this; + } + + /** + * Возвращает oktmo. + * + * @return string|null + */ + public function getOktmo(): ?string + { + return $this->_oktmo; + } + + /** + * Устанавливает oktmo. + * + * @param string|null $oktmo Код ОКТМО (Общероссийский классификатор территорий муниципальных образований). + * + * @return self + */ + public function setOktmo(?string $oktmo = null): self + { + $this->_oktmo = $this->validatePropertyValue('_oktmo', $oktmo); + return $this; + } + + /** + * Возвращает payment_period. + * + * @return PaymentPeriod|null + */ + public function getPaymentPeriod(): ?PaymentPeriod + { + return $this->_payment_period; + } + + /** + * Устанавливает payment_period. + * + * @param PaymentPeriod|array|null $payment_period Период оплаты, за который выставлены начисления и за который вносится оплата. + * + * @return self + */ + public function setPaymentPeriod(mixed $payment_period = null): self + { + $this->_payment_period = $this->validatePropertyValue('_payment_period', $payment_period); + return $this; + } + + /** + * Возвращает payment_document_id. + * + * @return string|null + */ + public function getPaymentDocumentId(): ?string + { + return $this->_payment_document_id; + } + + /** + * Устанавливает идентификатор платежного документа. + * + * @param string|null $payment_document_id Идентификатор платежного документа. + * Обязательный параметр, если не передан `payment_document_number`, `account_number`, `unified_account_number` или `service_id`. + * + * @return self + */ + public function setPaymentDocumentId(?string $payment_document_id = null): self + { + $this->_payment_document_id = $this->validatePropertyValue('_payment_document_id', $payment_document_id); + return $this; + } + + /** + * Проверяет, были ли установлен идентификатор платежного документа. + * + * @return bool True если идентификатор платежного документа был установлен, false если нет + */ + public function hasPaymentDocumentId(): bool + { + return null !== $this->_payment_document_id; + } + + /** + * Возвращает payment_document_number. + * + * @return string|null + */ + public function getPaymentDocumentNumber(): ?string + { + return $this->_payment_document_number; + } + + /** + * Устанавливает номер платежного документа на стороне поставщика ЖКУ. + * + * @param string|null $payment_document_number Номер платежного документа на стороне поставщика ЖКУ. + * Обязательный параметр, если не передан `payment_document_id`, `account_number`, `unified_account_number` или `service_id`. + * + * @return self + */ + public function setPaymentDocumentNumber(?string $payment_document_number = null): self + { + $this->_payment_document_number = $this->validatePropertyValue('_payment_document_number', $payment_document_number); + return $this; + } + + /** + * Проверяет, были ли установлен номер платежного документа на стороне поставщика ЖКУ. + * + * @return bool True если номер платежного документа на стороне поставщика ЖКУ был установлен, false если нет + */ + public function hasPaymentDocumentNumber(): bool + { + return null !== $this->_payment_document_number; + } + + /** + * Возвращает номер лицевого счета на стороне поставщика ЖКУ. + * + * @return string|null + */ + public function getAccountNumber(): ?string + { + return $this->_account_number; + } + + /** + * Устанавливает номер лицевого счета на стороне поставщика ЖКУ. + * + * @param string|null $account_number Номер лицевого счета на стороне поставщика ЖКУ. + * Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `unified_account_number` или `service_id`. + * + * @return self + */ + public function setAccountNumber(?string $account_number = null): self + { + $this->_account_number = $this->validatePropertyValue('_account_number', $account_number); + return $this; + } + + /** + * Проверяет, были ли установлен номер лицевого счета на стороне поставщика ЖКУ. + * + * @return bool True если номер лицевого счета на стороне поставщика ЖКУ был установлен, false если нет + */ + public function hasAccountNumber(): bool + { + return null !== $this->_account_number; + } + + /** + * Возвращает единый лицевой счет. + * + * @return string|null + */ + public function getUnifiedAccountNumber(): ?string + { + return $this->_unified_account_number; + } + + /** + * Устанавливает единый лицевой счет. + * + * @param string|null $unified_account_number Единый лицевой счет. Уникальный идентификатор в ГИС ЖКХ, который характеризует связку «собственник-помещение». + * Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `service_id`. + * + * @return self + */ + public function setUnifiedAccountNumber(?string $unified_account_number = null): self + { + $this->_unified_account_number = $this->validatePropertyValue('_unified_account_number', $unified_account_number); + return $this; + } + + /** + * Проверяет, были ли установлен единый лицевой счет. + * + * @return bool True если единый лицевой счет был установлен, false если нет + */ + public function hasUnifiedAccountNumber(): bool + { + return null !== $this->_unified_account_number; + } + + /** + * Возвращает идентификатор жилищно-коммунальной услуги (ЖКУ). + * + * @return string|null + */ + public function getServiceId(): ?string + { + return $this->_service_id; + } + + /** + * Устанавливает идентификатор жилищно-коммунальной услуги (ЖКУ). + * + * @param string|null $service_id Идентификатор жилищно-коммунальной услуги (ЖКУ). + * Обязательный параметр, если не передан `payment_document_id`, `payment_document_number`, `account_number` или `unified_account_number`. + * + * @return self + */ + public function setServiceId(?string $service_id = null): self + { + $this->_service_id = $this->validatePropertyValue('_service_id', $service_id); + return $this; + } + + /** + * Проверяет, были ли установлен идентификатор жилищно-коммунальной услуги (ЖКУ). + * + * @return bool True если идентификатор жилищно-коммунальной услуги (ЖКУ) был установлен, false если нет + */ + public function hasServiceId(): bool + { + return null !== $this->service_id; + } + + /** + * Проверяет, что все необходимые поля заданы. + * + * @return bool + */ + public function validate(): bool + { + return $this->hasPaymentDocumentId() + || $this->hasPaymentDocumentNumber() + || $this->hasAccountNumber() + || $this->hasUnifiedAccountNumber() + || $this->hasServiceId(); + } +} diff --git a/lib/Request/Payments/PaymentPeriod.php b/lib/Request/Payments/PaymentPeriod.php new file mode 100644 index 00000000..e07f8c22 --- /dev/null +++ b/lib/Request/Payments/PaymentPeriod.php @@ -0,0 +1,112 @@ +_month; + } + + /** + * Устанавливает month. + * + * @param int|null $month Месяц периода. Например, ~`1` — январь. + * + * @return self + */ + public function setMonth(?int $month = null): self + { + $this->_month = $this->validatePropertyValue('_month', $month); + return $this; + } + + /** + * Возвращает year. + * + * @return int|null + */ + public function getYear(): ?int + { + return $this->_year; + } + + /** + * Устанавливает year. + * + * @param int|null $year Год периода. Например, ~`2025`. + * + * @return self + */ + public function setYear(?int $year = null): self + { + $this->_year = $this->validatePropertyValue('_year', $year); + return $this; + } +} + diff --git a/lib/Request/Receipts/AbstractReceiptResponse.php b/lib/Request/Receipts/AbstractReceiptResponse.php index 566a48e5..116e6d79 100644 --- a/lib/Request/Receipts/AbstractReceiptResponse.php +++ b/lib/Request/Receipts/AbstractReceiptResponse.php @@ -68,7 +68,7 @@ use YooKassa\Model\Receipt\SettlementInterface; * @property ListObjectInterface|IndustryDetails[] $receipt_industry_details Отраслевой реквизит чека. * @property OperationalDetails $receiptOperationalDetails Операционный реквизит чека. * @property OperationalDetails $receipt_operational_details Операционный реквизит чека. - * @property ListObjectInterface|ReceiptResponseItemInterface[] $items Список товаров в заказе. + * @property ListObjectInterface|ReceiptResponseItemInterface[] $items Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. * @property ListObjectInterface|SettlementInterface[] $settlements Перечень совершенных расчетов. * @property string $onBehalfOf Идентификатор магазина. * @property string $on_behalf_of Идентификатор магазина. @@ -126,7 +126,7 @@ abstract class AbstractReceiptResponse extends AbstractObject implements Receipt #[Assert\Type('string')] protected ?string $_fiscal_provider_id = null; - /** @var ReceiptResponseItemInterface[]|ListObjectInterface Список товаров в заказе */ + /** @var ReceiptResponseItemInterface[]|ListObjectInterface Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров */ #[Assert\NotBlank] #[Assert\Type(ListObject::class)] #[Assert\AllType(ReceiptResponseItem::class)] @@ -401,7 +401,7 @@ abstract class AbstractReceiptResponse extends AbstractObject implements Receipt /** * Устанавливает список позиций в чеке. * - * @param ReceiptResponseItemInterface[]|null $items Список товаров в заказе + * @param ReceiptResponseItemInterface[]|null $items Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров * * @return self */ diff --git a/lib/Request/Receipts/CreatePostReceiptRequest.php b/lib/Request/Receipts/CreatePostReceiptRequest.php index 49c520eb..4b9b123e 100644 --- a/lib/Request/Receipts/CreatePostReceiptRequest.php +++ b/lib/Request/Receipts/CreatePostReceiptRequest.php @@ -63,7 +63,7 @@ use YooKassa\Validator\Constraints as Assert; * @property array $receipt_industry_details Отраслевой реквизит предмета расчета. * @property OperationalDetails $receiptOperationalDetails Операционный реквизит чека. * @property OperationalDetails $receipt_operational_details Операционный реквизит чека. - * @property array $items Список товаров в заказе. Для чеков по 54-ФЗ можно передать не более 100 товаров, для чеков самозанятых — не более шести. + * @property array $items Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. * @property array $settlements Список платежей * @property string $objectId Идентификатор объекта оплаты * @property string $object_id Идентификатор объекта оплаты @@ -113,7 +113,7 @@ class CreatePostReceiptRequest extends AbstractRequest implements CreatePostRece #[Assert\Valid] private ?OperationalDetails $_receipt_operational_details = null; - /** @var ReceiptItemInterface[]|ListObjectInterface Список товаров в заказе. Для чеков по 54-ФЗ можно передать не более 100 товаров, для чеков самозанятых — не более шести. */ + /** @var ReceiptItemInterface[]|ListObjectInterface Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. */ #[Assert\NotBlank] #[Assert\Valid] #[Assert\AllType(ReceiptItem::class)] @@ -244,7 +244,7 @@ class CreatePostReceiptRequest extends AbstractRequest implements CreatePostRece * позиций. Все передаваемые значения в массиве позиций должны быть объектами класса, реализующего интерфейс * ReceiptItemInterface, в противном случае будет выброшено исключение InvalidPropertyValueTypeException. * - * @param array|ListObjectInterface $items Список товаров в заказе + * @param array|ListObjectInterface $items Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. * * @return self */ diff --git a/lib/Request/Receipts/CreatePostReceiptRequestInterface.php b/lib/Request/Receipts/CreatePostReceiptRequestInterface.php index 99e15e71..98157eeb 100644 --- a/lib/Request/Receipts/CreatePostReceiptRequestInterface.php +++ b/lib/Request/Receipts/CreatePostReceiptRequestInterface.php @@ -56,7 +56,7 @@ use YooKassa\Model\Receipt\SettlementInterface; * @property IndustryDetails[] $receipt_industry_details Отраслевой реквизит чека * @property OperationalDetails $receiptOperationalDetails Операционный реквизит чека * @property OperationalDetails $receipt_operational_details Операционный реквизит чека - * @property ReceiptItemInterface[] $items Список товаров в заказе + * @property ReceiptItemInterface[] $items Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров * @property SettlementInterface[] $settlements Массив оплат, обеспечивающих выдачу товара */ interface CreatePostReceiptRequestInterface @@ -195,7 +195,7 @@ interface CreatePostReceiptRequestInterface public function setCustomer(mixed $customer): CreatePostReceiptRequestInterface; /** - * Возвращает список товаров в заказе. + * Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. * * @return ReceiptItemInterface[]|ListObjectInterface|null */ diff --git a/lib/Request/Receipts/ReceiptResponseInterface.php b/lib/Request/Receipts/ReceiptResponseInterface.php index 57d1cede..676aa7ce 100644 --- a/lib/Request/Receipts/ReceiptResponseInterface.php +++ b/lib/Request/Receipts/ReceiptResponseInterface.php @@ -44,8 +44,8 @@ use YooKassa\Model\Receipt\SettlementInterface; * @property string $status Статус доставки данных для чека в онлайн-кассу ("pending", "succeeded" или "canceled"). * @property int $taxSystemCode Код системы налогообложения. Число 1-6. * @property int $tax_system_code Код системы налогообложения. Число 1-6. - * @property ReceiptResponseItemInterface[] $items Список товаров в заказе - * @property SettlementInterface[] $settlements Список товаров в заказе + * @property ReceiptResponseItemInterface[] $items Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. + * @property SettlementInterface[] $settlements Перечень совершенных расчетов. */ interface ReceiptResponseInterface { @@ -78,7 +78,7 @@ interface ReceiptResponseInterface public function getTaxSystemCode(): ?int; /** - * Возвращает список товаров в заказ. + * Возвращает Список товаров в заказе: для [Чеков от ЮKassa](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/yoomoney/basics) — не более 80 товаров, для [сторонних онлайн-касс](https://yookassa.ru/developers/payment-acceptance/receipts/54fz/other-services/basics) — не более 100 товаров. * * @return ReceiptResponseItemInterface[]|ListObjectInterface */ diff --git a/tests/Client/ClientTest.php b/tests/Client/ClientTest.php index 215ee266..83e6f9f6 100644 --- a/tests/Client/ClientTest.php +++ b/tests/Client/ClientTest.php @@ -13,6 +13,8 @@ use Psr\Log\LoggerInterface; use Psr\Log\LogLevel; use ReflectionException; use ReflectionMethod; +use stdClass; +use TypeError; use YooKassa\Client; use YooKassa\Client\ApiClientInterface; use YooKassa\Client\CurlClient; @@ -40,6 +42,8 @@ use YooKassa\Model\Receipt\ReceiptCustomer; use YooKassa\Model\Receipt\ReceiptItem; use YooKassa\Model\Receipt\ReceiptType; use YooKassa\Model\Receipt\Settlement; +use YooKassa\Model\SavePaymentMethod\Confirmation\ConfirmationType; +use YooKassa\Model\SavePaymentMethod\SavePaymentMethodType; use YooKassa\Request\Deals\CreateDealRequest; use YooKassa\Request\Deals\CreateDealResponse; use YooKassa\Request\Deals\DealResponse; @@ -48,6 +52,11 @@ use YooKassa\Request\Deals\DealsResponse; use YooKassa\Request\Invoices\CreateInvoiceRequest; use YooKassa\Request\Invoices\InvoiceResponse; use YooKassa\Request\Invoices\PaymentData; +use YooKassa\Request\PaymentMethods\ConfirmationData\ConfirmationRedirect; +use YooKassa\Request\PaymentMethods\CreatePaymentMethodRequest; +use YooKassa\Request\PaymentMethods\PaymentMethodCard; +use YooKassa\Request\PaymentMethods\PaymentMethodHolder; +use YooKassa\Request\PaymentMethods\PaymentMethodResponse; use YooKassa\Request\Payments\CancelResponse; use YooKassa\Request\Payments\CreateCaptureRequest; use YooKassa\Request\Payments\CreateCaptureResponse; @@ -2680,6 +2689,215 @@ class ClientTest extends TestCase ]; } + public function testCreatePaymentMethod() + { + $paymentMethod = CreatePaymentMethodRequest::builder() + ->setType(SavePaymentMethodType::BANK_CARD) + ->setCard([ + 'number' => Random::str(16, 19, '0123456789'), + 'expiry_year' => (string) Random::int(2023, 2045), + 'expiry_month' => str_pad((string) Random::int(1, 12), 2, '0', STR_PAD_LEFT), + 'cardholder' => Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-'), + 'csc' => Random::str(3, 4, '0123456789'), + ]) + ->setHolder(['gateway_id' => Random::str(1, 256),]) + ->setClientIp(Internet::localIpv4()) + ->setConfirmation([ + 'type' => ConfirmationType::REDIRECT, + 'enforce' => Random::bool(), + 'return_url' => Random::str(1,2048), + 'locale' => Random::value(['ru_RU', 'en_US']), + ]) + ->build() + ; + + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects($this->once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('createPaymentMethodFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->createPaymentMethod($paymentMethod) + ; + + self::assertSame($curlClientStub, $apiClient->getApiClient()); + self::assertInstanceOf(PaymentMethodResponse::class, $response); + + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects($this->once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('createInvoiceFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->createPaymentMethod([ + 'type' => SavePaymentMethodType::BANK_CARD, + 'card' => new PaymentMethodCard([ + 'number' => Random::str(16, 19, '0123456789'), + 'expiry_year' => (string) Random::int(2023, 2045), + 'expiry_month' => str_pad((string) Random::int(1, 12), 2, '0', STR_PAD_LEFT), + 'cardholder' => Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-'), + 'csc' => Random::str(3, 4, '0123456789'), + ]), + 'holder' => new PaymentMethodHolder([ + 'gateway_id' => Random::str(1, 256), + ]), + 'client_ip' => Internet::localIpv4(), + 'confirmation' => new ConfirmationRedirect([ + 'type' => ConfirmationType::REDIRECT, + 'enforce' => Random::bool(), + 'return_url' => Random::str(1,2048), + 'locale' => Random::value(['ru_RU', 'en_US']), + ]), + ], 123) + ; + + self::assertSame($curlClientStub, $apiClient->getApiClient()); + self::assertInstanceOf(PaymentMethodResponse::class, $response); + + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects($this->any()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + '{"type":"error","code":"request_accepted","retry_after":1800}', + ['http_code' => 202], + ]) + ; + + try { + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->createPaymentMethod($paymentMethod, 123) + ; + self::fail('Исключение не было выброшено'); + } catch (ApiException $e) { + self::assertInstanceOf(ResponseProcessingException::class, $e); + } + + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects($this->any()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + '{"type":"error","code":"request_accepted","retry_after":1800}', + ['http_code' => 202], + ]) + ; + + try { + $apiClient->setRetryTimeout(0); + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->createPaymentMethod($paymentMethod, 123) + ; + self::fail('Исключение не было выброшено'); + } catch (ResponseProcessingException $e) { + self::assertEquals(Client::DEFAULT_DELAY, $e->retryAfter); + } + } + + /** + * @dataProvider paymentMethodInfoDataProvider + * + * @param mixed $paymentMethodId + * @param string|null $exceptionClassName + * + * @throws ApiConnectionException + * @throws ApiException + * @throws AuthorizeException + * @throws BadApiRequestException + * @throws ExtensionNotFoundException + * @throws ForbiddenException + * @throws InternalServerError + * @throws JsonException + * @throws NotFoundException + * @throws ResponseProcessingException + * @throws TooManyRequestsException + * @throws UnauthorizedException + */ + public function testGetPaymentMethodInfo(mixed $paymentMethodId, ?string $exceptionClassName = null): void + { + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects(null !== $exceptionClassName ? self::never() : self::once()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + $this->getFixtures('paymentMethodInfoFixtures.json'), + ['http_code' => 200], + ]) + ; + + $apiClient = new Client(); + + if (null !== $exceptionClassName) { + $this->expectException($exceptionClassName); + } + + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->getPaymentMethodInfo($paymentMethodId) + ; + + self::assertInstanceOf(PaymentMethodResponse::class, $response); + + $curlClientStub = $this->getCurlClientStub(); + $curlClientStub + ->expects($this->any()) + ->method('sendRequest') + ->willReturn([ + ['Header-Name' => 'HeaderValue'], + '{"type":"error","code":"request_accepted","retry_after":1800}', + ['http_code' => 202], + ]) + ; + + try { + $apiClient->setRetryTimeout(0); + $response = $apiClient + ->setApiClient($curlClientStub) + ->setAuth('123456', 'shopPassword') + ->getPaymentMethodInfo($paymentMethodId) + ; + self::fail('Исключение не было выброшено'); + } catch (ResponseProcessingException $e) { + self::assertEquals(Client::DEFAULT_DELAY, $e->retryAfter); + } + } + + public static function paymentMethodInfoDataProvider(): array + { + return [ + [Random::str(39)], + [new StringObject(Random::str(39))], + [[], TypeError::class], + [new stdClass(), TypeError::class], + ]; + } + public function getCurlClientStub(): MockObject { return $this->getMockBuilder(CurlClient::class) diff --git a/tests/Client/fixtures/createPaymentMethodFixtures.json b/tests/Client/fixtures/createPaymentMethodFixtures.json new file mode 100644 index 00000000..6e960e3a --- /dev/null +++ b/tests/Client/fixtures/createPaymentMethodFixtures.json @@ -0,0 +1,14 @@ +{ + "type": "bank_card", + "id": "22d6d597-000f-5000-9000-145f6df21d6f", + "saved": false, + "status": "pending", + "holder": { + "account_id": "100500", + "gateway_id": "100700" + }, + "confirmation": { + "type": "redirect", + "confirmation_url": "https://yoomoney.ru/checkout/payment-methods/v1/contract?orderId=2f244b8d-0037-5000-8000-0122855e68fc" + } +} diff --git a/tests/Client/fixtures/createRefundFixtures.json b/tests/Client/fixtures/createRefundFixtures.json index de730515..572973ca 100644 --- a/tests/Client/fixtures/createRefundFixtures.json +++ b/tests/Client/fixtures/createRefundFixtures.json @@ -13,5 +13,8 @@ "currency": "RUB" }, "receipt_registered": "succeeded", - "description": "string" + "description": "string", + "refund_authorization_details": { + "rrn": "603668680243" + } } diff --git a/tests/Client/fixtures/paymentMethodInfoFixtures.json b/tests/Client/fixtures/paymentMethodInfoFixtures.json new file mode 100644 index 00000000..2a032929 --- /dev/null +++ b/tests/Client/fixtures/paymentMethodInfoFixtures.json @@ -0,0 +1,22 @@ +{ + "type": "bank_card", + "id": "22e12f66-000f-5000-8000-18db351245c7", + "saved": true, + "status": "active", + "holder": { + "account_id": "100500" + }, + "card": { + "first6": "555555", + "last4": "4444", + "expiry_month": "07", + "expiry_year": "2022", + "card_type": "Mir", + "card_product": { + "code": "MCP", + "name": "MIR Privilege" + }, + "issuer_country": "RU", + "issuer_name": "Sberbank" + } +} diff --git a/tests/Client/fixtures/refundInfoFixtures.json b/tests/Client/fixtures/refundInfoFixtures.json index 8af8af57..9ae16a38 100644 --- a/tests/Client/fixtures/refundInfoFixtures.json +++ b/tests/Client/fixtures/refundInfoFixtures.json @@ -13,5 +13,8 @@ "currency": "RUB" }, "receipt_registered": "succeeded", - "description": "string" + "description": "string", + "refund_authorization_details": { + "rrn": "603668680243" + } } diff --git a/tests/Model/Notification/NotificationCanceledTest.php b/tests/Model/Notification/NotificationCanceledTest.php index 8b003288..9c7244b8 100644 --- a/tests/Model/Notification/NotificationCanceledTest.php +++ b/tests/Model/Notification/NotificationCanceledTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Notification/NotificationDealClosedTest.php b/tests/Model/Notification/NotificationDealClosedTest.php index ea3edfcb..d0f1ec3c 100644 --- a/tests/Model/Notification/NotificationDealClosedTest.php +++ b/tests/Model/Notification/NotificationDealClosedTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Notification/NotificationFactoryTest.php b/tests/Model/Notification/NotificationFactoryTest.php index 4273cae8..9bd9cc86 100644 --- a/tests/Model/Notification/NotificationFactoryTest.php +++ b/tests/Model/Notification/NotificationFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Notification/NotificationPayoutCanceledTest.php b/tests/Model/Notification/NotificationPayoutCanceledTest.php index 4008bad8..a473c166 100644 --- a/tests/Model/Notification/NotificationPayoutCanceledTest.php +++ b/tests/Model/Notification/NotificationPayoutCanceledTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Notification/NotificationPayoutSucceededTest.php b/tests/Model/Notification/NotificationPayoutSucceededTest.php index 9e11c678..739c63f7 100644 --- a/tests/Model/Notification/NotificationPayoutSucceededTest.php +++ b/tests/Model/Notification/NotificationPayoutSucceededTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Notification/NotificationRefundSucceededTest.php b/tests/Model/Notification/NotificationRefundSucceededTest.php index cbcbcc21..0c2ae078 100644 --- a/tests/Model/Notification/NotificationRefundSucceededTest.php +++ b/tests/Model/Notification/NotificationRefundSucceededTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Notification/NotificationSucceededTest.php b/tests/Model/Notification/NotificationSucceededTest.php index d528b6d4..f96ee4d8 100644 --- a/tests/Model/Notification/NotificationSucceededTest.php +++ b/tests/Model/Notification/NotificationSucceededTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Notification/NotificationWaitingForCaptureTest.php b/tests/Model/Notification/NotificationWaitingForCaptureTest.php index aa5c9372..32ba751b 100644 --- a/tests/Model/Notification/NotificationWaitingForCaptureTest.php +++ b/tests/Model/Notification/NotificationWaitingForCaptureTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php b/tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php index 4081f608..52df2c61 100644 --- a/tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php +++ b/tests/Model/Payment/PaymentMethod/SbpPayerBankDetailsTest.php @@ -75,8 +75,8 @@ class SbpPayerBankDetailsTest extends AbstractTestCase self::assertNotNull($instance->bank_id); self::assertEquals($value, $instance->getBankId()); self::assertEquals($value, $instance->bank_id); - self::assertMatchesRegularExpression("/\\d{12}/", $instance->getBankId()); - self::assertMatchesRegularExpression("/\\d{12}/", $instance->bank_id); + self::assertMatchesRegularExpression("/[a-zA-Z0-9]{12}/", $instance->getBankId()); + self::assertMatchesRegularExpression("/[a-zA-Z0-9]{12}/", $instance->bank_id); self::assertLessThanOrEqual(12, is_string($instance->getBankId()) ? mb_strlen($instance->getBankId()) : $instance->getBankId()); self::assertLessThanOrEqual(12, is_string($instance->bank_id) ? mb_strlen($instance->bank_id) : $instance->bank_id); } diff --git a/tests/Model/Payout/PayoutCancellationDetailsTest.php b/tests/Model/Payout/PayoutCancellationDetailsTest.php index 22036f6c..1ed2a1b4 100644 --- a/tests/Model/Payout/PayoutCancellationDetailsTest.php +++ b/tests/Model/Payout/PayoutCancellationDetailsTest.php @@ -133,8 +133,8 @@ class PayoutCancellationDetailsTest extends AbstractTestCase self::assertNotNull($instance->reason); self::assertEquals($value, is_array($value) ? $instance->getReason()->toArray() : $instance->getReason()); self::assertEquals($value, is_array($value) ? $instance->reason->toArray() : $instance->reason); - self::assertContains($instance->getReason(), ['insufficient_funds', 'fraud_suspected', 'one_time_limit_exceeded', 'periodic_limit_exceeded', 'rejected_by_payee', 'general_decline', 'issuer_unavailable', 'recipient_not_found', 'recipient_check_failed', 'identification_required']); - self::assertContains($instance->reason, ['insufficient_funds', 'fraud_suspected', 'one_time_limit_exceeded', 'periodic_limit_exceeded', 'rejected_by_payee', 'general_decline', 'issuer_unavailable', 'recipient_not_found', 'recipient_check_failed', 'identification_required']); + self::assertContains($instance->getReason(), ['insufficient_funds', 'fraud_suspected', 'one_time_limit_exceeded', 'periodic_limit_exceeded', 'rejected_by_payee', 'general_decline', 'issuer_unavailable', 'recipient_not_found', 'recipient_check_failed', 'identification_required', 'self_employed_annual_limit_exceeded']); + self::assertContains($instance->reason, ['insufficient_funds', 'fraud_suspected', 'one_time_limit_exceeded', 'periodic_limit_exceeded', 'rejected_by_payee', 'general_decline', 'issuer_unavailable', 'recipient_not_found', 'recipient_check_failed', 'identification_required', 'self_employed_annual_limit_exceeded']); } /** diff --git a/tests/Model/PersonalData/PersonalDataCancellationDetailsTest.php b/tests/Model/PersonalData/PersonalDataCancellationDetailsTest.php index 5d22dbc9..6f8d68f9 100644 --- a/tests/Model/PersonalData/PersonalDataCancellationDetailsTest.php +++ b/tests/Model/PersonalData/PersonalDataCancellationDetailsTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/PersonalData/PersonalDataTest.php b/tests/Model/PersonalData/PersonalDataTest.php index 376c8354..24cfdda7 100644 --- a/tests/Model/PersonalData/PersonalDataTest.php +++ b/tests/Model/PersonalData/PersonalDataTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/Refund/RefundAuthorizationDetailsTest.php b/tests/Model/Refund/RefundAuthorizationDetailsTest.php new file mode 100644 index 00000000..bcab4c1d --- /dev/null +++ b/tests/Model/Refund/RefundAuthorizationDetailsTest.php @@ -0,0 +1,119 @@ +object = $this->getMockBuilder(RefundAuthorizationDetails::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(RefundAuthorizationDetails::class)); + $this->assertInstanceOf(RefundAuthorizationDetails::class, $this->object); + } + + /** + * Test property "rrn" + * @dataProvider validRrnDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testRrn(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getRrn()); + self::assertEmpty($instance->rrn); + $instance->setRrn($value); + self::assertEquals($value, is_array($value) ? $instance->getRrn()->toArray() : $instance->getRrn()); + self::assertEquals($value, is_array($value) ? $instance->rrn->toArray() : $instance->rrn); + if (!empty($value)) { + self::assertNotNull($instance->getRrn()); + self::assertNotNull($instance->rrn); + } + } + + /** + * Test invalid property "rrn" + * @dataProvider invalidRrnDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidRrn(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setRrn($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validRrnDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_rrn')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidRrnDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_rrn')); + } +} diff --git a/tests/Model/Refund/RefundTest.php b/tests/Model/Refund/RefundTest.php index 97d15af5..db51443d 100644 --- a/tests/Model/Refund/RefundTest.php +++ b/tests/Model/Refund/RefundTest.php @@ -712,4 +712,62 @@ class RefundTest extends AbstractTestCase $instance = $this->getTestInstance(); return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_refund_method')); } + + /** + * Test property "refund_authorization_details" + * @dataProvider validRefundAuthorizationDetailsDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testRefundAuthorizationDetails(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getRefundAuthorizationDetails()); + self::assertEmpty($instance->refund_authorization_details); + $instance->setRefundAuthorizationDetails($value); + self::assertEquals($value, is_array($value) ? $instance->getRefundAuthorizationDetails()->toArray() : $instance->getRefundAuthorizationDetails()); + self::assertEquals($value, is_array($value) ? $instance->refund_authorization_details->toArray() : $instance->refund_authorization_details); + if (!empty($value)) { + self::assertNotNull($instance->getRefundAuthorizationDetails()); + self::assertNotNull($instance->refund_authorization_details); + } + } + + /** + * Test invalid property "refund_authorization_details" + * @dataProvider invalidRefundAuthorizationDetailsDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidRefundAuthorizationDetails(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setRefundAuthorizationDetails($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validRefundAuthorizationDetailsDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_refund_authorization_details')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidRefundAuthorizationDetailsDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_refund_authorization_details')); + } } diff --git a/tests/Model/SavePaymentMethod/Confirmation/ConfirmationRedirectTest.php b/tests/Model/SavePaymentMethod/Confirmation/ConfirmationRedirectTest.php new file mode 100644 index 00000000..25abf158 --- /dev/null +++ b/tests/Model/SavePaymentMethod/Confirmation/ConfirmationRedirectTest.php @@ -0,0 +1,288 @@ +object = $this->getMockBuilder(ConfirmationRedirect::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(ConfirmationRedirect::class)); + $this->assertInstanceOf(ConfirmationRedirect::class, $this->object); + } + + /** + * 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, is_array($value) ? $instance->getType()->toArray() : $instance->getType()); + self::assertEquals($value, is_array($value) ? $instance->type->toArray() : $instance->type); + self::assertContains($instance->getType(), ['redirect']); + self::assertContains($instance->type, ['redirect']); + } + + /** + * 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 + { + return [['redirect']]; + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "confirmation_url" + * @dataProvider validConfirmationUrlDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testConfirmationUrl(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setConfirmationUrl($value); + self::assertNotNull($instance->getConfirmationUrl()); + self::assertNotNull($instance->confirmation_url); + self::assertEquals($value, is_array($value) ? $instance->getConfirmationUrl()->toArray() : $instance->getConfirmationUrl()); + self::assertEquals($value, is_array($value) ? $instance->confirmation_url->toArray() : $instance->confirmation_url); + } + + /** + * Test invalid property "confirmation_url" + * @dataProvider invalidConfirmationUrlDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidConfirmationUrl(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setConfirmationUrl($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validConfirmationUrlDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation_url')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidConfirmationUrlDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation_url')); + } + + /** + * Test property "enforce" + * @dataProvider validEnforceDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testEnforce(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getEnforce()); + self::assertEmpty($instance->enforce); + $instance->setEnforce($value); + self::assertEquals($value, is_array($value) ? $instance->getEnforce()->toArray() : $instance->getEnforce()); + self::assertEquals($value, is_array($value) ? $instance->enforce->toArray() : $instance->enforce); + if (!empty($value)) { + self::assertNotNull($instance->getEnforce()); + self::assertNotNull($instance->enforce); + } + } + + /** + * Test invalid property "enforce" + * @dataProvider invalidEnforceDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidEnforce(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setEnforce($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validEnforceDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_enforce')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidEnforceDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_enforce')); + } + + /** + * Test property "return_url" + * @dataProvider validReturnUrlDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testReturnUrl(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getReturnUrl()); + self::assertEmpty($instance->return_url); + $instance->setReturnUrl($value); + self::assertEquals($value, is_array($value) ? $instance->getReturnUrl()->toArray() : $instance->getReturnUrl()); + self::assertEquals($value, is_array($value) ? $instance->return_url->toArray() : $instance->return_url); + if (!empty($value)) { + self::assertNotNull($instance->getReturnUrl()); + self::assertNotNull($instance->return_url); + } + } + + /** + * Test invalid property "return_url" + * @dataProvider invalidReturnUrlDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidReturnUrl(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setReturnUrl($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validReturnUrlDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_return_url')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidReturnUrlDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_return_url')); + } +} diff --git a/tests/Model/SavePaymentMethod/SavePaymentMethodHolderTest.php b/tests/Model/SavePaymentMethod/SavePaymentMethodHolderTest.php new file mode 100644 index 00000000..d06c0ecb --- /dev/null +++ b/tests/Model/SavePaymentMethod/SavePaymentMethodHolderTest.php @@ -0,0 +1,173 @@ +object = $this->getMockBuilder(SavePaymentMethodHolder::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(SavePaymentMethodHolder::class)); + $this->assertInstanceOf(SavePaymentMethodHolder::class, $this->object); + } + + /** + * Test property "account_id" + * @dataProvider validAccountIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAccountId(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAccountId($value); + self::assertNotNull($instance->getAccountId()); + self::assertNotNull($instance->account_id); + self::assertEquals($value, is_array($value) ? $instance->getAccountId()->toArray() : $instance->getAccountId()); + self::assertEquals($value, is_array($value) ? $instance->account_id->toArray() : $instance->account_id); + } + + /** + * Test invalid property "account_id" + * @dataProvider invalidAccountIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAccountId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAccountId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAccountIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAccountIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_id')); + } + + /** + * Test property "gateway_id" + * @dataProvider validGatewayIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testGatewayId(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getGatewayId()); + self::assertEmpty($instance->gateway_id); + $instance->setGatewayId($value); + self::assertEquals($value, is_array($value) ? $instance->getGatewayId()->toArray() : $instance->getGatewayId()); + self::assertEquals($value, is_array($value) ? $instance->gateway_id->toArray() : $instance->gateway_id); + if (!empty($value)) { + self::assertNotNull($instance->getGatewayId()); + self::assertNotNull($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/SavePaymentMethodTest.php b/tests/Model/SavePaymentMethod/SavePaymentMethodTest.php new file mode 100644 index 00000000..3e89479e --- /dev/null +++ b/tests/Model/SavePaymentMethod/SavePaymentMethodTest.php @@ -0,0 +1,507 @@ +object = $this->getMockBuilder(SavePaymentMethod::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(SavePaymentMethod::class)); + $this->assertInstanceOf(SavePaymentMethod::class, $this->object); + } + + /** + * 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, is_array($value) ? $instance->getType()->toArray() : $instance->getType()); + self::assertEquals($value, is_array($value) ? $instance->type->toArray() : $instance->type); + } + + /** + * 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')); + } + + /** + * 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, is_array($value) ? $instance->getId()->toArray() : $instance->getId()); + self::assertEquals($value, is_array($value) ? $instance->id->toArray() : $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 "saved" + * @dataProvider validSavedDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testSaved(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setSaved($value); + self::assertNotNull($instance->getSaved()); + self::assertNotNull($instance->saved); + self::assertEquals($value, is_array($value) ? $instance->getSaved()->toArray() : $instance->getSaved()); + self::assertEquals($value, is_array($value) ? $instance->saved->toArray() : $instance->saved); + self::assertIsBool($instance->getSaved()); + self::assertIsBool($instance->saved); + } + + /** + * Test invalid property "saved" + * @dataProvider invalidSavedDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidSaved(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setSaved($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validSavedDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_saved')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidSavedDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_saved')); + } + + /** + * 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, is_array($value) ? $instance->getStatus()->toArray() : $instance->getStatus()); + self::assertEquals($value, is_array($value) ? $instance->status->toArray() : $instance->status); + } + + /** + * 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 "holder" + * @dataProvider validHolderDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testHolder(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setHolder($value); + self::assertNotNull($instance->getHolder()); + self::assertNotNull($instance->holder); + self::assertEquals($value, is_array($value) ? $instance->getHolder()->toArray() : $instance->getHolder()); + self::assertEquals($value, is_array($value) ? $instance->holder->toArray() : $instance->holder); + } + + /** + * Test invalid property "holder" + * @dataProvider invalidHolderDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidHolder(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setHolder($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validHolderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_holder')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidHolderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_holder')); + } + + /** + * Test property "title" + * @dataProvider validTitleDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testTitle(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getTitle()); + self::assertEmpty($instance->title); + $instance->setTitle($value); + self::assertEquals($value, is_array($value) ? $instance->getTitle()->toArray() : $instance->getTitle()); + self::assertEquals($value, is_array($value) ? $instance->title->toArray() : $instance->title); + if (!empty($value)) { + self::assertNotNull($instance->getTitle()); + self::assertNotNull($instance->title); + } + } + + /** + * Test invalid property "title" + * @dataProvider invalidTitleDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidTitle(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setTitle($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validTitleDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_title')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidTitleDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_title')); + } + + /** + * Test property "confirmation" + * @dataProvider validConfirmationDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testConfirmation(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getConfirmation()); + self::assertEmpty($instance->confirmation); + $instance->setConfirmation($value); + self::assertEquals($value, is_array($value) ? $instance->getConfirmation()->toArray() : $instance->getConfirmation()); + self::assertEquals($value, is_array($value) ? $instance->confirmation->toArray() : $instance->confirmation); + if (!empty($value)) { + self::assertNotNull($instance->getConfirmation()); + self::assertNotNull($instance->confirmation); + } + } + + /** + * Test invalid property "confirmation" + * @dataProvider invalidConfirmationDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidConfirmation(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setConfirmation($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validConfirmationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidConfirmationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); + } + + /** + * Test property "card" + * @dataProvider validCardDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCard(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getCard()); + self::assertEmpty($instance->card); + $instance->setCard($value); + self::assertEquals($value, is_array($value) ? $instance->getCard()->toArray() : $instance->getCard()); + self::assertEquals($value, is_array($value) ? $instance->card->toArray() : $instance->card); + if (!empty($value)) { + self::assertNotNull($instance->getCard()); + self::assertNotNull($instance->card); + } + } + + /** + * Test invalid property "card" + * @dataProvider invalidCardDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCard(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCard($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } +} diff --git a/tests/Model/SelfEmployed/AbstractTestConfirmation.php b/tests/Model/SelfEmployed/AbstractTestConfirmation.php index d8fdcd8a..96de33fd 100644 --- a/tests/Model/SelfEmployed/AbstractTestConfirmation.php +++ b/tests/Model/SelfEmployed/AbstractTestConfirmation.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/SelfEmployed/ConfirmationFactoryTest.php b/tests/Model/SelfEmployed/ConfirmationFactoryTest.php index 4dddde01..0e261853 100644 --- a/tests/Model/SelfEmployed/ConfirmationFactoryTest.php +++ b/tests/Model/SelfEmployed/ConfirmationFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/SelfEmployed/ConfirmationRedirectTest.php b/tests/Model/SelfEmployed/ConfirmationRedirectTest.php index 3bc84682..fd9d7c7f 100644 --- a/tests/Model/SelfEmployed/ConfirmationRedirectTest.php +++ b/tests/Model/SelfEmployed/ConfirmationRedirectTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Model/SelfEmployed/SelfEmployedTest.php b/tests/Model/SelfEmployed/SelfEmployedTest.php index 9eb531f3..453ff18c 100644 --- a/tests/Model/SelfEmployed/SelfEmployedTest.php +++ b/tests/Model/SelfEmployed/SelfEmployedTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/AbstractTestDealResponse.php b/tests/Request/Deals/AbstractTestDealResponse.php index b3ca0d28..9ea52095 100644 --- a/tests/Request/Deals/AbstractTestDealResponse.php +++ b/tests/Request/Deals/AbstractTestDealResponse.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/CreateDealRequestBuilderTest.php b/tests/Request/Deals/CreateDealRequestBuilderTest.php index 4e7bdb52..670c537f 100644 --- a/tests/Request/Deals/CreateDealRequestBuilderTest.php +++ b/tests/Request/Deals/CreateDealRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/CreateDealRequestSerializerTest.php b/tests/Request/Deals/CreateDealRequestSerializerTest.php index d1f299a7..00e7b5f0 100644 --- a/tests/Request/Deals/CreateDealRequestSerializerTest.php +++ b/tests/Request/Deals/CreateDealRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/CreateDealRequestTest.php b/tests/Request/Deals/CreateDealRequestTest.php index 2ff91706..ea510103 100644 --- a/tests/Request/Deals/CreateDealRequestTest.php +++ b/tests/Request/Deals/CreateDealRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/CreateDealResponseTest.php b/tests/Request/Deals/CreateDealResponseTest.php index 6308f0ac..a98aa403 100644 --- a/tests/Request/Deals/CreateDealResponseTest.php +++ b/tests/Request/Deals/CreateDealResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/DealResponseTest.php b/tests/Request/Deals/DealResponseTest.php index 0d8f320b..30b0bd0b 100644 --- a/tests/Request/Deals/DealResponseTest.php +++ b/tests/Request/Deals/DealResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/DealsRequestBuilderTest.php b/tests/Request/Deals/DealsRequestBuilderTest.php index e79cdf9d..bf3e2c92 100644 --- a/tests/Request/Deals/DealsRequestBuilderTest.php +++ b/tests/Request/Deals/DealsRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/DealsRequestSerializerTest.php b/tests/Request/Deals/DealsRequestSerializerTest.php index 90d078af..e2cd8587 100644 --- a/tests/Request/Deals/DealsRequestSerializerTest.php +++ b/tests/Request/Deals/DealsRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/DealsRequestTest.php b/tests/Request/Deals/DealsRequestTest.php index ce50fd1f..8c76759a 100644 --- a/tests/Request/Deals/DealsRequestTest.php +++ b/tests/Request/Deals/DealsRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Deals/DealsResponseTest.php b/tests/Request/Deals/DealsResponseTest.php index 34c698c4..45565673 100644 --- a/tests/Request/Deals/DealsResponseTest.php +++ b/tests/Request/Deals/DealsResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Invoices/CreateInvoiceRequestBuilderTest.php b/tests/Request/Invoices/CreateInvoiceRequestBuilderTest.php index a43dcf90..90a94ad2 100644 --- a/tests/Request/Invoices/CreateInvoiceRequestBuilderTest.php +++ b/tests/Request/Invoices/CreateInvoiceRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Invoices/CreateInvoiceRequestSerializerTest.php b/tests/Request/Invoices/CreateInvoiceRequestSerializerTest.php index a75601b6..cacd421e 100644 --- a/tests/Request/Invoices/CreateInvoiceRequestSerializerTest.php +++ b/tests/Request/Invoices/CreateInvoiceRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Invoices/CreateInvoiceRequestTest.php b/tests/Request/Invoices/CreateInvoiceRequestTest.php index 3f1f726c..8a241645 100644 --- a/tests/Request/Invoices/CreateInvoiceRequestTest.php +++ b/tests/Request/Invoices/CreateInvoiceRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Invoices/InvoiceResponseTest.php b/tests/Request/Invoices/InvoiceResponseTest.php index 980f4c58..f458a1d5 100644 --- a/tests/Request/Invoices/InvoiceResponseTest.php +++ b/tests/Request/Invoices/InvoiceResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PaymentMethods/CreatePaymentMethodRequestBuilderTest.php b/tests/Request/PaymentMethods/CreatePaymentMethodRequestBuilderTest.php new file mode 100644 index 00000000..2b2518eb --- /dev/null +++ b/tests/Request/PaymentMethods/CreatePaymentMethodRequestBuilderTest.php @@ -0,0 +1,406 @@ +setType($value); + $instance = $builder->build(); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertEquals($value, is_array($value) ? $instance->getType()->toArray() : $instance->getType()); + self::assertEquals($value, is_array($value) ? $instance->type->toArray() : $instance->type); + } + + /** + * Test invalid property "type" + * @dataProvider invalidTypeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidType(mixed $value, string $exceptionClass): void + { + $builder = CreatePaymentMethodRequest::builder(); + $this->expectException($exceptionClass); + $builder->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')); + } + + /** + * Test property "card" + * @dataProvider validCardDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCard(mixed $value): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions(['type' => SavePaymentMethodType::BANK_CARD]); + $builder->setCard($value); + $instance = $builder->build(); + if (!empty($value)) { + self::assertNotNull($instance->getCard()); + self::assertNotNull($instance->card); + } else { + self::assertEquals($value, is_array($value) ? $instance->getCard()->toArray() : $instance->getCard()); + self::assertEquals($value, is_array($value) ? $instance->card->toArray() : $instance->card); + } + } + + /** + * Test invalid property "card" + * @dataProvider invalidCardDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCard(mixed $value, string $exceptionClass): void + { + $builder = CreatePaymentMethodRequest::builder(); + $this->expectException($exceptionClass); + $builder->setCard($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCardDataProvider(): array + { + return [ + [null], + [new PaymentMethodCard([ + 'number' => Random::str(16, 19, '0123456789'), + 'expiry_year' => (string) Random::int(2023, 2045), + 'expiry_month' => str_pad((string) Random::int(1, 12), 2, '0', STR_PAD_LEFT), + 'cardholder' => Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-'), + 'csc' => Random::str(3, 4, '0123456789'), + ])], + [''], + [[ + 'number' => Random::str(16, 19, '0123456789'), + 'expiry_year' => (string) Random::int(2023, 2030), + 'expiry_month' => str_pad((string) Random::int(1, 12), 2, '0', STR_PAD_LEFT), + 'cardholder' => Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-'), + ]], + ]; + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * Test property "holder" + * @dataProvider validHolderDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testHolder(mixed $value): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions(['type' => SavePaymentMethodType::BANK_CARD]); + $builder->setHolder($value); + $instance = $builder->build(); + + self::assertEquals($value, is_array($value) ? $instance->getHolder()->toArray() : $instance->getHolder()); + self::assertEquals($value, is_array($value) ? $instance->holder->toArray() : $instance->holder); + if (!empty($value)) { + self::assertNotNull($instance->getHolder()); + self::assertNotNull($instance->holder); + } + } + + /** + * Test invalid property "holder" + * @dataProvider invalidHolderDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidHolder(mixed $value, string $exceptionClass): void + { + $builder = CreatePaymentMethodRequest::builder(); + $this->expectException($exceptionClass); + $builder->setHolder($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validHolderDataProvider(): array + { + return [ + [null], + [new PaymentMethodHolder([ + 'gateway_id' => Random::str(1, 256), + ])], + [''], + [[ + 'gateway_id' => Random::str(1, 256), + ]], + ]; + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidHolderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_holder')); + } + + /** + * Test property "client_ip" + * @dataProvider validClientIpDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testClientIp(mixed $value): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions($this->getRequiredData('client_ip')); + $builder->setClientIp($value); + + $instance = $builder->build(); + + self::assertEquals($value, is_array($value) ? $instance->getClientIp()->toArray() : $instance->getClientIp()); + self::assertEquals($value, is_array($value) ? $instance->client_ip->toArray() : $instance->client_ip); + if (!empty($value)) { + self::assertNotNull($instance->getClientIp()); + self::assertNotNull($instance->client_ip); + } + } + + /** + * Test invalid property "client_ip" + * @dataProvider invalidClientIpDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidClientIp(mixed $value, string $exceptionClass): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions($this->getRequiredData('client_ip')); + + $this->expectException($exceptionClass); + $builder->setClientIp($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validClientIpDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_client_ip')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidClientIpDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_client_ip')); + } + + /** + * Test property "confirmation" + * @dataProvider validConfirmationDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testConfirmation(mixed $value): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions($this->getRequiredData('confirmation')); + $builder->setConfirmation($value); + + $instance = $builder->build(); + + self::assertEquals($value, is_array($value) ? $instance->getConfirmation()->toArray() : $instance->getConfirmation()); + self::assertEquals($value, is_array($value) ? $instance->confirmation->toArray() : $instance->confirmation); + if (!empty($value)) { + self::assertNotNull($instance->getConfirmation()); + self::assertNotNull($instance->confirmation); + } + } + + /** + * Test invalid property "confirmation" + * @dataProvider invalidConfirmationDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidConfirmation(mixed $value, string $exceptionClass): void + { + $builder = CreatePaymentMethodRequest::builder(); + $builder->setOptions($this->getRequiredData('confirmation')); + + $this->expectException($exceptionClass); + $builder->setConfirmation($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validConfirmationDataProvider(): array + { + return [ + [null], + [new ConfirmationRedirect([ + 'type' => ConfirmationType::REDIRECT, + 'enforce' => Random::bool(), + 'return_url' => Random::str(1,2048), + 'locale' => Random::value(['ru_RU', 'en_US']), + ])], + [''], + [[ + 'type' => ConfirmationType::REDIRECT, + 'enforce' => Random::bool(), + 'return_url' => Random::str(1,2048), + 'locale' => Random::value(['ru_RU', 'en_US']), + ]], + ]; + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidConfirmationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); + } + + /** + * @param string|null $testingProperty + * + * @return array + */ + protected function getRequiredData(?string $testingProperty = null): array + { + $result = []; + if ('type' !== $testingProperty) { + $result['type'] = SavePaymentMethodType::BANK_CARD; + } + if ('holder' !== $testingProperty) { + $result['holder'] = new PaymentMethodHolder(['gateway_id' => Random::str(1, 256)]); + } + + return $result; + } +} diff --git a/tests/Request/PaymentMethods/CreatePaymentMethodRequestSerializerTest.php b/tests/Request/PaymentMethods/CreatePaymentMethodRequestSerializerTest.php new file mode 100644 index 00000000..06c37867 --- /dev/null +++ b/tests/Request/PaymentMethods/CreatePaymentMethodRequestSerializerTest.php @@ -0,0 +1,173 @@ +build($options); + $data = $serializer->serialize($instance); + + $request = new CreatePaymentMethodRequest($options); + $expected = $request->toArray(); + + self::assertEquals($expected, $data); + } + + /** + * @throws Exception + */ + public static function validDataProvider(): array + { + return [[ + ['type' => SavePaymentMethodType::BANK_CARD]], + [[ + 'type' => SavePaymentMethodType::BANK_CARD, + 'card' => [ + 'number' => Random::str(16, '0123456789'), + 'expiry_year' => (string) Random::int(2023, 2045), + 'expiry_month' => str_pad((string) Random::int(1, 12), 2, '0', STR_PAD_LEFT), + 'cardholder' => Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-'), + 'csc' => Random::str(3, 4, '0123456789'), + ], + 'holder' => [ + 'gateway_id' => Random::str(1, 256), + ], + 'client_ip' => Internet::localIpv4(), + 'confirmation' => [ + 'type' => ConfirmationType::REDIRECT, + 'enforce' => Random::bool(), + 'return_url' => Random::str(1,2048), + 'locale' => Random::value(['ru_RU', 'en_US']), + ] + ] + ]]; +// $metadata = new Metadata(); +// $metadata->test = 'test'; +// $result = [ +// [ +// [ +// 'payment_data' => [ +// 'amount' => new MonetaryAmount(Random::int(1, 1000000)), +// ], +// 'cart' => [ +// [ +// 'description' => Random::str(5, 128), +// 'price' => new MonetaryAmount(Random::int(1, 1000000)), +// 'discount_price' => null, +// 'quantity' => Random::int(1, 10), +// ] +// ], +// 'delivery_method_data' => null, +// 'expires_at' => new DateTime('+ 1 hour'), +// 'locale' => null, +// 'description' => null, +// 'metadata' => null, +// ], +// ], +// [ +// [ +// 'payment_data' => [ +// 'amount' => new MonetaryAmount(Random::int(1, 1000000)), +// 'save_payment_method' => true, +// 'description' => Random::str(5, 128), +// 'client_ip' => Internet::localIpv4(), +// ], +// 'cart' => [ +// new LineItem([ +// 'description' => Random::str(5, 128), +// 'price' => new MonetaryAmount(Random::int(1, 1000000)), +// 'discount_price' => null, +// 'quantity' => Random::int(1, 10), +// ]), +// ], +// 'delivery_method_data' => ['type' => 'self'], +// 'expires_at' => new DateTime('+ 1 day'), +// 'locale' => Random::value(['ru_RU', 'en_US', null]), +// 'description' => '', +// 'metadata' => [Random::str(1)], +// ], +// ], +// ]; +// for ($i = 0; $i < 10; $i++) { +// $even = ($i % 3); +// $request = [ +// 'payment_data' => new PaymentData([ +// 'amount' => new MonetaryAmount(Random::int(1, 1000000)), +// 'save_payment_method' => true, +// 'description' => Random::str(5, 128), +// 'client_ip' => Internet::localIpv4(), +// ]), +// 'cart' => [ +// $even ? [ +// 'description' => Random::str(5, 128), +// 'price' => new MonetaryAmount(Random::int(1, 1000000)), +// 'discount_price' => null, +// 'quantity' => Random::int(1, 10), +// ] : new LineItem([ +// 'description' => Random::str(5, 128), +// 'price' => new MonetaryAmount(Random::int(1, 1000000)), +// 'discount_price' => null, +// 'quantity' => Random::int(1, 10), +// ]), +// ], +// 'delivery_method_data' => $even ? ['type' => 'self'] : null, +// 'expires_at' => $even ? new DateTime('+ 1 month') : '2024-10-18T10:51:18.139Z', +// 'locale' => Random::value(['ru_RU', 'en_US', null]), +// 'description' => Random::str(5, 128), +// 'metadata' => $even ? $metadata : ['test' => 'test'], +// ]; +// $result[] = [$request]; +// } +// +// return $result; + } +} diff --git a/tests/Request/PaymentMethods/CreatePaymentMethodRequestTest.php b/tests/Request/PaymentMethods/CreatePaymentMethodRequestTest.php new file mode 100644 index 00000000..f9d563da --- /dev/null +++ b/tests/Request/PaymentMethods/CreatePaymentMethodRequestTest.php @@ -0,0 +1,351 @@ +object = $this->getMockBuilder(CreatePaymentMethodRequest::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(CreatePaymentMethodRequest::class)); + $this->assertInstanceOf(CreatePaymentMethodRequest::class, $this->object); + } + + /** + * Test property "type" + * @dataProvider validTypeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testType(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertFalse($instance->hasType()); + $instance->setType($value); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertTrue($instance->hasType()); + self::assertEquals($value, is_array($value) ? $instance->getType()->toArray() : $instance->getType()); + self::assertEquals($value, is_array($value) ? $instance->type->toArray() : $instance->type); + self::assertContains($instance->getType(), ['bank_card']); + self::assertContains($instance->type, ['bank_card']); + } + + /** + * 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')); + } + + /** + * Test property "card" + * @dataProvider validCardDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCard(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getCard()); + self::assertEmpty($instance->card); + $instance->setCard($value); + self::assertEquals($value, is_array($value) ? $instance->getCard()->toArray() : $instance->getCard()); + self::assertEquals($value, is_array($value) ? $instance->card->toArray() : $instance->card); + if (!empty($value)) { + self::assertNotNull($instance->getCard()); + self::assertNotNull($instance->card); + } + } + + /** + * Test invalid property "card" + * @dataProvider invalidCardDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCard(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCard($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCardDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_card')); + } + + /** + * Test property "holder" + * @dataProvider validHolderDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testHolder(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getHolder()); + self::assertEmpty($instance->holder); + $instance->setHolder($value); + self::assertEquals($value, is_array($value) ? $instance->getHolder()->toArray() : $instance->getHolder()); + self::assertEquals($value, is_array($value) ? $instance->holder->toArray() : $instance->holder); + if (!empty($value)) { + self::assertNotNull($instance->getHolder()); + self::assertNotNull($instance->holder); + } + } + + /** + * Test invalid property "holder" + * @dataProvider invalidHolderDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidHolder(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setHolder($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validHolderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_holder')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidHolderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_holder')); + } + + /** + * Test property "client_ip" + * @dataProvider validClientIpDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testClientIp(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getClientIp()); + self::assertEmpty($instance->client_ip); + $instance->setClientIp($value); + self::assertEquals($value, is_array($value) ? $instance->getClientIp()->toArray() : $instance->getClientIp()); + self::assertEquals($value, is_array($value) ? $instance->client_ip->toArray() : $instance->client_ip); + if (!empty($value)) { + self::assertNotNull($instance->getClientIp()); + self::assertNotNull($instance->client_ip); + } + } + + /** + * Test invalid property "client_ip" + * @dataProvider invalidClientIpDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidClientIp(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setClientIp($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validClientIpDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_client_ip')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidClientIpDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_client_ip')); + } + + /** + * Test property "confirmation" + * @dataProvider validConfirmationDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testConfirmation(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getConfirmation()); + self::assertEmpty($instance->confirmation); + $instance->setConfirmation($value); + self::assertEquals($value, is_array($value) ? $instance->getConfirmation()->toArray() : $instance->getConfirmation()); + self::assertEquals($value, is_array($value) ? $instance->confirmation->toArray() : $instance->confirmation); + if (!empty($value)) { + self::assertNotNull($instance->getConfirmation()); + self::assertNotNull($instance->confirmation); + } + } + + /** + * Test invalid property "confirmation" + * @dataProvider invalidConfirmationDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidConfirmation(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setConfirmation($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validConfirmationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidConfirmationDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_confirmation')); + } +} diff --git a/tests/Request/PaymentMethods/PaymentMethodCardTest.php b/tests/Request/PaymentMethods/PaymentMethodCardTest.php new file mode 100644 index 00000000..5075e11d --- /dev/null +++ b/tests/Request/PaymentMethods/PaymentMethodCardTest.php @@ -0,0 +1,354 @@ +object = $this->getMockBuilder(PaymentMethodCard::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentMethodCard::class)); + $this->assertInstanceOf(PaymentMethodCard::class, $this->object); + } + + /** + * Test property "number" + * @dataProvider validNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setNumber($value); + self::assertNotNull($instance->getNumber()); + self::assertNotNull($instance->number); + self::assertEquals($value, is_array($value) ? $instance->getNumber()->toArray() : $instance->getNumber()); + self::assertEquals($value, is_array($value) ? $instance->number->toArray() : $instance->number); + self::assertMatchesRegularExpression("/[0-9]{14,19}/", $instance->getNumber()); + self::assertMatchesRegularExpression("/[0-9]{14,19}/", $instance->number); + } + + /** + * Test invalid property "number" + * @dataProvider invalidNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_number')); + } + + /** + * Test property "expiry_year" + * @dataProvider validExpiryYearDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testExpiryYear(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setExpiryYear($value); + self::assertNotNull($instance->getExpiryYear()); + self::assertNotNull($instance->expiry_year); + self::assertEquals($value, is_array($value) ? $instance->getExpiryYear()->toArray() : $instance->getExpiryYear()); + self::assertEquals($value, is_array($value) ? $instance->expiry_year->toArray() : $instance->expiry_year); + self::assertMatchesRegularExpression("/[0-9]{4}/", $instance->getExpiryYear()); + self::assertMatchesRegularExpression("/[0-9]{4}/", $instance->expiry_year); + } + + /** + * Test invalid property "expiry_year" + * @dataProvider invalidExpiryYearDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidExpiryYear(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setExpiryYear($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validExpiryYearDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_expiry_year')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidExpiryYearDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_expiry_year')); + } + + /** + * Test property "expiry_month" + * @dataProvider validExpiryMonthDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testExpiryMonth(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setExpiryMonth($value); + self::assertNotNull($instance->getExpiryMonth()); + self::assertNotNull($instance->expiry_month); + self::assertEquals($value, is_array($value) ? $instance->getExpiryMonth()->toArray() : $instance->getExpiryMonth()); + self::assertEquals($value, is_array($value) ? $instance->expiry_month->toArray() : $instance->expiry_month); + self::assertMatchesRegularExpression("/^(0?[1-9]|1[0-2])$/", $instance->getExpiryMonth()); + self::assertMatchesRegularExpression("/^(0?[1-9]|1[0-2])$/", $instance->expiry_month); + } + + /** + * Test invalid property "expiry_month" + * @dataProvider invalidExpiryMonthDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidExpiryMonth(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setExpiryMonth($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validExpiryMonthDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_expiry_month')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidExpiryMonthDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_expiry_month')); + } + + /** + * Test property "csc" + * @dataProvider validCscDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCsc(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getCsc()); + self::assertEmpty($instance->csc); + $instance->setCsc($value); + self::assertEquals($value, is_array($value) ? $instance->getCsc()->toArray() : $instance->getCsc()); + self::assertEquals($value, is_array($value) ? $instance->csc->toArray() : $instance->csc); + if (!empty($value)) { + self::assertNotNull($instance->getCsc()); + self::assertNotNull($instance->csc); + self::assertMatchesRegularExpression("/[0-9]{3,4}/", $instance->getCsc()); + self::assertMatchesRegularExpression("/[0-9]{3,4}/", $instance->csc); + } + } + + /** + * Test invalid property "csc" + * @dataProvider invalidCscDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCsc(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCsc($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCscDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_csc')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCscDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_csc')); + } + + /** + * Test property "cardholder" + * @dataProvider validCardholderDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCardholder(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getCardholder()); + self::assertEmpty($instance->cardholder); + $instance->setCardholder($value); + self::assertEquals($value, is_array($value) ? $instance->getCardholder()->toArray() : $instance->getCardholder()); + self::assertEquals($value, is_array($value) ? $instance->cardholder->toArray() : $instance->cardholder); + if (!empty($value)) { + self::assertNotNull($instance->getCardholder()); + self::assertNotNull($instance->cardholder); + self::assertMatchesRegularExpression("/[a-zA-Z '-]{1,26}/", $instance->getCardholder()); + self::assertMatchesRegularExpression("/[a-zA-Z '-]{1,26}/", $instance->cardholder); + } + } + + /** + * Test invalid property "cardholder" + * @dataProvider invalidCardholderDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCardholder(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCardholder($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCardholderDataProvider(): array + { + return [ + [null], + [Random::str(1, 26, 'abcdefghijklmnopqrstuvwxyz \'-')], + [Random::str(1, 26, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ \'-')], + ]; + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCardholderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_cardholder')); + } +} diff --git a/tests/Request/PaymentMethods/PaymentMethodHolderTest.php b/tests/Request/PaymentMethods/PaymentMethodHolderTest.php new file mode 100644 index 00000000..5fb08ae5 --- /dev/null +++ b/tests/Request/PaymentMethods/PaymentMethodHolderTest.php @@ -0,0 +1,115 @@ +object = $this->getMockBuilder(PaymentMethodHolder::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentMethodHolder::class)); + $this->assertInstanceOf(PaymentMethodHolder::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, is_array($value) ? $instance->getGatewayId()->toArray() : $instance->getGatewayId()); + self::assertEquals($value, is_array($value) ? $instance->gateway_id->toArray() : $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/Request/Payments/AirlineTest.php b/tests/Request/Payments/AirlineTest.php index bb196821..1e78e863 100644 --- a/tests/Request/Payments/AirlineTest.php +++ b/tests/Request/Payments/AirlineTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/CancelResponseTest.php b/tests/Request/Payments/CancelResponseTest.php index 0196b734..a9d738d5 100644 --- a/tests/Request/Payments/CancelResponseTest.php +++ b/tests/Request/Payments/CancelResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ConfirmationAttributes/AbstractTestConfirmationAttributes.php b/tests/Request/Payments/ConfirmationAttributes/AbstractTestConfirmationAttributes.php index 2f5db5fc..4e319523 100644 --- a/tests/Request/Payments/ConfirmationAttributes/AbstractTestConfirmationAttributes.php +++ b/tests/Request/Payments/ConfirmationAttributes/AbstractTestConfirmationAttributes.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesEmbeddedTest.php b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesEmbeddedTest.php index 9da4377d..f40c85c8 100644 --- a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesEmbeddedTest.php +++ b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesEmbeddedTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesExternalTest.php b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesExternalTest.php index 289f7129..86f15aac 100644 --- a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesExternalTest.php +++ b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesExternalTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesFactoryTest.php b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesFactoryTest.php index 209732cc..e1b70c22 100644 --- a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesFactoryTest.php +++ b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesMobileApplicationTest.php b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesMobileApplicationTest.php index 130d64a5..e0d95795 100644 --- a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesMobileApplicationTest.php +++ b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesMobileApplicationTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesQrTest.php b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesQrTest.php index 7e1eb09c..86aaa17a 100644 --- a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesQrTest.php +++ b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesQrTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesRedirectTest.php b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesRedirectTest.php index 0cc50508..32a63e91 100644 --- a/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesRedirectTest.php +++ b/tests/Request/Payments/ConfirmationAttributes/ConfirmationAttributesRedirectTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/CreateCaptureRequestSerializerTest.php b/tests/Request/Payments/CreateCaptureRequestSerializerTest.php index 8a2109c8..023a98d9 100644 --- a/tests/Request/Payments/CreateCaptureRequestSerializerTest.php +++ b/tests/Request/Payments/CreateCaptureRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/CreateCaptureRequestTest.php b/tests/Request/Payments/CreateCaptureRequestTest.php index 201bdffc..1097b116 100644 --- a/tests/Request/Payments/CreateCaptureRequestTest.php +++ b/tests/Request/Payments/CreateCaptureRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/CreateCaptureResponseTest.php b/tests/Request/Payments/CreateCaptureResponseTest.php index 8d182d25..5ad1be30 100644 --- a/tests/Request/Payments/CreateCaptureResponseTest.php +++ b/tests/Request/Payments/CreateCaptureResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/CreatePaymentRequestBuilderTest.php b/tests/Request/Payments/CreatePaymentRequestBuilderTest.php index 9e82cc8b..63e643f8 100644 --- a/tests/Request/Payments/CreatePaymentRequestBuilderTest.php +++ b/tests/Request/Payments/CreatePaymentRequestBuilderTest.php @@ -47,6 +47,8 @@ use YooKassa\Model\Receipt\ReceiptItemAmount; use YooKassa\Request\Payments\ConfirmationAttributes\ConfirmationAttributesExternal; use YooKassa\Request\Payments\CreatePaymentRequestBuilder; use YooKassa\Request\Payments\PaymentData\PaymentDataQiwi; +use YooKassa\Request\Payments\PaymentOrderData\PaymentOrderType; +use YooKassa\Request\Payments\PaymentOrderData\PaymentOrderUtilities; use YooKassa\Request\Payments\ReceiverData\ReceiverDigitalWallet; use YooKassa\Request\Payments\ReceiverData\ReceiverType; use YooKassa\Request\Payments\Recipient; @@ -965,6 +967,7 @@ class CreatePaymentRequestBuilderTest extends TestCase 'receiptIndustryDetails' => [], 'receiptOperationalDetails' => null, 'receiver' => null, + 'paymentOrder' => null, ], ], [ @@ -1013,6 +1016,7 @@ class CreatePaymentRequestBuilderTest extends TestCase 'receiptIndustryDetails' => [], 'receiptOperationalDetails' => null, 'receiver' => null, + 'paymentOrder' => null, ], ], ]; @@ -1050,6 +1054,37 @@ class CreatePaymentRequestBuilderTest extends TestCase 'phone' => Random::str(4, 15, '0123456789'), ], ]; + $paymentOrderArr = [ + 'type' => PaymentOrderType::UTILITIES, + 'amount' => [ + 'value' => Random::int(1, 100000), + 'currency' => Random::value(CurrencyCode::getValidValues()), + ], + 'payment_purpose' => Random::str(1, 210), + 'recipient' => [ + 'name' => Random::str(1, 100), + 'inn' => Random::str(10, 10, '0123456789'), + 'kpp' => Random::str(9, 9, '0123456789'), + 'bank' => [ + 'name' => Random::str(1, 100), + 'bic' => Random::str(9, 9, '0123456789'), + 'account' => Random::str(20, 20, '0123456789'), + 'correspondent_account' => Random::str(20, 20, '0123456789'), + ] + ], + 'kbk' => Random::str(20, 20, '0123456789'), + 'oktmo' => Random::str(8, 8, '0123456789'), + 'payment_period' => [ + 'month' => Random::int(1, 12), + 'year' => Random::int(1900, 3000), + ], + 'payment_document_id' => Random::str(18), + 'payment_document_number' => '34СТ185329012352', + 'account_number' => '34СТ185329012352', + 'unified_account_number' => Random::str(10), + 'service_id' => Random::str(13), + ]; + $paymentOrders = [$paymentOrderArr, new PaymentOrderUtilities($paymentOrderArr)]; for ($i = 0; $i < 10; $i++) { $request = [ 'accountId' => uniqid('', true), @@ -1104,6 +1139,7 @@ class CreatePaymentRequestBuilderTest extends TestCase ], 'merchant_customer_id' => Random::str(3, 100), 'receiver' => Random::value($receivers), + 'paymentOrder' => Random::value($paymentOrders), ]; $result[] = [$request]; } @@ -1278,6 +1314,55 @@ class CreatePaymentRequestBuilderTest extends TestCase ]; } + /** + * @dataProvider validDataProvider + * + * @param mixed $options + * + * @throws Exception + */ + public function testSetPaymentOrder(mixed $options): void + { + $builder = new CreatePaymentRequestBuilder(); + $builder->setPaymentOrder($options['paymentOrder']); + $instance = $builder->build($this->getRequiredData()); + + if (empty($options['paymentOrder'])) { + self::assertNull($instance->getPaymentOrder()); + } else { + self::assertNotNull($instance->getPaymentOrder()); + self::assertEquals($options['paymentOrder'], is_array($options['paymentOrder']) ? $instance->getPaymentOrder()->toArray() : $instance->getPaymentOrder()); + } + } + + /** + * @dataProvider invalidPaymentOrderDataProvider + * + * @param mixed $value + */ + public function testSetInvalidPaymentOrder(mixed $value): void + { + $this->expectException(InvalidArgumentException::class); + $builder = new CreatePaymentRequestBuilder(); + $builder->setPaymentOrder($value); + } + + /** + * @throws Exception + */ + public static function invalidPaymentOrderDataProvider(): 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/CreatePaymentRequestTest.php b/tests/Request/Payments/CreatePaymentRequestTest.php index 34200122..2c42bcc0 100644 --- a/tests/Request/Payments/CreatePaymentRequestTest.php +++ b/tests/Request/Payments/CreatePaymentRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -995,6 +995,65 @@ class CreatePaymentRequestTest extends AbstractTestCase return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_merchant_customer_id')); } + /** + * Test property "payment_order" + * @dataProvider validPaymentOrderDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPaymentOrder(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getPaymentOrder()); + self::assertEmpty($instance->payment_order); + $instance->setPaymentOrder($value); + self::assertEquals($value, is_array($value) ? $instance->getPaymentOrder()->toArray() : $instance->getPaymentOrder()); + self::assertEquals($value, is_array($value) ? $instance->payment_order->toArray() : $instance->payment_order); + if (!empty($value)) { + self::assertNotNull($instance->getPaymentOrder()); + self::assertNotNull($instance->hasPaymentOrder()); + self::assertNotNull($instance->payment_order); + } + } + + /** + * Test invalid property "payment_order" + * @dataProvider invalidPaymentOrderDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPaymentOrder(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPaymentOrder($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPaymentOrderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_order')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPaymentOrderDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_order')); + } + /** * Test property "receiver" * @dataProvider validReceiverDataProvider diff --git a/tests/Request/Payments/CreatePaymentResponseTest.php b/tests/Request/Payments/CreatePaymentResponseTest.php index ef9debb6..10cb44f6 100644 --- a/tests/Request/Payments/CreatePaymentResponseTest.php +++ b/tests/Request/Payments/CreatePaymentResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/FraudDataTest.php b/tests/Request/Payments/FraudDataTest.php index 055f4514..8f0266de 100644 --- a/tests/Request/Payments/FraudDataTest.php +++ b/tests/Request/Payments/FraudDataTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/LegTest.php b/tests/Request/Payments/LegTest.php index 845a0b57..2c81b6f1 100644 --- a/tests/Request/Payments/LegTest.php +++ b/tests/Request/Payments/LegTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/MerchantCustomerBankAccountTest.php b/tests/Request/Payments/MerchantCustomerBankAccountTest.php index 68eea7cb..e846927f 100644 --- a/tests/Request/Payments/MerchantCustomerBankAccountTest.php +++ b/tests/Request/Payments/MerchantCustomerBankAccountTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PassengerTest.php b/tests/Request/Payments/PassengerTest.php index c695808f..85c9fc40 100644 --- a/tests/Request/Payments/PassengerTest.php +++ b/tests/Request/Payments/PassengerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/AbstractTestPaymentData.php b/tests/Request/Payments/PaymentData/AbstractTestPaymentData.php index 85f6152f..c164e820 100644 --- a/tests/Request/Payments/PaymentData/AbstractTestPaymentData.php +++ b/tests/Request/Payments/PaymentData/AbstractTestPaymentData.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/AbstractTestPaymentDataApplePay.php b/tests/Request/Payments/PaymentData/AbstractTestPaymentDataApplePay.php index 38540149..cafe5c7f 100644 --- a/tests/Request/Payments/PaymentData/AbstractTestPaymentDataApplePay.php +++ b/tests/Request/Payments/PaymentData/AbstractTestPaymentDataApplePay.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/AbstractTestPaymentDataGooglePay.php b/tests/Request/Payments/PaymentData/AbstractTestPaymentDataGooglePay.php index 9e81d419..e72e599d 100644 --- a/tests/Request/Payments/PaymentData/AbstractTestPaymentDataGooglePay.php +++ b/tests/Request/Payments/PaymentData/AbstractTestPaymentDataGooglePay.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/AbstractTestPaymentDataPhone.php b/tests/Request/Payments/PaymentData/AbstractTestPaymentDataPhone.php index 75dd4db5..063a4f82 100644 --- a/tests/Request/Payments/PaymentData/AbstractTestPaymentDataPhone.php +++ b/tests/Request/Payments/PaymentData/AbstractTestPaymentDataPhone.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/B2b/Sberbank/MixedVatDataTest.php b/tests/Request/Payments/PaymentData/B2b/Sberbank/MixedVatDataTest.php index e65fe68b..eb51f508 100644 --- a/tests/Request/Payments/PaymentData/B2b/Sberbank/MixedVatDataTest.php +++ b/tests/Request/Payments/PaymentData/B2b/Sberbank/MixedVatDataTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/B2b/Sberbank/UntaxedVatDataTest.php b/tests/Request/Payments/PaymentData/B2b/Sberbank/UntaxedVatDataTest.php index 952e5ad8..804a861c 100644 --- a/tests/Request/Payments/PaymentData/B2b/Sberbank/UntaxedVatDataTest.php +++ b/tests/Request/Payments/PaymentData/B2b/Sberbank/UntaxedVatDataTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php b/tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php index 812f8953..c5811fe3 100644 --- a/tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php +++ b/tests/Request/Payments/PaymentData/ElectronicCertificate/ElectronicCertificateArticleTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataApplePayTest.php b/tests/Request/Payments/PaymentData/PaymentDataApplePayTest.php index 638ea686..c2444af8 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataApplePayTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataApplePayTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataB2bSberbankTest.php b/tests/Request/Payments/PaymentData/PaymentDataB2bSberbankTest.php index c2abc1ad..0e4b0b21 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataB2bSberbankTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataB2bSberbankTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php b/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php index 2a8902d7..a2539a12 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataBankCardCardTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -78,8 +78,8 @@ class PaymentDataBankCardCardTest extends AbstractTestCase self::assertNotNull($instance->number); self::assertEquals($value, is_array($value) ? $instance->getNumber()->toArray() : $instance->getNumber()); self::assertEquals($value, is_array($value) ? $instance->number->toArray() : $instance->number); - self::assertMatchesRegularExpression("/[0-9]{16,19}/", $instance->getNumber()); - self::assertMatchesRegularExpression("/[0-9]{16,19}/", $instance->number); + self::assertMatchesRegularExpression("/[0-9]{14,19}/", $instance->getNumber()); + self::assertMatchesRegularExpression("/[0-9]{14,19}/", $instance->number); } /** diff --git a/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php b/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php index 79f42c99..f6f198b3 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataBankCardTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataCashTest.php b/tests/Request/Payments/PaymentData/PaymentDataCashTest.php index 2650b6c2..7a75e823 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataCashTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataCashTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php b/tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php index 62e9f4df..5a4beb8e 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataElectronicCertificateTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php b/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php index b962480d..4a978fc9 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataGooglePayTest.php b/tests/Request/Payments/PaymentData/PaymentDataGooglePayTest.php index 105635bc..66e8d2f5 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataGooglePayTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataGooglePayTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataInstallmentsTest.php b/tests/Request/Payments/PaymentData/PaymentDataInstallmentsTest.php index 7e030262..92aa3ac3 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataInstallmentsTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataInstallmentsTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataMobileBalanceTest.php b/tests/Request/Payments/PaymentData/PaymentDataMobileBalanceTest.php index 0c22013e..a85fd5f7 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataMobileBalanceTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataMobileBalanceTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataQiwiTest.php b/tests/Request/Payments/PaymentData/PaymentDataQiwiTest.php index 18a88589..633a96a4 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataQiwiTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataQiwiTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataSberLoanTest.php b/tests/Request/Payments/PaymentData/PaymentDataSberLoanTest.php index 438c1264..88a73307 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataSberLoanTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataSberLoanTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataSberbankTest.php b/tests/Request/Payments/PaymentData/PaymentDataSberbankTest.php index 9dadce83..c7cb9da3 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataSberbankTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataSberbankTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataSbpTest.php b/tests/Request/Payments/PaymentData/PaymentDataSbpTest.php index 8f1524ec..0788dca0 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataSbpTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataSbpTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataTinkoffBankTest.php b/tests/Request/Payments/PaymentData/PaymentDataTinkoffBankTest.php index f715af88..1471dfd5 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataTinkoffBankTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataTinkoffBankTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentData/PaymentDataYooMoneyTest.php b/tests/Request/Payments/PaymentData/PaymentDataYooMoneyTest.php index e3368ed7..44b500d4 100644 --- a/tests/Request/Payments/PaymentData/PaymentDataYooMoneyTest.php +++ b/tests/Request/Payments/PaymentData/PaymentDataYooMoneyTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentOrderData/PaymentOrderRecipientBankTest.php b/tests/Request/Payments/PaymentOrderData/PaymentOrderRecipientBankTest.php new file mode 100644 index 00000000..6a5afb38 --- /dev/null +++ b/tests/Request/Payments/PaymentOrderData/PaymentOrderRecipientBankTest.php @@ -0,0 +1,281 @@ +object = $this->getMockBuilder(PaymentOrderRecipientBank::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentOrderRecipientBank::class)); + $this->assertInstanceOf(PaymentOrderRecipientBank::class, $this->object); + } + + /** + * Test property "name" + * @dataProvider validNameDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testName(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setName($value); + self::assertNotNull($instance->getName()); + self::assertNotNull($instance->name); + self::assertEquals($value, is_array($value) ? $instance->getName()->toArray() : $instance->getName()); + self::assertEquals($value, is_array($value) ? $instance->name->toArray() : $instance->name); + } + + /** + * Test invalid property "name" + * @dataProvider invalidNameDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidName(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setName($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validNameDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_name')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidNameDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_name')); + } + + /** + * Test property "bic" + * @dataProvider validBicDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testBic(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setBic($value); + self::assertNotNull($instance->getBic()); + self::assertNotNull($instance->bic); + self::assertEquals($value, is_array($value) ? $instance->getBic()->toArray() : $instance->getBic()); + self::assertEquals($value, is_array($value) ? $instance->bic->toArray() : $instance->bic); + self::assertMatchesRegularExpression("/[0-9]{9}/", $instance->getBic()); + self::assertMatchesRegularExpression("/[0-9]{9}/", $instance->bic); + } + + /** + * Test invalid property "bic" + * @dataProvider invalidBicDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidBic(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setBic($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validBicDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_bic')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidBicDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_bic')); + } + + /** + * Test property "account" + * @dataProvider validAccountDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAccount(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAccount($value); + self::assertNotNull($instance->getAccount()); + self::assertNotNull($instance->account); + self::assertEquals($value, is_array($value) ? $instance->getAccount()->toArray() : $instance->getAccount()); + self::assertEquals($value, is_array($value) ? $instance->account->toArray() : $instance->account); + } + + /** + * Test invalid property "account" + * @dataProvider invalidAccountDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAccount(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAccount($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAccountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_account')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAccountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_account')); + } + + /** + * Test property "correspondent_account" + * @dataProvider validCorrespondentAccountDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testCorrespondentAccount(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setCorrespondentAccount($value); + self::assertNotNull($instance->getCorrespondentAccount()); + self::assertNotNull($instance->correspondent_account); + self::assertEquals($value, is_array($value) ? $instance->getCorrespondentAccount()->toArray() : $instance->getCorrespondentAccount()); + self::assertEquals($value, is_array($value) ? $instance->correspondent_account->toArray() : $instance->correspondent_account); + } + + /** + * Test invalid property "correspondent_account" + * @dataProvider invalidCorrespondentAccountDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidCorrespondentAccount(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setCorrespondentAccount($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validCorrespondentAccountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_correspondent_account')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidCorrespondentAccountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_correspondent_account')); + } +} diff --git a/tests/Request/Payments/PaymentOrderData/PaymentOrderRecipientTest.php b/tests/Request/Payments/PaymentOrderData/PaymentOrderRecipientTest.php new file mode 100644 index 00000000..ad0edf8b --- /dev/null +++ b/tests/Request/Payments/PaymentOrderData/PaymentOrderRecipientTest.php @@ -0,0 +1,283 @@ +object = $this->getMockBuilder(PaymentOrderRecipient::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentOrderRecipient::class)); + $this->assertInstanceOf(PaymentOrderRecipient::class, $this->object); + } + + /** + * Test property "name" + * @dataProvider validNameDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testName(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setName($value); + self::assertNotNull($instance->getName()); + self::assertNotNull($instance->name); + self::assertEquals($value, is_array($value) ? $instance->getName()->toArray() : $instance->getName()); + self::assertEquals($value, is_array($value) ? $instance->name->toArray() : $instance->name); + } + + /** + * Test invalid property "name" + * @dataProvider invalidNameDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidName(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setName($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validNameDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_name')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidNameDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_name')); + } + + /** + * Test property "inn" + * @dataProvider validInnDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testInn(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setInn($value); + self::assertNotNull($instance->getInn()); + self::assertNotNull($instance->inn); + self::assertEquals($value, is_array($value) ? $instance->getInn()->toArray() : $instance->getInn()); + self::assertEquals($value, is_array($value) ? $instance->inn->toArray() : $instance->inn); + self::assertMatchesRegularExpression("/[0-9]{10}/", $instance->getInn()); + self::assertMatchesRegularExpression("/[0-9]{10}/", $instance->inn); + } + + /** + * Test invalid property "inn" + * @dataProvider invalidInnDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidInn(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setInn($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validInnDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_inn')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidInnDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_inn')); + } + + /** + * Test property "kpp" + * @dataProvider validKppDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testKpp(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setKpp($value); + self::assertNotNull($instance->getKpp()); + self::assertNotNull($instance->kpp); + self::assertEquals($value, is_array($value) ? $instance->getKpp()->toArray() : $instance->getKpp()); + self::assertEquals($value, is_array($value) ? $instance->kpp->toArray() : $instance->kpp); + self::assertMatchesRegularExpression("/[0-9]{9}/", $instance->getKpp()); + self::assertMatchesRegularExpression("/[0-9]{9}/", $instance->kpp); + } + + /** + * Test invalid property "kpp" + * @dataProvider invalidKppDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidKpp(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setKpp($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validKppDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_kpp')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidKppDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_kpp')); + } + + /** + * Test property "bank" + * @dataProvider validBankDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testBank(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setBank($value); + self::assertNotNull($instance->getBank()); + self::assertNotNull($instance->bank); + self::assertEquals($value, is_array($value) ? $instance->getBank()->toArray() : $instance->getBank()); + self::assertEquals($value, is_array($value) ? $instance->bank->toArray() : $instance->bank); + } + + /** + * Test invalid property "bank" + * @dataProvider invalidBankDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidBank(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setBank($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validBankDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_bank')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidBankDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_bank')); + } +} diff --git a/tests/Request/Payments/PaymentOrderData/PaymentOrderUtilitiesTest.php b/tests/Request/Payments/PaymentOrderData/PaymentOrderUtilitiesTest.php new file mode 100644 index 00000000..14009738 --- /dev/null +++ b/tests/Request/Payments/PaymentOrderData/PaymentOrderUtilitiesTest.php @@ -0,0 +1,785 @@ +object = $this->getMockBuilder(PaymentOrderUtilities::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentOrderUtilities::class)); + $this->assertInstanceOf(PaymentOrderUtilities::class, $this->object); + } + + /** + * Test property "type" + * + * @return void + * @throws Exception + */ + public function testType(): void + { + $instance = $this->getTestInstance(); + self::assertNotNull($instance->getType()); + self::assertNotNull($instance->type); + self::assertContains($instance->getType(), ['utilities']); + self::assertContains($instance->type, ['utilities']); + } + + /** + * 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 invalidTypeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_type')); + } + + /** + * Test property "amount" + * @dataProvider validAmountDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAmount(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setAmount($value); + self::assertNotNull($instance->getAmount()); + self::assertNotNull($instance->amount); + self::assertEquals($value, is_array($value) ? $instance->getAmount()->toArray() : $instance->getAmount()); + self::assertEquals($value, is_array($value) ? $instance->amount->toArray() : $instance->amount); + } + + /** + * Test invalid property "amount" + * @dataProvider invalidAmountDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAmount(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAmount($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAmountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_amount')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAmountDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_amount')); + } + + /** + * Test property "payment_purpose" + * @dataProvider validPaymentPurposeDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPaymentPurpose(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setPaymentPurpose($value); + self::assertNotNull($instance->getPaymentPurpose()); + self::assertNotNull($instance->payment_purpose); + self::assertEquals($value, $instance->getPaymentPurpose()); + self::assertEquals($value, $instance->payment_purpose); + } + + /** + * Test invalid property "payment_purpose" + * @dataProvider invalidPaymentPurposeDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPaymentPurpose(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPaymentPurpose($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPaymentPurposeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_purpose')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPaymentPurposeDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_purpose')); + } + + /** + * 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::assertNotNull($instance->recipient); + self::assertEquals($value, is_array($value) ? $instance->getRecipient()->toArray() : $instance->getRecipient()); + self::assertEquals($value, is_array($value) ? $instance->recipient->toArray() : $instance->recipient); + } + + /** + * 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 "kbk" + * @dataProvider validKbkDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testKbk(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getKbk()); + self::assertEmpty($instance->kbk); + $instance->setKbk($value); + self::assertEquals($value, $instance->getKbk()); + self::assertEquals($value, $instance->kbk); + if (!empty($value)) { + self::assertNotNull($instance->getKbk()); + self::assertNotNull($instance->kbk); + self::assertMatchesRegularExpression("/^(\d{20})|(0)$/", $instance->getKbk()); + self::assertMatchesRegularExpression("/^(\d{20})|(0)$/", $instance->kbk); + self::assertLessThanOrEqual(20, is_string($instance->getKbk()) ? mb_strlen($instance->getKbk()) : $instance->getKbk()); + self::assertLessThanOrEqual(20, is_string($instance->kbk) ? mb_strlen($instance->kbk) : $instance->kbk); + self::assertGreaterThanOrEqual(1, is_string($instance->getKbk()) ? mb_strlen($instance->getKbk()) : $instance->getKbk()); + self::assertGreaterThanOrEqual(1, is_string($instance->kbk) ? mb_strlen($instance->kbk) : $instance->kbk); + } + } + + /** + * Test invalid property "kbk" + * @dataProvider invalidKbkDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidKbk(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setKbk($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validKbkDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_kbk')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidKbkDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_kbk')); + } + + /** + * Test property "oktmo" + * @dataProvider validOktmoDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testOktmo(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getOktmo()); + self::assertEmpty($instance->oktmo); + $instance->setOktmo($value); + self::assertEquals($value, $instance->getOktmo()); + self::assertEquals($value, $instance->oktmo); + 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::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); + } + } + + /** + * Test invalid property "oktmo" + * @dataProvider invalidOktmoDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidOktmo(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setOktmo($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validOktmoDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_oktmo')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidOktmoDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_oktmo')); + } + + /** + * Test property "payment_period" + * @dataProvider validPaymentPeriodDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPaymentPeriod(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getPaymentPeriod()); + self::assertEmpty($instance->payment_period); + $instance->setPaymentPeriod($value); + self::assertEquals($value, is_array($value) ? $instance->getPaymentPeriod()->toArray() : $instance->getPaymentPeriod()); + self::assertEquals($value, is_array($value) ? $instance->payment_period->toArray() : $instance->payment_period); + if (!empty($value)) { + self::assertNotNull($instance->getPaymentPeriod()); + self::assertNotNull($instance->payment_period); + } + } + + /** + * Test invalid property "payment_period" + * @dataProvider invalidPaymentPeriodDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPaymentPeriod(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPaymentPeriod($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPaymentPeriodDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_period')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPaymentPeriodDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_period')); + } + + /** + * Test property "payment_document_id" + * @dataProvider validPaymentDocumentIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPaymentDocumentId(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getPaymentDocumentId()); + self::assertEmpty($instance->payment_document_id); + $instance->setPaymentDocumentId($value); + self::assertEquals($value, $instance->getPaymentDocumentId()); + self::assertEquals($value, $instance->payment_document_id); + if (!empty($value)) { + self::assertNotNull($instance->getPaymentDocumentId()); + self::assertNotNull($instance->payment_document_id); + self::assertTrue($instance->hasPaymentDocumentId()); + self::assertTrue($instance->validate()); + self::assertLessThanOrEqual(18, is_string($instance->getPaymentDocumentId()) ? mb_strlen($instance->getPaymentDocumentId()) : $instance->getPaymentDocumentId()); + self::assertLessThanOrEqual(18, is_string($instance->payment_document_id) ? mb_strlen($instance->payment_document_id) : $instance->payment_document_id); + self::assertGreaterThanOrEqual(18, is_string($instance->getPaymentDocumentId()) ? mb_strlen($instance->getPaymentDocumentId()) : $instance->getPaymentDocumentId()); + self::assertGreaterThanOrEqual(18, is_string($instance->payment_document_id) ? mb_strlen($instance->payment_document_id) : $instance->payment_document_id); + } + } + + /** + * Test invalid property "payment_document_id" + * @dataProvider invalidPaymentDocumentIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPaymentDocumentId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPaymentDocumentId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPaymentDocumentIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_document_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPaymentDocumentIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_document_id')); + } + + /** + * Test property "payment_document_number" + * @dataProvider validPaymentDocumentNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testPaymentDocumentNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getPaymentDocumentNumber()); + self::assertEmpty($instance->payment_document_number); + $instance->setPaymentDocumentNumber($value); + self::assertEquals($value, $instance->getPaymentDocumentNumber()); + self::assertEquals($value, $instance->payment_document_number); + if (!empty($value)) { + self::assertNotNull($instance->getPaymentDocumentNumber()); + self::assertNotNull($instance->payment_document_number); + self::assertTrue($instance->hasPaymentDocumentNumber()); + self::assertTrue($instance->validate()); + self::assertMatchesRegularExpression("/^[0-9а-яА-Яa-zA-Z]{1,30}$/u", $instance->getPaymentDocumentNumber()); + self::assertMatchesRegularExpression("/^[0-9а-яА-Яa-zA-Z]{1,30}$/u", $instance->payment_document_number); + self::assertLessThanOrEqual(30, is_string($instance->getPaymentDocumentNumber()) ? mb_strlen($instance->getPaymentDocumentNumber()) : $instance->getPaymentDocumentNumber()); + self::assertLessThanOrEqual(30, is_string($instance->payment_document_number) ? mb_strlen($instance->payment_document_number) : $instance->payment_document_number); + self::assertGreaterThanOrEqual(1, is_string($instance->getPaymentDocumentNumber()) ? mb_strlen($instance->getPaymentDocumentNumber()) : $instance->getPaymentDocumentNumber()); + self::assertGreaterThanOrEqual(1, is_string($instance->payment_document_number) ? mb_strlen($instance->payment_document_number) : $instance->payment_document_number); + } + } + + /** + * Test invalid property "payment_document_number" + * @dataProvider invalidPaymentDocumentNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidPaymentDocumentNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setPaymentDocumentNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validPaymentDocumentNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_document_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidPaymentDocumentNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_payment_document_number')); + } + + /** + * Test property "account_number" + * @dataProvider validAccountNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testAccountNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getAccountNumber()); + self::assertEmpty($instance->account_number); + $instance->setAccountNumber($value); + self::assertEquals($value, $instance->getAccountNumber()); + self::assertEquals($value, $instance->account_number); + if (!empty($value)) { + self::assertNotNull($instance->getAccountNumber()); + self::assertNotNull($instance->account_number); + self::assertTrue($instance->hasAccountNumber()); + self::assertTrue($instance->validate()); + self::assertMatchesRegularExpression("/^[0-9а-яА-Яa-zA-Z]{1,30}$/u", $instance->getAccountNumber()); + self::assertMatchesRegularExpression("/^[0-9а-яА-Яa-zA-Z]{1,30}$/u", $instance->account_number); + self::assertLessThanOrEqual(30, is_string($instance->getAccountNumber()) ? mb_strlen($instance->getAccountNumber()) : $instance->getAccountNumber()); + self::assertLessThanOrEqual(30, is_string($instance->account_number) ? mb_strlen($instance->account_number) : $instance->account_number); + self::assertGreaterThanOrEqual(1, is_string($instance->getAccountNumber()) ? mb_strlen($instance->getAccountNumber()) : $instance->getAccountNumber()); + self::assertGreaterThanOrEqual(1, is_string($instance->account_number) ? mb_strlen($instance->account_number) : $instance->account_number); + } + } + + /** + * Test invalid property "account_number" + * @dataProvider invalidAccountNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidAccountNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setAccountNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_account_number')); + } + + /** + * Test property "unified_account_number" + * @dataProvider validUnifiedAccountNumberDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testUnifiedAccountNumber(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getUnifiedAccountNumber()); + self::assertEmpty($instance->unified_account_number); + $instance->setUnifiedAccountNumber($value); + self::assertEquals($value, $instance->getUnifiedAccountNumber()); + self::assertEquals($value, $instance->unified_account_number); + if (!empty($value)) { + self::assertNotNull($instance->getUnifiedAccountNumber()); + self::assertNotNull($instance->unified_account_number); + self::assertTrue($instance->hasUnifiedAccountNumber()); + self::assertTrue($instance->validate()); + self::assertLessThanOrEqual(10, is_string($instance->getUnifiedAccountNumber()) ? mb_strlen($instance->getUnifiedAccountNumber()) : $instance->getUnifiedAccountNumber()); + self::assertLessThanOrEqual(10, is_string($instance->unified_account_number) ? mb_strlen($instance->unified_account_number) : $instance->unified_account_number); + self::assertGreaterThanOrEqual(10, is_string($instance->getUnifiedAccountNumber()) ? mb_strlen($instance->getUnifiedAccountNumber()) : $instance->getUnifiedAccountNumber()); + self::assertGreaterThanOrEqual(10, is_string($instance->unified_account_number) ? mb_strlen($instance->unified_account_number) : $instance->unified_account_number); + } + } + + /** + * Test invalid property "unified_account_number" + * @dataProvider invalidUnifiedAccountNumberDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidUnifiedAccountNumber(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setUnifiedAccountNumber($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validUnifiedAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_unified_account_number')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidUnifiedAccountNumberDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_unified_account_number')); + } + + /** + * Test property "service_id" + * @dataProvider validServiceIdDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testServiceId(mixed $value): void + { + $instance = $this->getTestInstance(); + self::assertEmpty($instance->getServiceId()); + self::assertEmpty($instance->service_id); + $instance->setServiceId($value); + self::assertEquals($value, $instance->getServiceId()); + self::assertEquals($value, $instance->service_id); + if (!empty($value)) { + self::assertNotNull($instance->getServiceId()); + self::assertNotNull($instance->service_id); + self::assertTrue($instance->hasServiceId()); + self::assertTrue($instance->validate()); + self::assertLessThanOrEqual(13, is_string($instance->getServiceId()) ? mb_strlen($instance->getServiceId()) : $instance->getServiceId()); + self::assertLessThanOrEqual(13, is_string($instance->service_id) ? mb_strlen($instance->service_id) : $instance->service_id); + self::assertGreaterThanOrEqual(13, is_string($instance->getServiceId()) ? mb_strlen($instance->getServiceId()) : $instance->getServiceId()); + self::assertGreaterThanOrEqual(13, is_string($instance->service_id) ? mb_strlen($instance->service_id) : $instance->service_id); + } + } + + /** + * Test invalid property "service_id" + * @dataProvider invalidServiceIdDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidServiceId(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setServiceId($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validServiceIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_service_id')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidServiceIdDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_service_id')); + } + + /** + * @return void + */ + public function testInvalidValidate(): void + { + $instance = $this->getTestInstance(); + self::assertFalse($instance->validate()); + } +} diff --git a/tests/Request/Payments/PaymentPeriodTest.php b/tests/Request/Payments/PaymentPeriodTest.php new file mode 100644 index 00000000..d83578cb --- /dev/null +++ b/tests/Request/Payments/PaymentPeriodTest.php @@ -0,0 +1,179 @@ +object = $this->getMockBuilder(PaymentPeriod::class)->getMockForAbstractClass(); + $this->assertTrue(class_exists(PaymentPeriod::class)); + $this->assertInstanceOf(PaymentPeriod::class, $this->object); + } + + /** + * Test property "month" + * @dataProvider validMonthDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testMonth(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setMonth($value); + self::assertNotNull($instance->getMonth()); + self::assertNotNull($instance->month); + self::assertEquals($value, $instance->getMonth()); + self::assertEquals($value, $instance->month); + self::assertLessThanOrEqual(12, is_string($instance->getMonth()) ? mb_strlen($instance->getMonth()) : $instance->getMonth()); + self::assertLessThanOrEqual(12, is_string($instance->month) ? mb_strlen($instance->month) : $instance->month); + self::assertGreaterThanOrEqual(1, is_string($instance->getMonth()) ? mb_strlen($instance->getMonth()) : $instance->getMonth()); + self::assertGreaterThanOrEqual(1, is_string($instance->month) ? mb_strlen($instance->month) : $instance->month); + self::assertIsNumeric($instance->getMonth()); + self::assertIsNumeric($instance->month); + } + + /** + * Test invalid property "month" + * @dataProvider invalidMonthDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidMonth(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setMonth($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validMonthDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_month')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidMonthDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_month')); + } + + /** + * Test property "year" + * @dataProvider validYearDataProvider + * @param mixed $value + * + * @return void + * @throws Exception + */ + public function testYear(mixed $value): void + { + $instance = $this->getTestInstance(); + $instance->setYear($value); + self::assertNotNull($instance->getYear()); + self::assertNotNull($instance->year); + self::assertEquals($value, $instance->getYear()); + self::assertEquals($value, $instance->year); + self::assertIsNumeric($instance->getYear()); + self::assertIsNumeric($instance->year); + } + + /** + * Test invalid property "year" + * @dataProvider invalidYearDataProvider + * @param mixed $value + * @param string $exceptionClass + * + * @return void + */ + public function testInvalidYear(mixed $value, string $exceptionClass): void + { + $instance = $this->getTestInstance(); + + $this->expectException($exceptionClass); + $instance->setYear($value); + } + + /** + * @return array[] + * @throws Exception + */ + public function validYearDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getValidDataProviderByType($instance->getValidator()->getRulesByPropName('_year')); + } + + /** + * @return array[] + * @throws Exception + */ + public function invalidYearDataProvider(): array + { + $instance = $this->getTestInstance(); + return $this->getInvalidDataProviderByType($instance->getValidator()->getRulesByPropName('_year')); + } +} diff --git a/tests/Request/Payments/PaymentResponseTest.php b/tests/Request/Payments/PaymentResponseTest.php index 93aad200..78cee409 100644 --- a/tests/Request/Payments/PaymentResponseTest.php +++ b/tests/Request/Payments/PaymentResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentsRequestBuilderTest.php b/tests/Request/Payments/PaymentsRequestBuilderTest.php index 943d755c..015206fa 100644 --- a/tests/Request/Payments/PaymentsRequestBuilderTest.php +++ b/tests/Request/Payments/PaymentsRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentsRequestSerializerTest.php b/tests/Request/Payments/PaymentsRequestSerializerTest.php index 82ee64e7..fa232421 100644 --- a/tests/Request/Payments/PaymentsRequestSerializerTest.php +++ b/tests/Request/Payments/PaymentsRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentsRequestTest.php b/tests/Request/Payments/PaymentsRequestTest.php index 91d4e10b..4e4e3d49 100644 --- a/tests/Request/Payments/PaymentsRequestTest.php +++ b/tests/Request/Payments/PaymentsRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/PaymentsResponseTest.php b/tests/Request/Payments/PaymentsResponseTest.php index d737bf10..2984d843 100644 --- a/tests/Request/Payments/PaymentsResponseTest.php +++ b/tests/Request/Payments/PaymentsResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ReceiverData/ReceiverBankAccountTest.php b/tests/Request/Payments/ReceiverData/ReceiverBankAccountTest.php index a81dfed8..8ab44876 100644 --- a/tests/Request/Payments/ReceiverData/ReceiverBankAccountTest.php +++ b/tests/Request/Payments/ReceiverData/ReceiverBankAccountTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php b/tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php index c4ca2c37..22d28064 100644 --- a/tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php +++ b/tests/Request/Payments/ReceiverData/ReceiverDigitalWalletTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php b/tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php index 130dd083..2a81f8e4 100644 --- a/tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php +++ b/tests/Request/Payments/ReceiverData/ReceiverMobileBalanceTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payments/TransferDataTest.php b/tests/Request/Payments/TransferDataTest.php index dad546c8..a301f7c8 100644 --- a/tests/Request/Payments/TransferDataTest.php +++ b/tests/Request/Payments/TransferDataTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/AbstractTestPayoutResponse.php b/tests/Request/Payouts/AbstractTestPayoutResponse.php index 47af9c77..587f1080 100644 --- a/tests/Request/Payouts/AbstractTestPayoutResponse.php +++ b/tests/Request/Payouts/AbstractTestPayoutResponse.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/CreatePayoutRequestBuilderTest.php b/tests/Request/Payouts/CreatePayoutRequestBuilderTest.php index 010164c2..4ca0505c 100644 --- a/tests/Request/Payouts/CreatePayoutRequestBuilderTest.php +++ b/tests/Request/Payouts/CreatePayoutRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/CreatePayoutRequestSerializerTest.php b/tests/Request/Payouts/CreatePayoutRequestSerializerTest.php index 9389b88b..753dc9e7 100644 --- a/tests/Request/Payouts/CreatePayoutRequestSerializerTest.php +++ b/tests/Request/Payouts/CreatePayoutRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/CreatePayoutRequestTest.php b/tests/Request/Payouts/CreatePayoutRequestTest.php index 93a17ac6..de72d9cb 100644 --- a/tests/Request/Payouts/CreatePayoutRequestTest.php +++ b/tests/Request/Payouts/CreatePayoutRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/IncomeReceiptDataTest.php b/tests/Request/Payouts/IncomeReceiptDataTest.php index e3a96667..4c2f092e 100644 --- a/tests/Request/Payouts/IncomeReceiptDataTest.php +++ b/tests/Request/Payouts/IncomeReceiptDataTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutDestinationData/AbstractTestPayoutDestinationData.php b/tests/Request/Payouts/PayoutDestinationData/AbstractTestPayoutDestinationData.php index 5a6e7b19..c784c36e 100644 --- a/tests/Request/Payouts/PayoutDestinationData/AbstractTestPayoutDestinationData.php +++ b/tests/Request/Payouts/PayoutDestinationData/AbstractTestPayoutDestinationData.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataBankCardTest.php b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataBankCardTest.php index 50b1fe04..6b6cc2e9 100644 --- a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataBankCardTest.php +++ b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataBankCardTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataFactoryTest.php b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataFactoryTest.php index c4b60d53..0748b256 100644 --- a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataFactoryTest.php +++ b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataSbpTest.php b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataSbpTest.php index 2585afd6..3709a64c 100644 --- a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataSbpTest.php +++ b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataSbpTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataYooMoneyTest.php b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataYooMoneyTest.php index e45072c8..baf8142f 100644 --- a/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataYooMoneyTest.php +++ b/tests/Request/Payouts/PayoutDestinationData/PayoutDestinationDataYooMoneyTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutPersonalDataTest.php b/tests/Request/Payouts/PayoutPersonalDataTest.php index bffa0bfa..b05702e1 100644 --- a/tests/Request/Payouts/PayoutPersonalDataTest.php +++ b/tests/Request/Payouts/PayoutPersonalDataTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutResponseTest.php b/tests/Request/Payouts/PayoutResponseTest.php index 91be69c5..2c9cc3e9 100644 --- a/tests/Request/Payouts/PayoutResponseTest.php +++ b/tests/Request/Payouts/PayoutResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/PayoutSelfEmployedInfoTest.php b/tests/Request/Payouts/PayoutSelfEmployedInfoTest.php index 8b4a978f..96c6d26f 100644 --- a/tests/Request/Payouts/PayoutSelfEmployedInfoTest.php +++ b/tests/Request/Payouts/PayoutSelfEmployedInfoTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Payouts/SbpBanksResponseTest.php b/tests/Request/Payouts/SbpBanksResponseTest.php index 127299e0..dac2a208 100644 --- a/tests/Request/Payouts/SbpBanksResponseTest.php +++ b/tests/Request/Payouts/SbpBanksResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/CreatePayoutStatementRecipientPersonalDataRequestBuilderTest.php b/tests/Request/PersonalData/CreatePayoutStatementRecipientPersonalDataRequestBuilderTest.php index 25f7d077..91e90fe4 100644 --- a/tests/Request/PersonalData/CreatePayoutStatementRecipientPersonalDataRequestBuilderTest.php +++ b/tests/Request/PersonalData/CreatePayoutStatementRecipientPersonalDataRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/CreateSbpPayoutRecipientPersonalDataRequestBuilderTest.php b/tests/Request/PersonalData/CreateSbpPayoutRecipientPersonalDataRequestBuilderTest.php index 3608a57b..fd3dc811 100644 --- a/tests/Request/PersonalData/CreateSbpPayoutRecipientPersonalDataRequestBuilderTest.php +++ b/tests/Request/PersonalData/CreateSbpPayoutRecipientPersonalDataRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/PayoutStatementRecipientPersonalDataRequestTest.php b/tests/Request/PersonalData/PayoutStatementRecipientPersonalDataRequestTest.php index 5f174d68..4fe8ebdf 100644 --- a/tests/Request/PersonalData/PayoutStatementRecipientPersonalDataRequestTest.php +++ b/tests/Request/PersonalData/PayoutStatementRecipientPersonalDataRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/PersonalDataResponseTest.php b/tests/Request/PersonalData/PersonalDataResponseTest.php index 89da6c3d..753d0fc4 100644 --- a/tests/Request/PersonalData/PersonalDataResponseTest.php +++ b/tests/Request/PersonalData/PersonalDataResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/PersonalDataType/PayoutStatementRecipientPersonalDataRequestTest.php b/tests/Request/PersonalData/PersonalDataType/PayoutStatementRecipientPersonalDataRequestTest.php index e215f362..a487210e 100644 --- a/tests/Request/PersonalData/PersonalDataType/PayoutStatementRecipientPersonalDataRequestTest.php +++ b/tests/Request/PersonalData/PersonalDataType/PayoutStatementRecipientPersonalDataRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/PersonalDataType/SbpPayoutRecipientPersonalDataRequestTest.php b/tests/Request/PersonalData/PersonalDataType/SbpPayoutRecipientPersonalDataRequestTest.php index 272d0e7c..41d59442 100644 --- a/tests/Request/PersonalData/PersonalDataType/SbpPayoutRecipientPersonalDataRequestTest.php +++ b/tests/Request/PersonalData/PersonalDataType/SbpPayoutRecipientPersonalDataRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/RecipientPersonalDataRequestFactoryTest.php b/tests/Request/PersonalData/RecipientPersonalDataRequestFactoryTest.php index 8eec8bf1..23795ef5 100644 --- a/tests/Request/PersonalData/RecipientPersonalDataRequestFactoryTest.php +++ b/tests/Request/PersonalData/RecipientPersonalDataRequestFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/PersonalData/SbpPayoutRecipientPersonalDataRequestTest.php b/tests/Request/PersonalData/SbpPayoutRecipientPersonalDataRequestTest.php index 9e0d155e..957b6eea 100644 --- a/tests/Request/PersonalData/SbpPayoutRecipientPersonalDataRequestTest.php +++ b/tests/Request/PersonalData/SbpPayoutRecipientPersonalDataRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/CreatePostReceiptRequestBuilderTest.php b/tests/Request/Receipts/CreatePostReceiptRequestBuilderTest.php index face6402..04788816 100644 --- a/tests/Request/Receipts/CreatePostReceiptRequestBuilderTest.php +++ b/tests/Request/Receipts/CreatePostReceiptRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/CreatePostReceiptRequestSerializerTest.php b/tests/Request/Receipts/CreatePostReceiptRequestSerializerTest.php index 450b17ba..7019fe70 100644 --- a/tests/Request/Receipts/CreatePostReceiptRequestSerializerTest.php +++ b/tests/Request/Receipts/CreatePostReceiptRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/CreatePostReceiptRequestTest.php b/tests/Request/Receipts/CreatePostReceiptRequestTest.php index 8b530724..d13d77ea 100644 --- a/tests/Request/Receipts/CreatePostReceiptRequestTest.php +++ b/tests/Request/Receipts/CreatePostReceiptRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/ReceiptResponseFactoryTest.php b/tests/Request/Receipts/ReceiptResponseFactoryTest.php index 30168a2b..2b48cd58 100644 --- a/tests/Request/Receipts/ReceiptResponseFactoryTest.php +++ b/tests/Request/Receipts/ReceiptResponseFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/ReceiptResponseItemTest.php b/tests/Request/Receipts/ReceiptResponseItemTest.php index bdb1dd76..97570c62 100644 --- a/tests/Request/Receipts/ReceiptResponseItemTest.php +++ b/tests/Request/Receipts/ReceiptResponseItemTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/ReceiptsRequestBuilderTest.php b/tests/Request/Receipts/ReceiptsRequestBuilderTest.php index 50cb83ed..8657af6a 100644 --- a/tests/Request/Receipts/ReceiptsRequestBuilderTest.php +++ b/tests/Request/Receipts/ReceiptsRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/ReceiptsRequestSerializerTest.php b/tests/Request/Receipts/ReceiptsRequestSerializerTest.php index 7a545f87..5c1417c7 100644 --- a/tests/Request/Receipts/ReceiptsRequestSerializerTest.php +++ b/tests/Request/Receipts/ReceiptsRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/ReceiptsRequestTest.php b/tests/Request/Receipts/ReceiptsRequestTest.php index e2c97c4c..c180950a 100644 --- a/tests/Request/Receipts/ReceiptsRequestTest.php +++ b/tests/Request/Receipts/ReceiptsRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/ReceiptsResponseTest.php b/tests/Request/Receipts/ReceiptsResponseTest.php index bb81b77b..f8284598 100644 --- a/tests/Request/Receipts/ReceiptsResponseTest.php +++ b/tests/Request/Receipts/ReceiptsResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/RefundReceiptResponseTest.php b/tests/Request/Receipts/RefundReceiptResponseTest.php index 00966ca9..c2fa10cf 100644 --- a/tests/Request/Receipts/RefundReceiptResponseTest.php +++ b/tests/Request/Receipts/RefundReceiptResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Receipts/SimpleReceiptResponseTest.php b/tests/Request/Receipts/SimpleReceiptResponseTest.php index efd71160..609c8046 100644 --- a/tests/Request/Receipts/SimpleReceiptResponseTest.php +++ b/tests/Request/Receipts/SimpleReceiptResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/AbstractTestRefundResponse.php b/tests/Request/Refunds/AbstractTestRefundResponse.php index b74c15e6..e34b3d69 100644 --- a/tests/Request/Refunds/AbstractTestRefundResponse.php +++ b/tests/Request/Refunds/AbstractTestRefundResponse.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/CreateRefundRequestSerializerTest.php b/tests/Request/Refunds/CreateRefundRequestSerializerTest.php index 0df5c361..3b061254 100644 --- a/tests/Request/Refunds/CreateRefundRequestSerializerTest.php +++ b/tests/Request/Refunds/CreateRefundRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/CreateRefundRequestTest.php b/tests/Request/Refunds/CreateRefundRequestTest.php index e80611ef..b46df3ad 100644 --- a/tests/Request/Refunds/CreateRefundRequestTest.php +++ b/tests/Request/Refunds/CreateRefundRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/CreateRefundResponseTest.php b/tests/Request/Refunds/CreateRefundResponseTest.php index 37bc34ea..b5a82efe 100644 --- a/tests/Request/Refunds/CreateRefundResponseTest.php +++ b/tests/Request/Refunds/CreateRefundResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php b/tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php index 851eb51b..cde60883 100644 --- a/tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php +++ b/tests/Request/Refunds/RefundMethodData/RefundMethodDataElectronicCertificateTest.php @@ -3,7 +3,7 @@ /* * The MIT License * - * Copyright (c) 2024 "YooMoney", NBСO LLC + * Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/RefundResponseTest.php b/tests/Request/Refunds/RefundResponseTest.php index 5f2cbde7..e0f1bac1 100644 --- a/tests/Request/Refunds/RefundResponseTest.php +++ b/tests/Request/Refunds/RefundResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/RefundsRequestBuilderTest.php b/tests/Request/Refunds/RefundsRequestBuilderTest.php index 21e0e69f..91949587 100644 --- a/tests/Request/Refunds/RefundsRequestBuilderTest.php +++ b/tests/Request/Refunds/RefundsRequestBuilderTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/RefundsRequestSerializerTest.php b/tests/Request/Refunds/RefundsRequestSerializerTest.php index de217d9c..908c30b5 100644 --- a/tests/Request/Refunds/RefundsRequestSerializerTest.php +++ b/tests/Request/Refunds/RefundsRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/RefundsRequestTest.php b/tests/Request/Refunds/RefundsRequestTest.php index 477330d7..a955769b 100644 --- a/tests/Request/Refunds/RefundsRequestTest.php +++ b/tests/Request/Refunds/RefundsRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Refunds/RefundsResponseTest.php b/tests/Request/Refunds/RefundsResponseTest.php index d06b3917..96e57006 100644 --- a/tests/Request/Refunds/RefundsResponseTest.php +++ b/tests/Request/Refunds/RefundsResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/SelfEmployed/AbstractTestConfirmation.php b/tests/Request/SelfEmployed/AbstractTestConfirmation.php index 9c323153..c170e937 100644 --- a/tests/Request/SelfEmployed/AbstractTestConfirmation.php +++ b/tests/Request/SelfEmployed/AbstractTestConfirmation.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/SelfEmployed/ConfirmationFactoryTest.php b/tests/Request/SelfEmployed/ConfirmationFactoryTest.php index 9dc3ada5..abf422f3 100644 --- a/tests/Request/SelfEmployed/ConfirmationFactoryTest.php +++ b/tests/Request/SelfEmployed/ConfirmationFactoryTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/SelfEmployed/ConfirmationRedirectTest.php b/tests/Request/SelfEmployed/ConfirmationRedirectTest.php index 99c4631d..83c2122c 100644 --- a/tests/Request/SelfEmployed/ConfirmationRedirectTest.php +++ b/tests/Request/SelfEmployed/ConfirmationRedirectTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/SelfEmployed/SelfEmployedRequestSerializerTest.php b/tests/Request/SelfEmployed/SelfEmployedRequestSerializerTest.php index f41cc6f1..c875a361 100644 --- a/tests/Request/SelfEmployed/SelfEmployedRequestSerializerTest.php +++ b/tests/Request/SelfEmployed/SelfEmployedRequestSerializerTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/SelfEmployed/SelfEmployedRequestTest.php b/tests/Request/SelfEmployed/SelfEmployedRequestTest.php index ab0aab51..c04e8b9b 100644 --- a/tests/Request/SelfEmployed/SelfEmployedRequestTest.php +++ b/tests/Request/SelfEmployed/SelfEmployedRequestTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/SelfEmployed/SelfEmployedResponseTest.php b/tests/Request/SelfEmployed/SelfEmployedResponseTest.php index 943fa26e..051c4122 100644 --- a/tests/Request/SelfEmployed/SelfEmployedResponseTest.php +++ b/tests/Request/SelfEmployed/SelfEmployedResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/tests/Request/Webhook/WebhookListResponseTest.php b/tests/Request/Webhook/WebhookListResponseTest.php index c7f43714..f975ae70 100644 --- a/tests/Request/Webhook/WebhookListResponseTest.php +++ b/tests/Request/Webhook/WebhookListResponseTest.php @@ -3,7 +3,7 @@ /* * The MIT License * -* Copyright (c) 2024 "YooMoney", NBСO LLC +* Copyright (c) 2025 "YooMoney", NBСO LLC * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal