# [YooKassa API SDK](../home.md) # Class: \YooKassa\Request\Refunds\CreateRefundRequestSerializer ### Namespace: [\YooKassa\Request\Refunds](../namespaces/yookassa-request-refunds.md) --- **Summary:** Класс сериалайзера запросов к API на создание нового возврата средств --- ### Constants * No constants found --- ### Methods | Visibility | Name | Flag | Summary | | ----------:| ---- | ---- | ------- | | public | [serialize()](../classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md#method_serialize) | | Сериализует переданный объект запроса к API в массив | --- ### Details * File: [lib/Request/Refunds/CreateRefundRequestSerializer.php](../../lib/Request/Refunds/CreateRefundRequestSerializer.php) * Package: YooKassa * Class Hierarchy: * \YooKassa\Request\Refunds\CreateRefundRequestSerializer --- ## Methods #### public serialize() : array ```php public serialize(\YooKassa\Request\Refunds\CreateRefundRequestInterface $request) : array ``` **Summary** Сериализует переданный объект запроса к API в массив **Details:** * Inherited From: [\YooKassa\Request\Refunds\CreateRefundRequestSerializer](../classes/YooKassa-Request-Refunds-CreateRefundRequestSerializer.md) ##### Parameters: | Type | Name | Description | | ---- | ---- | ----------- | | \YooKassa\Request\Refunds\CreateRefundRequestInterface | request | Сериализуемый объект запроса | **Returns:** array - Ассоциативный массив для передачи в API --- ### 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