vapi-client 0.4.2

Unofficial crate for Vapi - Voice AI for developers.
Documentation
/*
 * Vapi API
 *
 * Voice AI for developers.
 *
 * The version of the OpenAPI document: 1.0
 *
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct InvoicePlan {
    /// This is the name of the company.
    #[serde(rename = "companyName", skip_serializing_if = "Option::is_none")]
    pub company_name: Option<String>,
    /// This is the address of the company.
    #[serde(rename = "companyAddress", skip_serializing_if = "Option::is_none")]
    pub company_address: Option<String>,
    /// This is the tax ID of the company.
    #[serde(rename = "companyTaxId", skip_serializing_if = "Option::is_none")]
    pub company_tax_id: Option<String>,
    /// This is the preferred invoicing email of the company. If not specified, defaults to the subscription's email.
    #[serde(rename = "companyEmail", skip_serializing_if = "Option::is_none")]
    pub company_email: Option<String>,
}

impl InvoicePlan {
    pub fn new() -> InvoicePlan {
        InvoicePlan {
            company_name: None,
            company_address: None,
            company_tax_id: None,
            company_email: None,
        }
    }
}