vapi_client/models/
invoice_plan.rs

1/*
2 * Vapi API
3 *
4 * API for building voice assistants
5 *
6 * The version of the OpenAPI document: 1.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct InvoicePlan {
17    /// This is the name of the company.
18    #[serde(rename = "companyName", skip_serializing_if = "Option::is_none")]
19    pub company_name: Option<String>,
20    /// This is the address of the company.
21    #[serde(rename = "companyAddress", skip_serializing_if = "Option::is_none")]
22    pub company_address: Option<String>,
23    /// This is the tax ID of the company.
24    #[serde(rename = "companyTaxId", skip_serializing_if = "Option::is_none")]
25    pub company_tax_id: Option<String>,
26    /// This is the preferred invoicing email of the company. If not specified, defaults to the subscription's email.
27    #[serde(rename = "companyEmail", skip_serializing_if = "Option::is_none")]
28    pub company_email: Option<String>,
29}
30
31impl InvoicePlan {
32    pub fn new() -> InvoicePlan {
33        InvoicePlan {
34            company_name: None,
35            company_address: None,
36            company_tax_id: None,
37            company_email: None,
38        }
39    }
40}