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