Files
yookassa-sdk-php/docs/classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md
T
2025-07-01 14:52:30 +03:00

83 lines
2.4 KiB
Markdown

# [YooKassa API SDK](../home.md)
# Class: \YooKassa\Request\Invoices\CreateInvoiceRequestSerializer
### Namespace: [\YooKassa\Request\Invoices](../namespaces/yookassa-request-invoices.md)
---
**Summary:**
Класс, представляющий модель CreateInvoiceRequestSerializer.
**Description:**
Класс объекта осуществляющего сериализацию запроса к API на создание счета.
---
### Constants
* No constants found
---
### Methods
| Visibility | Name | Flag | Summary |
| ----------:| ---- | ---- | ------- |
| public | [serialize()](../classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md#method_serialize) | | Формирует ассоциативный массив данных из объекта запроса. |
---
### Details
* File: [lib/Request/Invoices/CreateInvoiceRequestSerializer.php](../../lib/Request/Invoices/CreateInvoiceRequestSerializer.php)
* Package: YooKassa\Request
* Class Hierarchy:
* \YooKassa\Request\Invoices\CreateInvoiceRequestSerializer
* See Also:
* [](https://yookassa.ru/developers/api)
---
### Tags
| Tag | Version | Description |
| --- | ------- | ----------- |
| category | | Class |
| author | | cms@yoomoney.ru |
---
## Methods
<a name="method_serialize" class="anchor"></a>
#### public serialize() : array
```php
public serialize(\YooKassa\Request\Invoices\CreateInvoiceRequestInterface $request) : array
```
**Summary**
Формирует ассоциативный массив данных из объекта запроса.
**Details:**
* Inherited From: [\YooKassa\Request\Invoices\CreateInvoiceRequestSerializer](../classes/YooKassa-Request-Invoices-CreateInvoiceRequestSerializer.md)
##### Parameters:
| Type | Name | Description |
| ---- | ---- | ----------- |
| <code lang="php">\YooKassa\Request\Invoices\CreateInvoiceRequestInterface</code> | request | Объект запроса |
**Returns:** array - Массив данных для дальнейшего кодирования в JSON
---
### Top Namespaces
* [\YooKassa](../namespaces/yookassa.md)
---
### Reports
* [Errors - 0](../reports/errors.md)
* [Markers - 0](../reports/markers.md)
* [Deprecated - 33](../reports/deprecated.md)
---
This document was automatically generated from source code comments on 2025-07-01 using [phpDocumentor](http://www.phpdoc.org/)
&copy; 2025 YooMoney