# [YooKassa API SDK](../home.md) # Interface: RequestorInterface ### Namespace: [\YooKassa\Model](../namespaces/yookassa-model.md) --- **Summary:** Interface RequestorInterface **Description:** Инициатор платежа или возврата Инициатором может быть магазин, подключенный к ЮKassa, `merchant` или приложение, которому владелец магазина [разрешил](https://yookassa.ru/developers/partners-api/basics) совершать операции от своего имени `third_party_client`. --- ### Constants * No constants found --- ### Methods | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [getAccountId()](../classes/YooKassa-Model-RequestorInterface.md#method_getAccountId) | | Возвращает идентификатор магазина | | public | [getClientId()](../classes/YooKassa-Model-RequestorInterface.md#method_getClientId) | | Возвращает идентификатор приложения | | public | [getClientName()](../classes/YooKassa-Model-RequestorInterface.md#method_getClientName) | | Возвращает название приложения | | public | [getType()](../classes/YooKassa-Model-RequestorInterface.md#method_getType) | | Возвращает тип инициатора | | public | [setAccountId()](../classes/YooKassa-Model-RequestorInterface.md#method_setAccountId) | | Устанавливает идентификатор магазина | | public | [setClientId()](../classes/YooKassa-Model-RequestorInterface.md#method_setClientId) | | Устанавливает идентификатор приложения | | public | [setClientName()](../classes/YooKassa-Model-RequestorInterface.md#method_setClientName) | | Устанавливает название приложения | | public | [setType()](../classes/YooKassa-Model-RequestorInterface.md#method_setType) | | Устанавливает тип инициатора | --- ### Details * File: [lib/Model/RequestorInterface.php](../../lib/Model/RequestorInterface.php) * Package: \YooKassa --- ### Tags | Tag | Version | Description | | --- | ------- | ----------- | | deprecated | | Не используется. Будет удален в следующих версиях | --- ## Methods #### public getType() : string ```php public getType() : string ``` **Summary** Возвращает тип инициатора **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) **Returns:** string - #### public setType() : mixed ```php public setType(string $value) : mixed ``` **Summary** Устанавливает тип инициатора **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | string | value | Тип инициатора | **Returns:** mixed - #### public getAccountId() : string|null ```php public getAccountId() : string|null ``` **Summary** Возвращает идентификатор магазина **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) **Returns:** string|null - #### public setAccountId() : mixed ```php public setAccountId(string $value) : mixed ``` **Summary** Устанавливает идентификатор магазина **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | string | value | Идентификатор магазина | **Returns:** mixed - #### public getClientId() : string|null ```php public getClientId() : string|null ``` **Summary** Возвращает идентификатор приложения **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) **Returns:** string|null - #### public setClientId() : mixed ```php public setClientId(string $value) : mixed ``` **Summary** Устанавливает идентификатор приложения **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | string | value | Идентификатор приложения | **Returns:** mixed - #### public getClientName() : string|null ```php public getClientName() : string|null ``` **Summary** Возвращает название приложения **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) **Returns:** string|null - #### public setClientName() : mixed ```php public setClientName(string $value) : mixed ``` **Summary** Устанавливает название приложения **Details:** * Inherited From: [\YooKassa\Model\RequestorInterface](../classes/YooKassa-Model-RequestorInterface.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | string | value | Название приложения | **Returns:** mixed - --- ### Top Namespaces * [\YooKassa](../namespaces/yookassa.md) --- ### Reports * [Errors - 0](../reports/errors.md) * [Markers - 1](../reports/markers.md) * [Deprecated - 25](../reports/deprecated.md) --- This document was automatically generated from source code comments on 2023-04-06 using [phpDocumentor](http://www.phpdoc.org/) © 2023 YooMoney