wb-api-client 2.0.0

Wildberries Seller API client (generated)
Documentation
/*
 * Документы и бухгалтерия
 *
 * Узнать больше о документах и бухгалтерии можно в [справочном центре](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) продавца.
 *
 * The version of the OpenAPI document: finances
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::finances::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetV1AccountBalanceResponse200 {
    /// Валюта
    #[serde(rename = "currency", skip_serializing_if = "Option::is_none")]
    pub currency: Option<String>,
    /// Текущий баланс продавца
    #[serde(rename = "current", skip_serializing_if = "Option::is_none")]
    pub current: Option<f64>,
    /// Сумма, доступная к выводу
    #[serde(rename = "for_withdraw", skip_serializing_if = "Option::is_none")]
    pub for_withdraw: Option<f64>,
}

impl GetV1AccountBalanceResponse200 {
    pub fn new() -> GetV1AccountBalanceResponse200 {
        GetV1AccountBalanceResponse200 {
            currency: None,
            current: None,
            for_withdraw: None,
        }
    }
}