wb_api_client/finances/models/get_docs_data.rs
1/*
2 * Документы и бухгалтерия
3 *
4 * Узнать больше о документах и бухгалтерии можно в [справочном центре](https://seller.wildberries.ru/instructions/category/ba929b64-1f89-4426-82d7-ce998ee552bd?goBackOption=prevRoute&categoryId=3c971375-9939-45e8-ab82-376019be8942) Просмотр [баланса](https://dev.wildberries.ru/openapi/documents-and-accounting#tag/balance), [финансовых отчётов](https://dev.wildberries.ru/openapi/documents-and-accounting#tag/financialReports) и [документов](https://dev.wildberries.ru/openapi/documents-and-accounting#tag/documents) продавца.
5 *
6 * The version of the OpenAPI document: finances
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::finances::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct GetDocsData {
16 /// Название документа
17 #[serde(rename = "fileName", skip_serializing_if = "Option::is_none")]
18 pub file_name: Option<String>,
19 /// Формат документа
20 #[serde(rename = "extension", skip_serializing_if = "Option::is_none")]
21 pub extension: Option<String>,
22 /// Документ в кодировке base64
23 #[serde(rename = "document", skip_serializing_if = "Option::is_none")]
24 pub document: Option<String>,
25}
26
27impl GetDocsData {
28 pub fn new() -> GetDocsData {
29 GetDocsData {
30 file_name: None,
31 extension: None,
32 document: None,
33 }
34 }
35}