/*
 * Binance Fiat REST API
 *
 * OpenAPI Specification for the Binance Fiat REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

#![allow(unused_imports)]
use crate::fiat::rest_api::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct AccountInfo {
    #[serde(rename = "accountNumber", skip_serializing_if = "Option::is_none")]
    pub account_number: Option<String>,
    #[serde(rename = "agency", skip_serializing_if = "Option::is_none")]
    pub agency: Option<String>,
    #[serde(rename = "bankCodeForPix", skip_serializing_if = "Option::is_none")]
    pub bank_code_for_pix: Option<String>,
    #[serde(rename = "accountType", skip_serializing_if = "Option::is_none")]
    pub account_type: Option<String>,
}

impl AccountInfo {
    #[must_use]
    pub fn new() -> AccountInfo {
        AccountInfo {
            account_number: None,
            agency: None,
            bank_code_for_pix: None,
            account_type: None,
        }
    }
}
