hanzo-client 8.5.156

Generated client for the Hanzo API — every service, one crate.
Documentation
/*
 * Hanzo Cloud API
 *
 * The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
 *
 * The version of the OpenAPI document: v1
 * 
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct Ein {
    /// Expedited reports that prioritised handling was asked for.
    #[serde(rename = "expedited", skip_serializing_if = "Option::is_none")]
    pub expedited: Option<bool>,
    /// Forms are the forms this application owes, with what each is for.
    #[serde(rename = "forms", skip_serializing_if = "Option::is_none")]
    pub forms: Option<Vec<models::Form>>,
    /// NAICS is the six-digit code for what the business does. The SS-4 asks it and the IRS will not process an application without one.
    #[serde(rename = "naics", skip_serializing_if = "Option::is_none")]
    pub naics: Option<String>,
    /// Number is the issued EIN, absent until the IRS issues it.
    #[serde(rename = "number", skip_serializing_if = "Option::is_none")]
    pub number: Option<String>,
    /// Online reports that this application can be filed with the IRS online and issued in a sitting, rather than signed and posted. It is the single fact that decides how long a customer waits, so it is answered rather than implied by the absence of forms.
    #[serde(rename = "online", skip_serializing_if = "Option::is_none")]
    pub online: Option<bool>,
    /// Responsible is the person the IRS holds answerable.
    #[serde(rename = "responsible", skip_serializing_if = "Option::is_none")]
    pub responsible: Option<Box<models::Responsible>>,
    /// Status is how far it has got.
    #[serde(rename = "status", skip_serializing_if = "Option::is_none")]
    pub status: Option<String>,
}

impl Ein {
    pub fn new() -> Ein {
        Ein {
            expedited: None,
            forms: None,
            naics: None,
            number: None,
            online: None,
            responsible: None,
            status: None,
        }
    }
}